Monday 14 December 2015

how to convert RGB to binary image using matlab?

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

2 comments:

  1. Matlab Projects In Chennai provide Digital image processing is the use of computer algorithms to perform image processing on digital images.DLK Career Development Centre is part of DLK Technologies PVT Ltd is one of the leading that allows a much wider range of algorithms to be applied to the input data and can avoid problems such as the build-up of noise and signal distortion during processing.

    ReplyDelete
  2. I have been impressed after read this because of some quality work and informative thoughts. I just want to say thanks for the writer and wish you all the best for coming! Your exuberance is refreshing. Binary Today

    ReplyDelete