×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

fits viewer histogram

  • Posts: 969
  • Thank you received: 94
Hi everyone
I'm used to a fixed scale histogram so I am able to check at a glance if my exposure is OK. The kstars histogram varies the scales, so it's difficult to tell.
Is there any way to have a traditional keep-it-over-to-the-left-and-you'll-be-ok type plot?
TIA,
Steve
5 years 8 months ago #27069

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic fits viewer histogram

Pull requests are always welcome!
5 years 8 months ago #27070

Please Log in or Create an account to join the conversation.

  • Posts: 969
  • Thank you received: 94

Replied by alacant on topic fits viewer histogram

Hi
Sorry, I'm lost:(
5 years 8 months ago #27448

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic fits viewer histogram

Meaning I do not have time for it now so if anyone can contribute the changes, that would be appreciated.
The following user(s) said Thank You: alacant
5 years 8 months ago #27450

Please Log in or Create an account to join the conversation.

  • Posts: 424
  • Thank you received: 66

Replied by Greg on topic fits viewer histogram


I found the histogram viewer really confusing at first. I didnt understand what it was doing . You have to play with it for a while. It can zoom from the middle, zoom from the left, logarithmic display, etc. just play with it and you'll figure it out.

However, I think it holds previous views in a buffer and displays them as well as the present view. I think this is a bug which I mentioned but nobody responded. Let me know if you notice this effect too. It can lead to more confusion. when in doubt, reopen your fits file.
The following user(s) said Thank You: alacant
Last edit: 5 years 8 months ago by Greg.
5 years 8 months ago #27459

Please Log in or Create an account to join the conversation.

  • Posts: 535
  • Thank you received: 109

Replied by Jim on topic fits viewer histogram

It does seem to do this, and overlays the next image histogram on the previous (sometimes?)

Sometimes colors seem to go missing from the histogram as well.

It also gives me a completely white image when I apply the logarithmic function, until the next image arrives. Mostly I get the colors balanced for the exposure, and then forget the histogram exists.

It falls into the category of inconvenient, but I understand time is needed elsewhere and I am not currently able to code well enough to consider a PR, so I work around the issues I have with it, and keep going.
5 years 8 months ago #27523

Please Log in or Create an account to join the conversation.

  • Posts: 910
  • Thank you received: 86

Replied by maxthebuilder on topic fits viewer histogram

May I second this request?

Also, I am a bit uncertain about the scale.
For 8bit it seems to go from 0 to 255 which is correct.
But what about 16bit? In Photoshop it also goes from 0 to 255. In Ekos it goes much further.
Is it 2^16?
For my Nikon DSLR I get 0 to 17378 (saturated image). Which is roughly 2^14 (Nikon outputs 14bit images, I believe).
Am I right on the scale?

Another thing - If I shoot with DSLR and set the format to "Native" -
I am given the Image Viewer (instead of FITS Viewer) which doesn't show the histogram.

If I switch to "FITS" format, I get the FITS Viewer when I ran the Preview
but when I ran an actual sequence Ekos/KStars crash (a NEF file gets saved to camera's SD card, though).

So it would be really nice to have the histogram in the Image Viewer for those who use DSLRs.

Thanks!

-- Max S
ZWO AM5. RST-135. AZ-GTI. HEQ5. iOptron SkyTracker.
TPO RC6. FRA400. Rokinon 135 and other lenses.
ZWO ASI2600MC. D5500 modified with UVIR clip-in filter.
ZWO ASI120MM Mini x 2. ZWO 30F4 guider. Orion 50mm guider.
ZWO EAF x 2.
5 years 1 month ago #34449

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 1

Replied by Jason Dain on topic fits viewer histogram

This is about my only pet peeve now is that I can't monitor things without downloading the file and looking at it in photoshop or camera RAW. This would be an extremely useful feature to have.
3 years 11 months ago #52887

Please Log in or Create an account to join the conversation.

  • Posts: 86
  • Thank you received: 10

Replied by Brent on topic fits viewer histogram

has there been any progress on this. I have played with a bit but still don't understand it .
3 years 9 months ago #55330

Please Log in or Create an account to join the conversation.

  • Posts: 24
  • Thank you received: 2
-1- The histogram can support beyond 255 (8 bits).

-2- The ability to load some raw files is also present in the FITS viewer but at the moment some are loaded only up to 255 bits. I am looking into this but am probably not able to fix it.
See:
<code>const QStringList RAWFormats = { "cr2", "cr3", "crw", "nef", "raf", "dng", "arw", "orf" };
</code>
invent.kde.org/education/kstars/-/blob/s...wer/fitsdata.cpp#L58
We need some help on this issue as reported: invent.kde.org/education/kstars/-/issues/83
Last edit: 1 year 2 months ago by Jurgen Doreleijers.
1 year 2 months ago #89507

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic fits viewer histogram

I believe we need to move FITS Histogram and embed it at the bottom at the FITS image and integrate the shadows/midtones/highlights controls right there in the histogram. But this is going to take quite a bit of work... any volunteers?
1 year 2 months ago #89518

Please Log in or Create an account to join the conversation.

Time to create page: 0.665 seconds