Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ellipse area #263

Merged
merged 1 commit into from
Aug 8, 2019
Merged

ellipse area #263

merged 1 commit into from
Aug 8, 2019

Conversation

will-moore
Copy link
Member

This improves the accuracy of the Area reported for an Ellipse, using PI * rx * ry instead of relying on OpenLayers which treats the Ellipse like a Polygon.
It should fix the discrepancy between the Polygon area seen in iviewer vv exported in Batch_ROI_Export.py script, as reported ome/omero-scripts#147 (comment)

@pwalczysko
Copy link
Member

pwalczysko commented Apr 19, 2019

I guess this is built on west-ci, not eel ?

@jburel
Copy link
Member

jburel commented Apr 19, 2019

It is on eel for web apps

@jburel
Copy link
Member

jburel commented Jul 16, 2019

on merge-ci, user-1

  • Image with ID 1132 has one ellipse
  • omero-script: area 0.0815989624017
  • iviewer: area 0.082 when using "export ROI" option or in comment editor dialog
    Rounding in iviewer

@will-moore
Copy link
Member Author

This PR doesn't affect the rounding, just the accuracy (which is fixed in the comment above).
So I'm assuming this is good to merge?

@jburel
Copy link
Member

jburel commented Aug 8, 2019

Yes. We may want to round in the script.

@jburel jburel merged commit c1d5462 into ome:master Aug 8, 2019
@jburel jburel added this to the 0.8.0 milestone Sep 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants