mtb_segmentation
Class Threshold_Image

java.lang.Object
  extended by mtb_segmentation.Threshold_Image
All Implemented Interfaces:
ij.gui.DialogListener, ij.plugin.filter.PlugInFilter

@ALDMetaInfo(export=MANDATORY)
public class Threshold_Image
extends Object
implements ij.plugin.filter.PlugInFilter, ij.gui.DialogListener

Plugin for thresholding plain images, stacks and hyperstacks. The output image is of the datatype of the input image. The output might contain values different from 0 depending on the image's datatype:
Byte images: Output values are 0 for black and 255 for white, if the 'original pixel values' option was not chosen.
Short images: Output values are 0 for black and the maximum gray value of the input image for white.
Floating point images: Output values are the minimum gray value of the input image for black and the maximum gray value for white.

Author:
gress

Field Summary
 
Fields inherited from interface ij.plugin.filter.PlugInFilter
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, KEEP_THRESHOLD, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, PARALLELIZE_IMAGES, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING
 
Constructor Summary
Threshold_Image()
           
 
Method Summary
 boolean dialogItemChanged(ij.gui.GenericDialog gd, AWTEvent e)
           
 void run(ij.process.ImageProcessor ip)
           
 int setup(String arg, ij.ImagePlus imp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Threshold_Image

public Threshold_Image()
Method Detail

setup

public int setup(String arg,
                 ij.ImagePlus imp)
Specified by:
setup in interface ij.plugin.filter.PlugInFilter

run

public void run(ij.process.ImageProcessor ip)
Specified by:
run in interface ij.plugin.filter.PlugInFilter

dialogItemChanged

public boolean dialogItemChanged(ij.gui.GenericDialog gd,
                                 AWTEvent e)
Specified by:
dialogItemChanged in interface ij.gui.DialogListener


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.