cytomining / cytomining/CytoDataFrame

Provide customization options for bounding boxes with `CytoDataFrame` image display

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
13
Forks
2
Avg merge
1d 16h
Merged PRs (30d)
3

Description

Suggestion from @jenna-tomkinson . Sometimes the bounding box for images doesn't feel quite right and could use an adjustment to help view the overall context of the compartment images. See below for an example where the images appear to be "over-cropped" and cut out a portion of the object.

Maybe this could come in the form of a parameter passed to the CytoDataFrame as `bounding_box_adjustments=(left, top, right, bottom)` (+/- integers for making those adjustments where desired from the relative bounding box dimensions).

![image](https://github.com/user-attachments/assets/0be564e8-815d-4f45-8ffd-de2fe2fc54ad)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.