ajinkya-kulkarni / PyTextureAnalysis

PyTextureAnalysis is a Python package for analyzing the texture of images. It includes functions for calculating local orientation, degree of coherence, and structure tensor of an image. This package is built using NumPy, SciPy and OpenCV.
https://textureinformation-package.streamlit.app/
GNU General Public License v3.0
26 stars 7 forks source link

Update modules.py #6

Closed arora-bharti closed 1 year ago

arora-bharti commented 1 year ago

The edit calculates the circular variance for each pixel in a 2D array of angles. The variance is computed using a 3x3 window around each pixel. The resulting 2D array of circular variance values is then visualized using a heatmap.