Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
geodma_2:features [2021/08/27 19:08] tkorting [Segmentation-based spectral features] |
geodma_2:features [2021/08/27 19:14] (current) tkorting [Segmentation-based spatial features] |
||
---|---|---|---|
Line 43: | Line 43: | ||
| POL_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. | | $\left[-\pi, \pi]$ | $rad$ | | | POL_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. | | $\left[-\pi, \pi]$ | $rad$ | | ||
| POL_AREA | Returns the area of the object, measured in the unit of measure of the current Spatial Reference System. | | $\geq 0$ | $[m,degrees,...]^2$ | | | POL_AREA | Returns the area of the object, measured in the unit of measure of the current Spatial Reference System. | | $\geq 0$ | $[m,degrees,...]^2$ | | ||
- | | POL_BBOX_AREA | Returns the bounding box area of an object, measured in the unit of measure of the current Spatial Reference System. | | $\geq 0$ | $[m,degrees,...]^2$ | | + | | PBOX_AREA | Returns the bounding box area of an object, measured in the unit of measure of the current Spatial Reference System. | | $\geq 0$ | $[m,degrees,...]^2$ | |
- | | POL_BBOX_PERIM | Returns the perimeter of the bounding box of an object, measured in the unit of measure of the current Spatial Reference System. | | $\geq 0$ | $[m,degrees,...]$ | | + | | PBOX_PERIM | Returns the perimeter of the bounding box of an object, measured in the unit of measure of the current Spatial Reference System. | | $\geq 0$ | $[m,degrees,...]$ | |
- | | POL_CIRCLE| Relates the areas of the object and the smallest circumscribing circle around the object. In the equation, $R$ is the maximum distance between the centroid and all vertices. | $1 - \frac{\textit{area}}{\pi R^2}$ | $[0, 1)$ | $[m,degrees,...]^2$ | | + | | PCIRCLE| Relates the areas of the object and the smallest circumscribing circle around the object. In the equation, $R$ is the maximum distance between the centroid and all vertices. | $1 - \frac{\textit{area}}{\pi R^2}$ | $[0, 1)$ | $[m,degrees,...]^2$ | |
- | | POL_ELLIPTIC_FIT| Finds the minimum circumscribing ellipse to the object and returns the ratio between the object's area and the ellipse area. | | $\left[0, 1\right]$ | - | | + | | PELLIP_FIT| Finds the minimum circumscribing ellipse to the object and returns the ratio between the object's area and the ellipse area. | | $\left[0, 1\right]$ | - | |
- | | POL_FRACTALDIM | Returns the fractal dimension of an object. | $2 \frac{\log {\frac{\textit{perimeter}}{4}} }{\log area}$ | $[1, 2]$ | - | | + | | P_FRACDIM | Returns the fractal dimension of an object. | $2 \frac{\log {\frac{\textit{perimeter}}{4}} }{\log area}$ | $[1, 2]$ | - | |
- | | POL_GYRATION_RATIUS | This feature is equals the average distance between each vertex of the polygon and it'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. | $\frac{\sum{\sqrt{(x_i - x_C)^2 + (x_i - x_C)^2}}}{N}$ | $\geq 0$ | $[m, degrees, ...]$ | | + | | PGYRATIUS | This feature is equals the average distance between each vertex of the polygon and it'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. | $\frac{\sum{\sqrt{(x_i - x_C)^2 + (x_i - x_C)^2}}}{N}$ | $\geq 0$ | $[m, degrees, ...]$ | |
- | | POL_RADIUS | Returns the polygon radius. It corresponds to the maximum distance between the polygon centroid its vertexes. | $R$ | $>0$ | - | | + | | POLRADIUS | Returns the polygon radius. It corresponds to the maximum distance between the polygon centroid its vertexes. | $R$ | $>0$ | - | |
- | | POL_BBOX_LENGTH | It is the height of the object's bounding box, measured in the unit of measure of the current Spatial Reference System. | | $\geq 0$ | $[m, degrees, ...]$ | | + | | PBOX_LEN | It is the height of the object's bounding box, measured in the unit of measure of the current Spatial Reference System. | | $\geq 0$ | $[m, degrees, ...]$ | |
- | | POL_PERIMETER | Returns the perimeter of the object, measured in the unit of measure of the current Spatial Reference System. | | $\geq 0$ | $[m,degrees,...]$ | | + | | P_PERIM | Returns the perimeter of the object, measured in the unit of measure of the current Spatial Reference System. | | $\geq 0$ | $[m,degrees,...]$ | |
- | | POL_PERIM_AREA_RATIO | Calculates the ratio between the perimeter and the area of an object. | $\frac{\textit{perimeter}}{\textit{area}}$ | $\geq 0$ | $px^{-1}$ | | + | | P_PERARAT | Calculates the ratio between the perimeter and the area of an object. | $\frac{\textit{perimeter}}{\textit{area}}$ | $\geq 0$ | $px^{-1}$ | |
- | | POL_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 $1$ is this feature, the most similar to a rectangle. | $\frac{\textit{area}}{\textit{minBoxArea}}$ | $\left[0, 1\right]$ | - | | + | | PRECTFIT | 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 $1$ is this feature, the most similar to a rectangle. | $\frac{\textit{area}}{\textit{minBoxArea}}$ | $\left[0, 1\right]$ | - | |
- | | POL_BBOX_WIDTH | Returns the width of the object's bounding box, measured in the unit of measure of the current Spatial Reference System. | | $\geq 0$ | $[m, degrees, ...]$ | | + | | PBOX_WIDTH | Returns the width of the object's bounding box, measured in the unit of measure of the current Spatial Reference System. | | $\geq 0$ | $[m, degrees, ...]$ | |
- | | POL_COMPACITY | Returns the compacity of the object. | $\frac{\textit{perimAreaRatio}}{\sqrt{\textit{area}}}}$ | $\geq 0$ | - | | + | | P_COMPAC | Returns the compacity of the object. | $\frac{\textit{perimAreaRatio}}{\sqrt{\textit{area}}}}$ | $\geq 0$ | - | |
- | | POL_DENSITY | This feature corresponds to the ratio between the polygon area and the polygon radius. | $\frac{\textit{area}}{\textit{radius}}$ | $\geq 0$ | - | | + | | PDENSITY | This feature corresponds to the ratio between the polygon area and the polygon radius. | $\frac{\textit{area}}{\textit{radius}}$ | $\geq 0$ | - | |
- | | POL_SHAPE_INDEX | This feature corresponds to the ratio between the polygon perimeter and the squared root of the polygon area. | $\frac{\textit{perimeter}}{4 * \sqrt{\textit{area}}}$ | $\geq 0$ | - | | + | | PSHAPEIDX | This feature corresponds to the ratio between the polygon perimeter and the squared root of the polygon area. | $\frac{\textit{perimeter}}{4 * \sqrt{\textit{area}}}$ | $\geq 0$ | - | |