public class MontageSlices extends StackProviderUnary
Constructor and Description |
---|
MontageSlices() |
Modifier and Type | Method and Description |
---|---|
Stack |
createFromStack(Stack stack)
Creates a
Stack given the entity provided by the delegate. |
int |
getBorderWidth()
Adds a border around each part of the montage
|
int |
getColumns()
How many columns to use in the montage, or 0 to guess an approximately square output
|
double |
getScale()
Whether to increase or reduce the size of the images
|
int |
getSliceFirst()
First slice.
|
int |
getSliceLast()
Last slice.
|
boolean |
isLabel()
If true a label is added beside every image showing the slice index
|
void |
setBorderWidth(int borderWidth)
Adds a border around each part of the montage
|
void |
setColumns(int columns)
How many columns to use in the montage, or 0 to guess an approximately square output
|
void |
setLabel(boolean label)
If true a label is added beside every image showing the slice index
|
void |
setScale(double scale)
Whether to increase or reduce the size of the images
|
void |
setSliceFirst(int sliceFirst)
First slice.
|
void |
setSliceLast(int sliceLast)
Last slice.
|
get, getStack, setStack
getAsStack
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Stack createFromStack(Stack stack) throws ProvisionFailedException
StackProviderUnary
Stack
given the entity provided by the delegate.createFromStack
in class StackProviderUnary
stack
- the entity provided by the delegate.Stack
that is returned by the provider.ProvisionFailedException
- if the provider cannot complete successfully.public int getColumns()
The number of rows is automatically calculated.
public void setColumns(int columns)
The number of rows is automatically calculated.
public double getScale()
public void setScale(double scale)
public int getSliceFirst()
public void setSliceFirst(int sliceFirst)
public int getSliceLast()
public void setSliceLast(int sliceLast)
public int getBorderWidth()
public void setBorderWidth(int borderWidth)
public boolean isLabel()
public void setLabel(boolean label)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.