Login  Register

Re: Stacking via WCS results in blank images

Posted by karenacollins on Jul 07, 2017; 10:52am
URL: http://astroimagej.170.s1.nabble.com/Stacking-via-WCS-results-in-blank-images-tp708p714.html

Hi Chris,


Thanks for the images. I do see the problem here and there is nothing you are doing wrong. However, the plate-solve headers that are added to the image headers are not in standard WCS format. There is enough info there to display RA and Dec, the plate scale, and the sky orientation arrows, but for WCS alignment to work, the images must have the WCS header keywords and values for CRPIX1, CRPIX2, CRVAL1 and CRVAL2, so that there is a specific pixel and associated RA and DEC that can be compared from image to image, and so the CRPIX1 and CRPIX2 values can be easily adjusted to account for the shift so that RA and Dec will display properly after the images have been aligned.


That's probably more than you wanted to know, but the bottom line is that the form of plate solution in your headers can not currently be used to align images. Your version of headers could probably be used for alignment when I can get time, but I won't be able to figure out how to implement that in the near future. The other issue is that there are several different formats of non-standard WCS headers, and it is probably not practical for me to support them all. I should at least consider showing an error message when the appropriate WCS headers are not available.


At least for now, you will have to plate solve using a different method (e.g. the AIJ link to astrometry.net, or astrometry.net directly, or TheSkyX since I know that it adds WCS compliant headers), or align using apertures, which I think would work fairly well for the sample images you sent. The downside of aligning using apertures is that the RA and Dec display may be wrong after alignment since the CRPIX1 and CRPIX2 are not in the headers for AIJ to adjust.


I apologize that I am not able to support the current format of plate solution in your headers at the present time,


Karen