How to convert a HSV image image into gray scale image

2 次查看(过去 30 天)
I have converted a RGB image to HSV and segmented.Now i want the segmented image to be converted into Grayscale image.

回答(1 个)

Image Analyst
Image Analyst 2014-2-27
Exactly what is your segmented image? Is it the binary image that says what is foreground and what is background? Is it the grayscale image that has been masked by the binary image so that the foreground only shows up in gray scale and the background is zero? If it's the binary image do you want to scale it to 0-255 or leave it as 0 & 1?

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by