### Table of Contents

# GeoDMA 0.2 Features

GeoDMA has metrics integrating Polygons, Cells, and Images. Through image segmentation, GeoDMA creates Polygons.

We provide a list of 3 feature types, including:

- Segmentation-based
**spectral**features - Segmentation-based
**spatial**features - Landscape-based features

## Segmentation-based spectral features

All spectral metrics are calculated inside a polygon, when , or inside a cell, when The spectral channel is defined by .

Some of the following equations describe features based on the Gray-Level Cooccurrence Matrix - GLCM. The term is the normalized frequency in which two neighboring cells separated by a fixed shift occur on the image, one with gray tone and the other with gray tone . The constant is the dimension of the GLCM, which has the same gray value range of the original image.

Name | Description | Formula | Range | Units |

rX_amplitude_B | Defines the amplitude of the pixels inside the object. The amplitude means the maximum pixel value minus the minimum pixel value. | |||

rX_dissimilarity_B | Measures how different the elements of the GLCM are from each other and it is high when the local region has a high contrast. | - | ||

rX_entropy_B | Measures the disorder in an image. When the image is not uniform, many GLCM elements have small values, resulting in large entropy. | - | ||

rX_homogeneity_B | Assumes higher values for smaller differences in the GLCM. | - | ||

rX_mean_B | Returns the average value for all pixels inside the object. | |||

rX_mode_B | Returns the most occurring value (mode) for all pixels inside the object. When the object is multimodal, the first value is assumed. | |||

rX_std_B | Returns the standard deviation of all pixels ( is the mean value). |

## Segmentation-based spatial features

Name | Description | Formula | Range | Units |

p_angle | Represents the main angle of an object. It is obtained by computing the minimum circumscribing ellipse, and the angle of the biggest radius of the ellipse suits to the object's angle. | |||

p_area | Returns the area of the object. When measured in pixels is equal to . | |||

p_box_area | Returns the bounding box area of an object, measured in pixels. | |||

p_circle | Relates the areas of the object and the smallest circumscribing circle around the object. In the equation, is the maximum distance between the centroid and all vertices. | |||

p_elliptic_fit | Finds the minimum circumscribing ellipse to the object and returns the ratio between the object's area and the ellipse area. | - | ||

p_fractal_dimension | Returns the fractal dimension of an object. | - | ||

p_gyration_radius | This feature equals the average distance between each pixel position in one object and the object's centroid. The more similar to a circle is the object, the more likely the centroid will be inside it, and therefore this feature will be closer to 0. | |||

p_length | It is the height of the object's bounding box. | |||

p_perimeter | It is the amount of pixels in the object's border. | |||

p_perimeter_area_ratio | Calculates the ratio between the perimeter and the area of an object. | |||

p_rectangular_fit | This feature fits a minimum rectangle outside the object and calculates the ratio between its area and the area of this rectangle. The closer to is this feature, the most similar to a rectangle. | - | ||

p_width | It is the width of the object's bounding box. |

## Landscape-based features

When the unit is hectares, the value is divided by . Please note that most of the following features are based on Fragstats software.

Name | Description | Formula | Range | Units |

c_ca | Class Area means the sum of areas of a cell. | |||

c_percentland | equals the sum of the areas () of all patches of the corresponding patch type, divided by total landscape area (). equals the percentage the landscape comprised of the corresponding patch type. | |||

c_pd | Patch Density equals the number of patches of the corresponding patch type divided by total landscape area. | Patches | ||

c_mps | Mean Patch Size equals the sum of the areas () of all patches of the corresponding patch type, divided by the number of patches of the same type. | |||

c_pssd | Patch Size Std is the root mean squared error (deviation from the mean) in patch size. This is the population standard deviation, not the sample standard deviation. | |||

c_lsi | Landscape Shape Index equals the sum of the landscape boundary and all edge segments () within the boundary. This sum involves the corresponding patch type (including borders), divided by the square root of the total landscape area (). | - | ||

c_msi | Mean Shape Index equals the sum of the patch perimeter () divided by the square root of patch area () for each patch of the corresponding patch type. | - | ||

c_awmsi | Area-Weighted MSI equals the sum, across all patches of the corresponding patch type, of each patch perimeter () divided by the square root of patch area (). | - | ||

c_mpfd | MPFD stands for the Mean Patch Fractal Dimension. | |||

c_awmpfd | AWMPFD stands for Area-weighted Mean Patch Fractal Dimension. | |||

c_ed | Edge Density equals the sum of the lengths () of all edge segments involving the corresponding patch type, divided by the total landscape area (). | |||

c_mpar | Mean Perimeter Area Ratio equals the sum of ratios between perimeters and areas, divided by the number of patches of the same type. | |||

c_pscov | Patch Size Coefficient of Variation calculates the ratio between the features _c_pssd_ and _c_mps_. | - | ||

c_np | NP equals the number of patches inside a particular landsacape. | - | ||

c_te | TE equals the total size of the edge. | |||

c_iji | IJI stands for Interspersion and Juxtaposition Index. The observed interspersion over the maximum possible interspersion for the given number of patch types. |