Can quantization be done in HSV space for a CBIR system?If yes,what are your arguments?
1 次查看(过去 30 天)
显示 更早的评论
I am having an argument with someone who said that I cannot do quantization in HSV space because this is a cylindrical space and I can't compute distances in a cylindrical space. Still, my cbir system returned nice results by using hsv quantification and the internet is full of the ' hsv quantification' topic which makes me think it is possible to do quantification in HSV space. But I didn't find any arguments to sustain why HSV quantification is possible or under what conditions and I ask you guys if you can give me any of these arguments and conditions.
0 个评论
回答(2 个)
Walter Roberson
2016-2-24
For cylindrical coordinates, you are inside (or at most on the surface of) a convex polyhedra, and are allowed to travel through the polyhedra to reach points. A straight line between any two points in a convex polyhedra stays within the convex polyhedra (by definition of "convex"), so you can simply calculate Euclidean distance, same as if you were dealing with a cube.
Now if you were dealing only with the outside of a cylinder, the calculations would be a bit different, but that doesn't mean it cannot be done. After all, we deal all the time with distance calculations on the outside of a sphere (that is, Earth)
0 个评论
Image Analyst
2016-2-24
编辑:Image Analyst
2016-2-24
What they said it not true, or else you didn't understand what they said. You certainly can quantize values, and you certainly can compute Delta E color difference in cylindrical spaces such as HSV or LCH. In fact, here is a slide from my color course that shows the formula for DE94:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/173009/image.jpeg)
You can see it's a complicated formula, and the updated DE00 (Delta E 2000) is even more complicated, but it can be done. Perhaps the person meant that you can't simply do deltaE=sqrt(deltaL^2+deltaC^2+deltaH^2), and that's true - it is a much more complicated formula.
If they need a more authoritative reference, tell them to look up this standard: ASTM D 2244-02 (or later one if available).
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Bounding Regions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!