Reputation: 21
I need to implement an algorithm in python or with use openCV. An algorithm which helps in features extraction of an image. Images which I'm going to use here is skin images. Please guide me to build this code.
Upvotes: 0
Views: 9564
Reputation: 120
Question seems to be broad:
1) You can use skimage library in python:
from skimage.feature import greycomatrix, greycoprops
greycomatrix contains the glcm matrix and greycoprops gives you standard four features based on glcm. Here is a sample usage. If you want to calculate remaining Harlick Features, you can implement them or refer to this github repository GLCM at GITHUB
Do note that implementing Maximum Correlation Coefficient is involved due to numerical stability issues.
Upvotes: 3