Clear Filters
Clear Filters

I have an black image in which a red line is there i want to extract that red line i.e only red channel and want to know each row pixel of that particular red pixel and want to plot histogram

2 views (last 30 days)
I have an image in which a red line is there i want to extract only red channel in dat image and want to know max row value in each row and want to plot histogram of that red channel only.I want code in matlab..thanking u

Accepted Answer

Selva Karna
Selva Karna on 9 Aug 2017
a=your image; red=a(:,:,1); hist(red);

More Answers (1)

Selva Karna
Selva Karna on 9 Aug 2017
attach your image

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!