Converting DSLR images to FITS

Forums Imaging Converting DSLR images to FITS

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #573583
    Roger Dymock
    Participant

    Having converted a DSLR image to FITS, calibrated it and extracted the green channel I was checking for saturated pixels using the AIP4WIN Star image tool. On a bright star I could see from the flat top on the shape of the image that some pixels were saturated. The Peak Pixel Value was given as 39997 but my understanding is that the max pixel value for my images (obtained with a Canon EOS550D DSLR camera) is 16384 so I am confused by this result.

    Any ideas anyone?

    Regards

    #577422
    Callum Potter
    Keymaster

    Hi Roger,

    what was the calibration process used – perhaps there was some normalisation along the way…

    Cheers, Callum

    #577423
    Roger Dymock
    Participant

    Hi Callum,

    Thanks for your interest. My proces is (using AIP4WIN);

    1) Convert camera images and calibration frames to FITS

    2) Calibrate (using dark frames, flat fieldsand flat darks)

    3) Extract the green channel (which I then process with Astrometrica for astrometry and photometry)

    Regards

    #577424
    Roger Dymock
    Participant

    Further to my query. In AIP4WIN Bayer conversion settings, DeBayer, Convert Colour to Grayscale I set Red Scale=Blue Scale =0 and Green Scale =1, opened a RAW camera image and saved it as FITS. Using Measure/Statistics the max value = 15305. 

    I then set Red=Blue=Green=1 and opened and saved an image as above. The max value was then given as 45915 which is 3x the 15305 obtained previously (A calibrated image has a max value of 40471.8).
     
    Are the red, green and blue channels being added?
     
    Regards 
    #577425
    Robin Leadbeater
    Participant

    Hi Roger,

    I am not that familiar with AIP4WIN but it works this way in IRIS. In IRIS, if you want the dynamic range of the combined channel (greyscale) image to be the same as for a single channel, either the multipliers for the three channels have to add up to 1 or the resulting image has to be normalised (The multipliers allow the white balance to be set correctly)

    Cheers

    Robin

    #577427
    Nick James
    Participant

    The 550D CR2 raw format is indeed 14-bits per pixel (i.e. 0 – 16384) but the processing for extracting the green channel from the two green pixels of Bayer colour array adds an arbitrary scaling probably due to the interpolation required. A simple scaling doesn’t really matter since you do the photometric calibration after extracting the green channel.

    Most of the non-Canon software in use uses functions based on dcraw to do this coversion so you can have a look at the source code if you are interested!

    #577429
    Roger Dymock
    Participant

    A reply from Richard Berry on the AIP4WIN forum, below, confirmed the point I made in my 2016-07-04 post;

    Yes, they are added. This avoid any integer roundoff.
    If you want to, you can use Red=Grn=Blu=0.33333.

    I quickly tried his suggestion using an uncalibrated image and it seemed to work. What I need to do now is use this method to calibrate an image and see what results I get in Astrometrica.

    #577433
    Roger Dymock
    Participant

    Hi Robin,

    Thanks for your reply. I understand what you are saying about the multipliers (same as Adrian Berry I guess). 

    Regards

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.