Bug 305960

Summary: Support loading 3D cube FITS images in KStars FITS Viewer
Product: [Applications] kstars Reporter: Alex Roman <alex.roman>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: wishlist CC: alex.roman, mutlaqja
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 15.04

Description Alex Roman 2012-08-29 03:07:09 UTC
Currently KStars supports only monochrome FITS images (1 axis, as they call it). There could technically be N axes I suppose, but one common format in RGB imaging is a 3 axis or 3D cube where each axis represents a colour channel.

KStars should support at lease 3 axis FITS data (RGB).

Thank you!

Reproducible: Always

Steps to Reproduce:
1. Load 3D FITS file (File->Open FITS)
Actual Results:  
Notice that only one channel of the image is displayed.

Expected Results:  
An RGB image should be displayed.
Comment 1 Jasem Mutlaq 2015-01-27 17:45:48 UTC
On my TODO list
Comment 2 Jasem Mutlaq 2015-01-31 01:22:04 UTC
Git commit 4efa2231eb35ec9bb00658e3e8228ddfaca18bf9 by Jasem Mutlaq.
Committed on 31/01/2015 at 01:21.
Pushed by mutlaqja into branch 'master'.

Adding support for 3D cube FITS images in FITSViewer tool.
FIXED-IN:15.04

M  +1    -1    kstars/ekos/onlineastrometryparser.cpp
M  +407  -224  kstars/fitsviewer/fitsdata.cpp
M  +13   -5    kstars/fitsviewer/fitsdata.h
M  +18   -8    kstars/fitsviewer/fitshistogram.cpp
M  +58   -32   kstars/fitsviewer/fitsview.cpp
M  +1    -0    kstars/fitsviewer/fitsview.h

http://commits.kde.org/kstars/4efa2231eb35ec9bb00658e3e8228ddfaca18bf9