Login  Register

Re: Adding contours in AstroImageJ

Posted by karenacollins on Jun 03, 2020; 12:23am
URL: http://astroimagej.170.s1.nabble.com/Adding-contours-in-AstroImageJ-tp1360p1364.html

I decided to go ahead and look into getting the ContourLines functionality working in AIJ. I had to bring some new functionality from later version of ImageJ into AIJ, but it is now working as a built-in function in the Image_Display=>Analyze menus. The free-standing plugin may still not work, but the functionality is now in the latest AIJ daily build (the versions should show 3.4.0.14 or later after update).

To me, the feature is very tricky to use, and the coloring is highly sensitive to the contrast setting in the histogram when the code is executed. However, I was able to achieve the contours shown below with the settings shown below.

You may need to change the contrast to an undesired level to achieve the colors you want, and then change the contrast back to the level you want before saving the image.

I noticed that if some of the settings are too low (e.g. the smoothing radius=0 or 1), then it can hang AIJ.

If you find nice settings that seem to work, I'm sure the AIJ user base would appreciate any hints you can provide on this thread.

Karen