Texture recognition within a specific area in the

2019-02-18 04:01发布

I'm new in the texture recognition field, and I would like to know which are the possible ways to approach a texture problem in opencv.

I need to identify the texture within a region in the pic, and tell if it is uniform, homogeneous in the whole area, or not.

More in depth, I need to be able to tell if a possible fallen person is a person (with many different kind of textures) or something wrong like a pillow, or a blanket.

Could anyone suggest a solution, please? Is there some already made opencv code to adapt?

Thanks in advance!

1条回答
成全新的幸福
2楼-- · 2019-02-18 04:09

Why don't use haralick features? I other words they are called texture features. The base idea is to compute coocurence matrix from given gray-scaled image on base which the haralick features are computed. You can pick between different features like contrast, correlation, entropy etc. which can describe your texture. I guess for the same texture given feature should have the same (similar) value, so that might be the way for distinguishing textures.

Here some links can be helpful:

So far as I know, there is no implementation of haralick features in opencv, but you can use python with scikit-image (of course you can use opencv with python if you don't mind using something different than c++).

查看更多
登录 后发表回答