MATLAB Answers


edge detection in HSV .

Asked by preet
on 13 Aug 2013

As we know to calculate the edge detection in HSV color space firstly we have to convert HSV in Cartesian coordinate system.can you tell me how to do it


1 Answer

Answer by Image Analyst
on 13 Aug 2013

I'm not sure what that means, and I don't think you do either. I'm nearing the end of an around the world trip teaching color classes and if I can't figure it out then I doubt others will know either. Your HSV image is in Cartesian coordinate system already since you have 3 rectangular images which represent your image in the three channels H, S, and V. If you want, you can run an edge detector on the V channel. Sure, HSV is a cylindrical version of LAB but I don't see how that helps you. If you want, you can convert to LAB color space, and get three more rectangular images, and then do edge detection on the L image. Perhaps if you uploaded your image and said what you want to measure I'd be able to suggest an appropriate approach.

  1 Comment

on 14 Aug 2013

actually i have to convert RGB to HSV firstly then transformed HSV into Cartesian coordinate system . so please tell me from beginning How to transform it into Cartesian coordinate system.

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!