Negative/Inverted image

Image processing, astrometry, photometry, etc.
Post Reply
User avatar
Rudi
Posts: 159
Joined: 08 Jan 2019, 04:47

Negative/Inverted image

Post by Rudi » 21 May 2024, 07:25

How do I save an inverted image?

Pressing F12 seems to only affect the visualization of the image.
Changing histogram etc still operates on the positive image.

Also, saving an inverted image, is positive again when re-opening.

So, is there a way to negate the image permanently?
/Rudi

fabdev
Posts: 495
Joined: 03 Dec 2018, 21:43

Re: Negative/Inverted image

Post by fabdev » 24 May 2024, 17:13

Hi, to save an image with negative palette, use "Save View" (e.g. JPG, PNG, TIFF ..)

To invert the pixels, it's required some pixel math, for example using the Formula: " 65535 - v " for 16 bit images or " 255 - v " for 8 bit.
That formula can be transformed into a Macro, to execute it with one click.
Fabio.

User avatar
Rudi
Posts: 159
Joined: 08 Jan 2019, 04:47

Re: Negative/Inverted image

Post by Rudi » 25 May 2024, 06:59

Thanks a lot, and sorry for the question, I had a strange Deja’Vu feeling, searched and searched, but couldn’t find anything here on forum about it. But Im still certain, that I have asked the same before ;-)
/Rudi

Post Reply