i need code for hsv weight function ( based on saturation and intensity)

RGB= imread('image.jpg'); hsv =rgb2hsv(RGB);
AFTER THIS I NEED TO CALCULATE HSV WEIGHT FUNCTION.

2 commentaires

how to implement r (255/I) (S,I) 1 S gray W 2
Why do you need to when the Mathworks implemented it for you in rgb2hsv()?

Connectez-vous pour commenter.

Réponses (1)

The rgb2hsv function uses the method described in this paper by Alvy Ray Smith: http://alvyray.com/Papers/CG/color78.pdf

Community Treasure Hunt

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

Start Hunting!

Translated by