public class AutoContrast extends ContextCommand
This is modeled after the ImageJ 1.x ContrastAdjuster plugin, but I'd like to improve upon it since it can be pretty harsh for many images.
One consideration is to do Histogram equalization as described here: http://en.wikipedia.org/wiki/Histogram_equalization but this requires more than setting the min and max of the RealLUTConverters and would more likely involve assigning new LUT(s) or something since the mapping isn't linear. This would probably make sense as a separate plugin altogether.
Constructor and Description |
---|
AutoContrast() |
Modifier and Type | Method and Description |
---|---|
DatasetView |
getDatasetView() |
void |
run() |
void |
setDatasetView(DatasetView view) |
cancel, getCancelReason, isCanceled
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setContext
public void run()
public void setDatasetView(DatasetView view)
public DatasetView getDatasetView()
Copyright © 2014–2022 ImageJ. All rights reserved.