public class BrightnessContrast<T extends RealType<T>> extends InteractiveImageCommand
imageDisplayService
moduleService, pluginService
Constructor and Description |
---|
BrightnessContrast() |
Modifier and Type | Method and Description |
---|---|
protected void |
brightnessContrastChanged()
Called when brightness or contrast changes.
|
int |
getBrightness() |
int |
getContrast() |
double |
getMaximum() |
double |
getMinimum() |
DatasetView |
getView() |
protected void |
initValues() |
protected void |
minMaxChanged()
Called when min or max changes.
|
void |
run() |
void |
setBrightness(int brightness) |
void |
setContrast(int contrast) |
protected void |
setDefault() |
void |
setMaximum(double max) |
void |
setMinimum(double min) |
void |
setView(DatasetView view) |
protected void |
viewChanged()
Called when view changes.
|
updateInput
asType, cancel, log, onEvent, preview, update
cancel, context, getCancelReason, getContext, getInfo, getInput, getOutput, isCanceled, saveInputs, setContext, setInput, setOutput, uncancel
getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, resolveInput, resolveOutput, setInputs, setOutputs, unresolveInput, unresolveOutput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addInput, addInput, addOutput, addOutput, removeInput, removeOutput
getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, isResolved, resolveInput, resolveOutput, setInputs, setOutputs, setResolved, unresolveInput, unresolveOutput
public void run()
public DatasetView getView()
public void setView(DatasetView view)
public double getMinimum()
public void setMinimum(double min)
public double getMaximum()
public void setMaximum(double max)
public int getBrightness()
public void setBrightness(int brightness)
public int getContrast()
public void setContrast(int contrast)
protected void initValues()
protected void viewChanged()
protected void minMaxChanged()
protected void brightnessContrastChanged()
protected void setDefault()
Copyright © 2014–2022 ImageJ. All rights reserved.