How to extract the texture from the Region of Interest without including the dark background using GLCM?

2 views (last 30 days)
I've used active contour to segment the object from the image. Next, feature extracts the texture of the ROI is needed to train the classifier later. I've tried using graycoprops in extracting the energy, correlation, contrast, and homogeneity. However, I've noticed that the result obtain calculate based on the whole image not the ROI only. Is there any method or ways to solve this problem?

Answers (1)

Swathi Prabhu
Swathi Prabhu on 2 Jun 2020
Even I have the same query. Please suggest

Community Treasure Hunt

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

Start Hunting!