|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.data.image.AbstractImageFlattener<ImagePlusContainer>
adams.data.imagej.flattener.AbstractImageJFlattener
adams.data.imagej.flattener.Histogram
public class Histogram
Turns an image into a histogram.
In case of an 8-bit histogram, the image must already be converted to a gray image.
-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
-field <adams.data.report.Field> [-field ...] (property: fields) The fields to add to the output. default:
-notes <adams.core.base.BaseString> [-notes ...] (property: notes) The notes to add as attributes to the generated data, eg 'PROCESS INFORMATION' . default:
-histo-type <8-bit|RGB> (property: histogramType) The type of histogram to generate. default: RGB
| Nested Class Summary | |
|---|---|
static class |
Histogram.HistogramType
The type of histogram to generate. |
| Field Summary | |
|---|---|
protected Histogram.HistogramType |
m_HistogramType
the type of histogram to generate. |
| Fields inherited from class adams.data.image.AbstractImageFlattener |
|---|
m_Fields, m_Header, m_Notes |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
Histogram()
|
|
| Method Summary | |
|---|---|
Instances |
createHeader(ImagePlusContainer img)
Creates the header from a template image. |
void |
defineOptions()
Adds options to the internal list of options. |
Instance[] |
doFlatten(ImagePlusContainer img)
Performs the actual flattening of the image. |
Histogram.HistogramType |
getHistogramType()
Returns the type of histogram to generate. |
String |
globalInfo()
Returns a string describing the object. |
String |
histogramTypeTipText()
Returns the tip text for this property. |
void |
setHistogramType(Histogram.HistogramType value)
Sets the type of histogram to generate. |
| Methods inherited from class adams.data.imagej.flattener.AbstractImageJFlattener |
|---|
forCommandLine, forName, getFlatteners |
| Methods inherited from class adams.data.image.AbstractImageFlattener |
|---|
checkImage, cleanUp, compareTo, destroy, equals, fieldsTipText, flatten, getFields, getNotes, newArray, notesTipText, postProcessHeader, postProcessInstance, reset, setFields, setNotes, shallowCopy, shallowCopy |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Histogram.HistogramType m_HistogramType
| Constructor Detail |
|---|
public Histogram()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractImageFlattener<ImagePlusContainer>public void setHistogramType(Histogram.HistogramType value)
value - the typepublic Histogram.HistogramType getHistogramType()
public String histogramTypeTipText()
public Instances createHeader(ImagePlusContainer img)
createHeader in class AbstractImageFlattener<ImagePlusContainer>img - the image to act as a template
public Instance[] doFlatten(ImagePlusContainer img)
doFlatten in class AbstractImageFlattener<ImagePlusContainer>img - the image to process
AbstractImageFlattener.m_Header
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||