Skip to content

[FEA] add intensity_median support to regionprops_table #1045

@grlee77

Description

@grlee77

Is your feature request related to a problem? Please describe.

scikit-image 0.26 added the "intensity_median" property. It can be computed inefficiently on a per-region basis after #1038 via RegionProps, but proper regionprops_table support should also be added.

Describe the solution you'd like
The implementation should follow the approach taken for batch computation of other intensity-based measures. These launch a single GPU kernel that compute the intensity based metrics for all regions in a single pass. These batch GPU kernels should be updated for this metric.

Describe alternatives you've considered
The current workaround is to call regionprops_table with batch_processing=False. This is not optimal from a performance standpoint as this launches a separate CUDA kernel for each individual region. This is typically inefficient unless the individual regions are very large.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions