Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Draw fitted ellipses in diagnostic images#49

Draft
ethanjli wants to merge 6 commits intomainfrom
feature/diagnostic-image-ellipses
Draft

Draw fitted ellipses in diagnostic images#49
ethanjli wants to merge 6 commits intomainfrom
feature/diagnostic-image-ellipses

Conversation

@ethanjli
Copy link
Member

@ethanjli ethanjli commented Oct 9, 2024

This PR adds functionality to draw the region's fitted ellipse in the tagged.jpg diagnostic images saved by the segmenter; those ellipses are useful for understanding biases in the ellipsoid biovolume estimates described at https://www.protocols.io/view/planktoscope-protocol-for-plankton-imaging-bp2l6bq3zgqe/v3?step=16 , and for comparing ellipsoid biovolume against plain/riddled biovolume estimates.

@ethanjli
Copy link
Member Author

ethanjli commented Oct 9, 2024

Here's a visual example of the change made by the above commits.
Before the commits:
tots-ps-acq-136 20_45_45_415569 tagged before-ellipses
After the commits:
tots-ps-acq-136 20_45_45_415569 tagged after-ellipses

@ethanjli ethanjli changed the title Draw fitted ellipse in diagnostic images Draw fitted ellipses in diagnostic images Oct 9, 2024
@ethanjli
Copy link
Member Author

ethanjli commented Oct 9, 2024

The above commit adds drawings of two semicircles for each object in the diagnostic images: the upper semicircle corresponds to the circle with area equal to the object's filled area, while the lower semicircle corresponds to the circle with area equal to the object's area-excluding-holes. For example:
tots-ps-acq-136 20_45_45_415569 tagged after-circles

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant