arthropod_describer.plugins.test_plugin.properties package
Submodules
arthropod_describer.plugins.test_plugin.properties.area module
- class Area(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: Basic properties NAME: Area DESCRIPTION: Area of the region (px or mm²) KEY: area
- USER_PARAMS:
PARAM_NAME: Magic number PARAM_TYPE: INT PARAM_KEY: magic_number VALUE: 42 MIN_VALUE: 40 MAX_VALUE: 45
PARAM_NAME: Magic word PARAM_TYPE: STR PARAM_KEY: magic_word VALUE: please
PARAM_NAME: Yes/No PARAM_TYPE: BOOL PARAM_KEY: magic_bool VALUE: True
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool
arthropod_describer.plugins.test_plugin.properties.basic_props module
- class BasicProperties(info: Optional[Info] = None)[source]
Bases:
object
NAME: Basic properties DESCRIPTION: Computes basic region properties.
REGION_RESTRICTED
- USER_PARAMS:
PARAM_NAME: ABC PARAM_KEY: abc PARAM_TYPE: INT VALUE: 10 MIN_VALUE: 5 MAX_VALUE: 25
- example(prop_key: str) RegionProperty [source]
arthropod_describer.plugins.test_plugin.properties.circularity module
- class Circularity(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: Basic properties NAME: Circularity DESCRIPTION: Circularity (0.0 to 1.0, where 1.0 = perfect circle) KEY: circularity
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool
arthropod_describer.plugins.test_plugin.properties.geodesic_length module
- class GeodesicLength(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: Basic properties NAME: Geodesic length DESCRIPTION: Geodesic length (px or mm) KEY: geodesic_length
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool
arthropod_describer.plugins.test_plugin.properties.geodesic_length_cpp module
- class GeodesicLength(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: Basic properties NAME: Geodesic length(cpp) DESCRIPTION: Geodesic length (px or mm) KEY: geodesic_length2
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool
arthropod_describer.plugins.test_plugin.properties.geodesic_utils module
- find_shortest_path(bin_img: ndarray, src: Tuple[int, int], dst: Tuple[int, int]) List[Tuple[int, int]] [source]
- find_skeleton_endpoints(skeleton: ndarray, e_letter_codes: List[int]) List[Tuple[int, int]] [source]
arthropod_describer.plugins.test_plugin.properties.glcm_asm module
- class GLCMASM(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: GLCM properties NAME: ASM DESCRIPTION: GLCM ASM of the region KEY: ASM
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool
arthropod_describer.plugins.test_plugin.properties.glcm_contrast module
- class GLCMContrast(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: GLCM properties NAME: Contrast DESCRIPTION: GLCM contrast of the region KEY: contrast
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool
arthropod_describer.plugins.test_plugin.properties.glcm_correlation module
- class GLCMCorrelation(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: GLCM properties NAME: Correlation DESCRIPTION: GLCM correlation of the region KEY: correlation
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool
arthropod_describer.plugins.test_plugin.properties.glcm_dissimilarity module
- class GLCMDissimilarity(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: GLCM properties NAME: Dissimilarity DESCRIPTION: GLCM dissimilarity of the region KEY: dissimilarity
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool
arthropod_describer.plugins.test_plugin.properties.glcm_energy module
- class GLCMEnergy(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: GLCM properties NAME: Energy DESCRIPTION: GLCM energy of the region KEY: energy
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool
arthropod_describer.plugins.test_plugin.properties.glcm_homogeneity module
- class GLCMHomogeneity(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: GLCM properties NAME: Homogeneity DESCRIPTION: GLCM homogeneity of the region KEY: homogeneity
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool
arthropod_describer.plugins.test_plugin.properties.glcm_props module
- class GLCMProperties(info: Optional[Info] = None)[source]
Bases:
object
NAME: GLCM properties DESCRIPTION: Computes properties from grey level co-occurrence matrix.
REGION_RESTRICTED
- USER_PARAMS:
PARAM_NAME: ABC PARAM_KEY: abc PARAM_TYPE: INT VALUE: 10 MIN_VALUE: 5 MAX_VALUE: 25
- example(prop_key: str) RegionProperty [source]
arthropod_describer.plugins.test_plugin.properties.max_feret module
- class MaxFeret(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: Basic properties NAME: Max feret diameter DESCRIPTION: Maximum Feret diameter (px or mm) KEY: max_feret
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool
arthropod_describer.plugins.test_plugin.properties.mean_hsv module
- class MeanHSV(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: Basic properties NAME: Mean HSV DESCRIPTION: Mean HSV of a region KEY: mean_hsv
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool
arthropod_describer.plugins.test_plugin.properties.mean_intensity module
- class MeanIntensity(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: Basic properties NAME: Mean intensity DESCRIPTION: Mean intensity (R, G, B) KEY: mean_intensity
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool
arthropod_describer.plugins.test_plugin.properties.mean_width module
- class MeanWidth(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: Basic properties NAME: Mean width DESCRIPTION: Mean width of a region (px or mm) KEY: mean_width
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool
arthropod_describer.plugins.test_plugin.properties.mean_width_cpp module
- class MeanWidth(info: Optional[Info] = None)[source]
Bases:
PropertyComputation
GROUP: Basic properties NAME: Mean width (cpp) DESCRIPTION: Mean width of a region (px or mm) KEY: mean_width_cpp
- example(prop_name: str) RegionProperty [source]
- property group: str
- property region_restricted: bool