Bug 387051

Summary: Fits Viewer Data Scaling Problem
Product: [Applications] kstars Reporter: philip.s.king
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: FITS file exhibiting the issue

Description philip.s.king 2017-11-18 02:10:57 UTC
Created attachment 108934 [details]
FITS file exhibiting the issue

Hello, I suspect there may be an issue with the FITS viewer related to data scaling. The test image was taken using the ST-i camera using Ekos.

Version 2.8.7
Build: 2017-11-17T10:55:26Z

Steps to reproduce:
1. Open image in FITS Viewer (test image attached)
2. Click histogram toolbar button
3. Change min field to 4 (or anything else)
4. Click apply
5. Try to change min back to 0 (fails)
Comment 1 Jasem Mutlaq 2017-11-18 07:32:53 UTC
That's normal. You can undo the action to restore last minimum point. When you change the minimum, you essential clip all pixel values below this threshold. But you can always click undo to go back.