melix / astro4j

Astronomy libraries for Java
Apache License 2.0
28 stars 5 forks source link

Enhancement request - Add a "size in pixels" option to the Autocrop menu selection #390

Open stefanoaz opened 1 month ago

stefanoaz commented 1 month ago

Hi Cèdric:

I am finding that, as the Earth is leaving apogee with the Sun, the 1.2x autocrop I use, is dithering between two values for image size in pixels. I realize the values should be integer multiples of 16.

When I stack images, they need to be the same size. An option for specifying that size in pixels, in the autocrop selections, would be really useful for stacking. Workarounds that I use are fairly time consuming (PIPP). Even if there were an ImageMath function available for this, it would have to be applied on a batch basis, and I've never learned how to aim ImageMath at a specific image or group of them, except for the Helium extraction example script.

Anyway, a pixel option in the autocrop selection would be really convenient.

Cheers,

Steve

stefanoaz commented 1 month ago

In this request, I am wanting that the pixel-specified autocrop perform no scaling, just an autocentering as is done with the (n)x diameter selections.