KipTool manual: ClassificationModules - neutronimaging/imagingsuite GitHub Wiki

ClassificationModules

The ClassificationModules implement basic operation for image segmentation. From the Image processing tab click the Add button and select the ClassificationModules libraries, the following modules are available:

BasicThreshold:

creates a binary image with white value where pixels are above a user defined threshold value. From the module dialog, the choice of the manual threshold is guided by displaying this value (green line) on top of image histogram. In the image panels, the original and processed images are shown.

figures/kiptoolScreenShots/BasicThresold_v2.png Go back up

DoubleThreshold

applies the double threshold algorithm, also called hysteresis threshold. The image is thresholded twice with a narrower and a larger threshold. The image obtained with the narrower threshold is used as the seed for a region growing, which is stopped when reaching the image obtained with the larger threshold. With the dialog, it is possible to choose the compare function:

  • when greater: img_th1 = (img > higher thresh), img_th2 = (img > lower thresh)
  • when less: img_th1 = (img < lower thres), img_th2 = (img < higher thresh)

The image histogram with displayed threshold helps the user to tune the segmentation parameters.

figures/kiptoolScreenShots/Double_Threshold_v2.png

Go back up

Return to Image Processing modules

Return to TOC