arthropod_describer.plugins.test_plugin.regions package

Submodules

arthropod_describer.plugins.test_plugin.regions.body module

class BodyComp[source]

Bases: RegionComputation

NAME: Primitive bug body finder. DESCRIPTION: Labels the whole body of a bug based on thresholding the blue channel.

USER_PARAMS:

PARAM_NAME: Blue threshold PARAM_KEY: threshold PARAM_TYPE: INT VALUE: 200 DEFAULT_VALUE: 200 MIN_VALUE: 0 MAX_VALUE: 255

PARAM_NAME: Filter size for small components PARAM_KEY: filter_size PARAM_TYPE: INT VALUE: 25 DEFAULT_VALUE: 25 MIN_VALUE: 1 MAX_VALUE: 55

property user_params: List[UserParam]

arthropod_describer.plugins.test_plugin.regions.eraser module

class RegionEraser(info: Optional[Info] = None)[source]

Bases: RegionComputation

NAME: Region eraser DESCRIPTION: Erases regions with the selected labels.

REGION_RESTRICTED

arthropod_describer.plugins.test_plugin.regions.legs module

class LegsRegion[source]

Bases: RegionComputation

NAME: LegRegions DESCRIPTION: Identifies leg regions from a bug mask.

USER_PARAMS:

PARAM_NAME: Max leg width PARAM_KEY: max_leg_width PARAM_DESC: Maximum width of legs in pixels PARAM_TYPE: INT DEFAULT_VALUE: 25 MIN_VALUE: 3 MAX_VALUE: 125

property user_params: List[UserParam]

arthropod_describer.plugins.test_plugin.regions.region_divider module

class RegionDivider(info: Optional[Info] = None)[source]

Bases: RegionComputation

NAME: Region divider DESCRIPTION: A method to divide given regions into ‘n’ regions, where ‘n’ is the number of children of each region in the given label hierarchy.

REGION_RESTRICTED

Module contents