how to perform edge detection using a HSI model of an image

2 views (last 30 days)
Please send me the steps of edge detection using a HSI model of a color image. Is there any similarity of the edge detection in HSI model with gray scale edge detection using canny.
Thanks

Answers (1)

Image Analyst
Image Analyst on 30 Mar 2014
You can take whichever color space channel appears to have the best edges in it, and then just run the edge detectors (edge(), imgradient(), imgradientxy()) on that image just like it was any normal gray scale image. Yes there's a similarity because the edge detection algorithm is the same - you're just running it on a different image, one that has a different meaning than it has with an original gray scale image. With a color image, you can have edges in any of the color channels, and those edges are often at the same location but they don't have to be and will have different "strengths".
  2 Comments
rituparna
rituparna on 31 Mar 2014
Thanks a lot for your quick reply. The problem is that I have to do every thing in C programming and I am new to image processing. I have performed the Canny edge detection following the algorithmic steps and I have to compare the performance of detected edges when the same is performed on HSI model and other color models of the image.
Image Analyst
Image Analyst on 31 Mar 2014
I suggest you take your question to a C forum instead of a MATLAB forum then. This forum is only for MATLAB programming questions.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!