ailich / GLCMTextures

This R package calculates the most common gray-level co-occurrence matrix (GLCM) texture metrics used for spatial analysis on raster data.
https://ailich.github.io/GLCMTextures/
GNU General Public License v3.0
12 stars 4 forks source link

Only calculate the requested subset of metrics #16

Closed ailich closed 2 years ago

ailich commented 2 years ago

Add a metrics argument to C_glcm_textures_helper and C_glcm_metrics so that it only calculates the requested subset. This will likely increase performance when only some measures are needed.

ailich commented 2 years ago

Added in ea398c5fd8dab3496a431fff2a2d7c8c43d683aa