Query=> How to convert colour image into binary image based on Threshold using MATLAB?...
Ans=> To convert colour image into binary image we have to use the syntax “im2bw”...An example is given below for reference...
a=imread('cameraman.tif'); %reading an image
b=im2bw(a,0.3); %coverting to binary based on Th value
figure, %opening figure window
subplot(1,2,1),subimage(a); %display colour image
subplot(1,2,2),subimage(b); %display binary image
FOR MORE DETAILS
CLICK HERE
No comments:
Post a Comment