taskGNU Astronomy Utilities - Tasks: task #15878, SDSS RGB color conversion in...


You are not allowed to post comments on this tracker with your current authentication level.

task #15878: SDSS RGB color conversion in ConvertType

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Mon 11 Jan 2021 11:42:37 PM UTC
Should Start On:  Mon 11 Jan 2021 12:00:00 AM UTC Should be Finished on:  Mon 11 Jan 2021 12:00:00 AM UTC
Category:  ConvertType Priority:  5 - Normal
Item Group:  New feature Status:  Postponed
Privacy:  Public Percent Complete:  0%
Assigned to:  None Open/Closed:  Open
Effort:  0.00

Mon 11 Jan 2021 11:42:37 PM UTC, original submission:  

SDSS has an interesting algorithm to merge images from three filters into an RGB-colored image (for example JPEG or PDF).

The algorithm is defined in Lupton et al. 2004, with the goal of showing the brightest parts of an image in logarithmic scale and the fainter parts in linear scale (to show both).

An implementation of this is in Astropy, as the  make_lupton_rgb function.

Fortunately implementing the basic function is easy in ConvertType to avoid the huge dependency tree of Astropy and do it fast! It can be implemented in an option like the example below. Where AAA is the Q parameter and BBB is the "stretch" parameter.

astconvertt red.fits green.fits blue.fits --luptonrgb=AAA,BBB

Raul Infante-Sainz kindly provided the links above and this issue was recommended by Ignacio Trujillo.

Mohammad Akhlaghi <makhlaghi>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  • -email is unavailable- added by makhlaghi
  • -email is unavailable- added by makhlaghi

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-01-11 makhlaghi Carbon-Copy- Added -email is unavailable-
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.11