i want to create 128x128 image and want to convert it into Color to black and white, co lour to gray scale, color segmentation, two image animation and edge detection. an you please tell me solution or this.
1 view (last 30 days)
Show older comments
i don't know how to create color an image in matlab. once image get created want to do this operation like conversion of color to gray, color to black n white, two image animation it means rotate an image and edge detection.
0 Comments
Answers (1)
Walter Roberson
on 17 Sep 2015
imread() to read in a color image. rgb2gray() to convert it to grayscale.
There are multiple ways of converting to black and white, and the better method depends upon our needs. See graythresh() and im2bw()
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!