public class ScaleToSize extends ThumbnailFromStack
The aspect ratio between width and height is not preserved.
If it's a z-stack, a maximum intensity projection is first applied.
Constructor and Description |
---|
ScaleToSize() |
Modifier and Type | Method and Description |
---|---|
StackDisplayer |
getDisplayer()
How to convert an image to be displayed to the user.
|
Interpolator |
getInterpolator() |
SizeXY |
getSize() |
void |
setDisplayer(StackDisplayer displayer)
How to convert an image to be displayed to the user.
|
void |
setInterpolator(Interpolator interpolator) |
void |
setSize(SizeXY size) |
void |
start()
Should always be called once before any calls to
ThumbnailFromStack.thumbnailFor(org.anchoranalysis.image.core.stack.Stack) |
DisplayStack |
thumbnailFor(Stack stack)
Creates a thumbnail for a stack
|
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public void start()
ThumbnailFromStack
ThumbnailFromStack.thumbnailFor(org.anchoranalysis.image.core.stack.Stack)
start
in class ThumbnailFromStack
public DisplayStack thumbnailFor(Stack stack) throws CreateException
ThumbnailFromStack
thumbnailFor
in class ThumbnailFromStack
CreateException
public SizeXY getSize()
public void setSize(SizeXY size)
public Interpolator getInterpolator()
public void setInterpolator(Interpolator interpolator)
public StackDisplayer getDisplayer()
public void setDisplayer(StackDisplayer displayer)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.