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 次查看(过去 30 天)
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

采纳的回答

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

更多回答(1 个)

Selva Karna
Selva Karna 2017-8-9
attach your image

类别

Help CenterFile Exchange 中查找有关 Get Started with Image Processing Toolbox 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by