dstndstn / astrometry.net

Astrometry.net -- automatic recognition of astronomical images
http://astrometry.net
Other
661 stars 185 forks source link

Auto-stretch output images, esp. for web interface #202

Open schumar opened 3 years ago

schumar commented 3 years ago

off-topic: Thanks a lot for this program, I had 2 pictures lying around I wasn't able to place (made some error when writing down my telescope's direction in the dark...), astrometry.net saved me :)

on-topic: It would be nice if pictures (esp. 16bit ones) would be auto-scaled for output; see 4073344 for an example (compare to 4074118, which I manually scaled and converted to 8bit-JPG before uploading). The picture seems to be simply black, but contains in fact a lot of stars; but that's only visible when the values are scaled by 100 or more.

I assume this would require finding the scaling factor for which e.g. 5% of pixels would over-saturate.

dstndstn commented 3 years ago

Oh yeah, interesting. We do something like that for FITS files, but JPEG and PNG are assumed to be "viewable" already :)

On Thu, Oct 15, 2020 at 10:37 AM Martin Schuster notifications@github.com wrote:

off-topic: Thanks a lot for this program, I had 2 pictures lying around I wasn't able to place (made some error when writing down my telescope's direction in the dark...), astrometry.net saved me :)

on-topic: It would be nice if pictures (esp. 16bit ones) would be auto-scaled for output; see 4073344 http://nova.astrometry.net/user_images/4073344 for an example (compare to 4074118 http://nova.astrometry.net/user_images/4074118, which I manually scaled and converted to 8bit-JPG before uploading). The picture seems to be simply black, but contains in fact a lot of stars; but that's only visible when the values are scaled by 100 or more.

I assume this would require finding the scaling factor for which e.g. 5% of pixels would over-saturate.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dstndstn/astrometry.net/issues/202, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIEH7OBWTLNP7FJPQKN5M3SK4CLNANCNFSM4SSCTXFQ .