Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

read_images calculating mean expression of bounding box, not cell? #43

@bswhite

Description

@bswhite

Hello,

If I'm not mistaken aren't the following lines in read_images computing the mean expression of the bounding box surrounding a masked region (e.g., a cell):

for v in measurements['image_intensity']:
            cell_exp = getattr(v, intensity_measure).__call__(axis=(0, 1))

I'm no regionprops expert, but its document says that 'image_intensity' is the image inside the bounding box. Don't we instead want to calculate the mean expression of the region within the bounding box?

Thank you,
Brian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions