Texture for Superpixels?

一曲冷凌霜 提交于 2019-12-12 02:55:19

问题


Since superpixels have irregular shape, I am not sure how to extract the texture features for them. All the techniques that I have found online require a rectangular image for extracting texture information.


回答1:


There are at least two methods I can think of. Either compute the filter response on the entire undivided image and group the responses in each superpixel, or compute color histogram of the superpixel as an approximation for a texture feature.




回答2:


There is also another way. Find center of each superpixel. Taking this center, form a patch of some size like 20x20 around this center. Extract features from this 20x20 patch and pass it into a classifier. I am using this way in my research and it is working perfectly for me.



来源:https://stackoverflow.com/questions/27512807/texture-for-superpixels

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!