how to convert RGB image into grayscale pixel by pixel using for loop using matlab
1 view (last 30 days)
Show older comments
convert Rgb image into gray scale using for loop hint take average of 3 channel to make a single grayscale channel
0 Comments
Answers (1)
DGM
on 23 Jun 2023
Would you ask someone to move a pile of sand with a pair of tweezers when you have a shovel laying at your feet?
ipict = mean(rgbpict,3);
0 Comments
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!