Page 1 of 2

Histogram shape and clipping

Posted: Thu Jan 30, 2020 10:54 pm
by almcl
There's a thread running over on Stargazer's lounge about star colour in which one contributer ventures the opinion that StarTools colour balance is unrealistic (post 11 on this thread https://stargazerslounge.com/topic/347651-m36/).

The thread then goes on to discuss background clipping. Now it's one of StarTools many proud claims that it's impossible to clip data but I find my images are getting quite close to it and the thread also suggests that the image histogram should resemble a bell curve.

Now while my raw subs generally do show the bell shape:
Raw sub histo.jpg
Raw sub histo.jpg (34.52 KiB) Viewed 7104 times
my final processed output is squeezed right over to the left and is also not at all symmetric:
Output histo.jpg
Output histo.jpg (34.04 KiB) Viewed 7104 times
Up till now I have quite liked this as it suppresses the noise in the image but after reading the thread referenced above, perhaps I shouldn't be?

I can, of course, move the histogram off the left edge in other image software, but this doesn't address the symmetry issue and I suspect there's something wrong in my workflow and wonder if anyone can suggest where this might lie?

Re: Histogram shape and clipping

Posted: Fri Jan 31, 2020 10:31 am
by happy-kat
I too following that post.
On looking at my own data if the image contains nebula, even if say taken with a short focal length 85mm then there is a larger bell (for want of a better word) curve and is less flat on the left edge. However most of my images are star fields in this case the curve is tight to the left and the overall shape quite compressed.
I think most people commenting about clipping are working with images with lots of variations and gradients from nebula and ha and may less be working with just predominantly star fields and this could be where the histogram shape changes (as a guess of the behavioural difference).
My raw images are heavy with gradient and light pollution so are not really a comparison to the final image.

Re: Histogram shape and clipping

Posted: Fri Jan 31, 2020 11:24 am
by happy-kat
On looking at my image processes I get the steeper squashed effect if I have used the contrast module.
Is it clipped just by assuming the left edge has no space, or is it the space a 'comfort' factor that it can't be clipped as there is space.
I trust the processing to not clip any data from the image, but do I need visual confirmation the image can't be clipped by either having space or a grey overall background.
I like StarTools because i generally like the results.
I realise I used levels but for showing the curve thought this was the same and it was an easier dialog to capture.
processing note rs.jpg
processing note rs.jpg (195.53 KiB) Viewed 7088 times

Re: Histogram shape and clipping

Posted: Fri Jan 31, 2020 11:34 am
by almcl
I have since had a closer look (having worked out how to adjust the histogram display in ImageJ) and haven't found quite as much clipping in the latest output (using 1.6.386) as possibly was there in the past.

Here's an example which not even the "black background level must be at least 25" brigade could criticise:
Hidden g histo.jpg
Hidden g histo.jpg (31.56 KiB) Viewed 7088 times

Re: Histogram shape and clipping

Posted: Fri Jan 31, 2020 12:19 pm
by happy-kat
I am using GIMP to show the levels or histogram as PSP is not a clear/good.
I take it you are using something else?
My levels or histogram never seem to have a space on the left like yours I use DSS to stack.
Just looking at ImageJ, though I do nit want to install yet something else so would rather use GIMP here.

Re: Histogram shape and clipping

Posted: Fri Jan 31, 2020 2:06 pm
by alacant
There's a thread running over on Stargazer's lounge about star colour
Hi everyone.
It's my thread and the histogram stuff has nothing to do with my question on star colour. This was addressed early on in the thread.

i want to thank Ivo for intervening and bringing said thread back to normality; I was beginning to think my eyes were failing me!
Anyway, since we're here and to avoid any further confusion or misconception...

My image was processed in Siril and The Gimp, but I can confirm that the histogram I obtained by processing the same stack in StarTools has an almost identical -non bell shape- histogram to the one I produced in the Gimp. You can compare the two here:
https://linuxcostablanca.blogspot.com/2 ... -woes.html
The StarTools tif is here:
https://drive.google.com/open?id=1bDvRO ... GQl_I8Ijj1
FWIW and to avoid any sort of confusion, I'm attaching the histogram of the StarTools .tif.

To conclude, the histogram of the final image does not need to be/should not be bell shaped. It should be steeper to the left.

Even better, perhaps we should looking at the images themselves rather than talking about graphs derived therein;)

Cheers and clear skies from Alicante.
Steve
ss6.jpg
ss6.jpg (83.92 KiB) Viewed 7077 times

Re: Histogram shape and clipping

Posted: Fri Jan 31, 2020 2:32 pm
by alacant
Up till now I have quite liked this as it suppresses the noise in the image
Hi
Maybe at the expense of faint detail though.
Cheers,
Steve

Re: Histogram shape and clipping

Posted: Fri Jan 31, 2020 3:04 pm
by almcl
alacant wrote: Maybe at the expense of faint detail though.
Ah, that's where the Life> Isolate with subject mask as described in RKonrad's video https://www.youtube.com/watch?v=PPoJ-lM ... e=youtu.be comes into its own. I find this cleans up the background amazingly while leaving the faint detail in tact.

Re: Histogram shape and clipping

Posted: Fri Jan 31, 2020 9:48 pm
by happy-kat
Though isolate can sometime introduce star halos I have found so I handle it with care.
Great video I just learnt how to apply skyglow in develop module.
Tada it has effectively moved the peak off the left edge.

Re: Histogram shape and clipping

Posted: Sat Feb 01, 2020 7:51 am
by admin
The thread in question on SGL is an unfortunate one - there is so much misinformation in that thread.
I did my best, but sometimes it's better to keep the peace and let the Dunning-Kruger effect take its course. :(