Re: Adding contours in AstroImageJ
Posted by
cduston on
Jan 03, 2022; 5:08pm
URL: http://astroimagej.170.s1.nabble.com/Adding-contours-in-AstroImageJ-tp1360p1714.html
I've made some progress here - a got a group of students to produce a plugin that does exactly what I want, and is far more stable then the two we've been discussing here. It does not produce regions, but rather a colored image with the contours overlayed. Perhaps what they've done already can be extended to produce regions instead, if that's a preferred feature. I am mostly interested in the ability to measure the areas of each contour region, which they have implemented in a simple way.
Anyway, a description can be found on our group's website:
https://sites.google.com/merrimack.edu/mcarg/software, and I put the code on Github if anyone is interested in expanded on it:
https://github.com/cduston44/ContourLineandAreaMeasurement.
(I also developed a simple Jupyter/AstroPy notebook to perform the contour lines. The results are a bit nicer, but I didn't get to the area measurements. Check that out here:
https://github.com/cduston44/AstroPyContours)