@ALDAOperator(genericExecutionMode=ALL) public class MTBPlotHistogram extends MTBOperator
Background is always set to 0, polygons are drawn in red.
Modifier and Type | Class and Description |
---|---|
private class |
MTBPlotHistogram.Histogram |
class |
MTBPlotHistogram.HistogramFrame |
Modifier and Type | Field and Description |
---|---|
private MTBImageHistogram |
histogram |
private MTBImage |
image |
private MTBImage |
maskImage |
private Integer |
numberOfBins |
Constructor and Description |
---|
MTBPlotHistogram()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
MTBImageHistogram |
getHistogram() |
Dimension |
getPreferredSize() |
protected void |
operate() |
void |
setHistogram(MTBImageHistogram histogram) |
void |
validateCustom() |
readResolve
addOperatorExecutionProgressEventListener, addParameter, addParameter, addParameterUnconditioned, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, getDocumentation, getHidingMode, getInactiveParameterNames, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterDescriptorUnconditioned, getParameterNames, getParameterUnconditioned, getSupplementalNames, getVerbose, getVersion, handleOperatorExecutionProgressEvent, hasInOutParameters, hasParameter, isAnnotatedParameter, isConfigured, print, print, print, printInterface, printInterface, readHistory, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, removeParameter, runOp, runOp, runOp, setConstructionMode, setConstructionMode, setConstructionMode, setHidingMode, setName, setParameter, setParameterUnconditioned, setVerbose, toStringVerbose, unconfiguredItems, validate, validateGeneric, writeHistory, writeHistory, writeHistory
@Parameter(label="Image", required=false, direction=IN, dataIOOrder=1, mode=STANDARD, description="Image") private MTBImage image
@Parameter(label="Number of Bins", required=false, direction=IN, dataIOOrder=1, mode=STANDARD, description="Number of Bins") private Integer numberOfBins
@Parameter(label="Histogram", required=false, direction=IN, dataIOOrder=3, mode=STANDARD, description="Input polygons.") private MTBImageHistogram histogram
@Parameter(label="Mask Image", required=false, direction=IN, dataIOOrder=1, mode=STANDARD, description="Maks Imake to indicate invalid pixels (pixels with maskImage <> 0.") private MTBImage maskImage
public MTBPlotHistogram() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public void validateCustom() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
validateCustom
in class de.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
protected void operate()
operate
in class de.unihalle.informatik.Alida.operator.ALDOperator
public Dimension getPreferredSize()
public MTBImageHistogram getHistogram()
public void setHistogram(MTBImageHistogram histogram)
histogram
- the histogram to setCopyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.