MATLAB: Double Thresholding thresholding HI, Can someone show me an example how to apply double thresholding method, were you get to choose T1 and T2 values… ? Best Answer There are multiple meanings of "thresholding" that might be appropriate.One meaning:NewImage = YourImage >= T1 & YourImage <= T2;Another:NewImage = YourImage .* (YourImage >= T1 & YourImage <= T2); Related SolutionsMATLAB: How to obtain the threshold 25% of the gray intensities Try thisbinarizedImage = grayImage > 0.25 * intmax(class(grayImage));That should work for uint8 or uint16 images and produce a logical image of the same size. MATLAB: Kmeans works with uint16 data doc kmeanswould give you the answer to this, which is exactly what I just did to provide the answer that No uint16 is not supported (only single and double), but you can just convert our data bysingle( data )and then use it. Related Question
Best Answer