150 likes | 200 Views
Thresholding Filter. 指導老師 : 張 顧 耀 報 告 人 : 張 偉 政 學 號 :E9506006. Outline. What is Threshold. Binary Thresholding. General Thresholding. Program Perform. Reference. Thresholding. Change or Identify pixel values. Base on specifying one or more values. This perform using ITK.
E N D
Thresholding Filter 指導老師:張 顧 耀 報 告 人:張 偉 政 學 號:E9506006
Outline • What is Threshold. • Binary Thresholding. • General Thresholding. • Program Perform. • Reference.
Thresholding • Change or Identify pixel values. • Base on specifying one or more values. • This perform using ITK.
Binary Thresholding Filter • Binary • Transform an image into a binary image • itk::ImageFileReader • CH7,P263
Binary Thresholding Filter • SetOutsideValue( outsideValue ); • SetInsideValue( insideValue ); • SetLowerThreshold( lowerThreshold ); • SetUpperThreshold( upperThreshold );
Binary Thresholding Filter • Effect of the BinaryThresholdImageFilter
General Thresholding Filter • Three different ways. • Threshold-below mode. • Threshold-above mode. • Threshold-outside mode.
General Thresholding Filter • Threshold-below mode. • SetOutsideValue(outsideValue ); • ThresholdBelow(Below Value);
General Thresholding Filter • Threshold-above mode. • SetOutsideValue(outsideValue ); • ThresholdAbove(Above Value );
General Thresholding Filter • Threshold-outside mode. • SetOutsideValue(outsideValue ); • ThresholdOutside( Lower,Upper );
Program Perform • Binary Thresholding • SetOutsideValue(0); • SetInsideValue(4000); • SetLowerThreshold(650); • SetUpperThreshold(1600 ); • SetOutsideValue(0); • SetInsideValue(4000); • SetLowerThreshold(400); • SetUpperThreshold(2600);
Program Perform • General Thresholding • Threshold-below mode. • SetOutsideValue(0); • ThresholdBelow(800); • SetOutsideValue(0); • ThresholdBelow(2000);
Program Perform • General Thresholding • Threshold-above mode. • SetOutsideValue(0); • ThresholdAbove(1200); • SetOutsideValue(0); • ThresholdAbove(2600);
Program Perform • General Thresholding • Threshold-outside mode. • SetOutsideValue(0); • ThresholdOutside(880,2600); • SetOutsideValue(0); • ThresholdOutside(1880,2600);
Reference • The ITK Software Guide Second Edition Updated for ITK version 2.4 • http://www.csie.dyu.edu.tw/~canseco/