medInria / medInria-public

Open-source part of the medInria software
https://med.inria.fr/
BSD 4-Clause "Original" or "Old" License
92 stars 72 forks source link

[PolygonRoi] avoid spam of warning if contour outside image (#775) #1188

Closed mathildemerle closed 9 months ago

mathildemerle commented 9 months ago

From PR https://github.com/Inria-Asclepios/medInria-public/pull/775

If the user draws a contour a little bit outside of the image border, he gets a very long spam of warnings in the terminal. This debugs solves the problem.

:m: