PixInsight Forum (historical)

PixInsight => General => Topic started by: cuivenion on 2018 June 04 22:11:47

Title: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 04 22:11:47
Hi I get this message when trying to use PCB:

Photometry process finished:
   3 of 3 images processed successfully.
   0 images with errors.

*** Error: Insufficient photometric data: Got 3 sample(s); at least 5 are required.

I've tried increasing the magnitude (to a maximum of 17), increasing sensitivity, adjusting saturation level, and having distortion correction and force plate solving enabling. I have seen threads with similer problems but none of the solutions seem to work in my case. The image has had Crop, DBE and Background Neutralization applied. Please find attached a log of a PCB attempt with default settings. Thanks for the help.
Title: Re: Photometric Color Calibration Error Message
Post by: John_Gill on 2018 June 04 23:28:39
Hi,

I am not sure what the solution is, but try this.  Copy your three images to the same location, but with different names.  Now try the PCC with the 6 images.

Look up
John
Title: Re: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 05 00:08:53
Sorry, I'm not following that.
Title: Re: Photometric Color Calibration Error Message
Post by: John_Gill on 2018 June 05 01:54:18
Sorry, I thought that maybe more images were required.  Ooops!
Title: Re: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 05 03:01:56
Possibly John, I just thought the PCB was automated and found the images itself. I'm not sure what you where proposing, I'm still new to Pixinsight.
Title: Re: Photometric Color Calibration Error Message
Post by: kkretzsch on 2018 June 05 03:33:11
HI,
the error message comes from the fitting procedure to evaluate the white balance

http://pixinsight.com/tutorials/PCC/#PCC_Specific_Features -> Interactive Graphs

I think the image that causes the problem does not contain enough stars.

Klaus
Title: Re: Photometric Color Calibration Error Message
Post by: msmythers on 2018 June 05 05:18:31
Can you upload the image to somewhere like dropbox and share the link. This would help.


Mike
Title: Re: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 06 10:15:54
Hi, no probs I'll sort that out.
Title: Re: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 06 10:28:46
This is the original integrated file before cropping, DBE or background neutralization.

https://www.dropbox.com/s/dvq8p0o5mh1ffm5/Autosave.tif?dl=0 (https://www.dropbox.com/s/dvq8p0o5mh1ffm5/Autosave.tif?dl=0)
Title: Re: Photometric Color Calibration Error Message
Post by: msmythers on 2018 June 06 14:30:17
I had no problem using PCC with your M27 image. I didn't even change anything, just used the default settings.


Mike
Title: Re: Photometric Color Calibration Error Message
Post by: msmythers on 2018 June 06 14:40:16
Thought I would add this. The plate solving that PI uses has good latitude if the image is good. HEre is just such a case. Notice that the settings were for 1000mm yet the solved image is 2400mm. This is why I tend to start with the default settings. If the image has issues then you might be looking at making changes.


Mike
Title: Re: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 06 17:50:24
Thats weird my focal length was 1000mm not 2400mm.
Title: Re: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 06 17:53:05
Just to add, I started with default parameters too. I only changed them when I ran into a problem.
Title: Re: Photometric Color Calibration Error Message
Post by: msmythers on 2018 June 06 18:29:18
Did you drizzle the image? That will change the apparent focal length. What pixel size is your camera? If it's not 9 like the default then that will change the apparent focal length. Those parameters do not need to be precise for ImageSolver to plate solve as you can see. They do need to be precise if you want the reported log information to be correct. Without knowing what camera and scope the best one can do is guess based on knowledge of the objects in an image.

Here is the image solved with PCC but I changed the Pixel size to 5 instead of 9. Now the reported FL is 1334.


Mike
Title: Re: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 06 18:57:10
Ah I see, I thought I was supposed to enter the focal length (1000mm) of my scope and the pixel size of the camera which is what I did. I'll give it another go with default FL and pixel size. The pixel size of my camera is 3.75. I didn't drizzle the image but it is cropped.

Thanks for the help. It's much appreciated.
Title: Re: Photometric Color Calibration Error Message
Post by: msmythers on 2018 June 06 20:54:16
And there we have it at 3.75 showing a focal length of 1001.06. Like you seen those parameters are very forgiving as far as the tool is concerned.


Mike
Title: Re: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 07 01:08:17
I'm baffled. If I leave the settings at default I get a fail to solve message. If I enter my correct pixel size I get the error already mentioned. I just can't see what I'm doing different from you.
Title: Re: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 07 01:57:04
Here's a screenshot.
Title: Re: Photometric Color Calibration Error Message
Post by: msmythers on 2018 June 07 06:25:59
The only thing I see from your screenshot is you're using a different file. I'm using autosave.tif . Try reseting PCC.

Here is a short video showing the processing of your image from the time I open PixInsight using nothing but the default settings and the searched coordinates for M27.
https://drive.google.com/file/d/1V2niJI-tZHAMsTAKOiJ5_gE8PZ3UCQ1b/view?usp=sharing (https://drive.google.com/file/d/1V2niJI-tZHAMsTAKOiJ5_gE8PZ3UCQ1b/view?usp=sharing)


Mike
Title: Re: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 07 07:39:58
Hi, its the same data stacked in a different way. I don't think it would make that much difference. Thanks for the vid.
Title: Re: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 07 07:45:12
Hi, I see from the video that you're performing PCC before cropping, DBE and Background Neutralization. I was doing them first, I thought colour calibration was best done after those actions.
Title: Re: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 07 07:55:10
Ok, it now works if I crop, perform PCC, then DBE. Thanks a lot for your help.
Title: Re: Photometric Color Calibration Error Message
Post by: msmythers on 2018 June 07 08:23:24
I was just seeing if the image would solve in PCC. As far as order of doing things I would normally do DBE before PCC. Of course I would do any noise reduction cropping and other things also. Like I said I was just checking to see if the image would solve.


Mike
Title: Re: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 07 08:34:04
Hi, PCC does solve and perform the calibration, but not if I do DBE and Background Calibration first. It seems to be OK with cropping.
Title: Re: Photometric Color Calibration Error Message
Post by: msmythers on 2018 June 07 09:16:47
Look at this video and see if there is something basic that I am doing different from you. Here I open the tiff, use dynamic crop, dbe and then PCC. The other changes are just STF settings I use to changes brightness levels without using the sliders.

https://drive.google.com/file/d/1ZVT5fDjroF9jToM9YTZ1H_WPTGLBo7SD/view?usp=sharing (https://drive.google.com/file/d/1ZVT5fDjroF9jToM9YTZ1H_WPTGLBo7SD/view?usp=sharing)



Mike
Title: Re: Photometric Color Calibration Error Message
Post by: cuivenion on 2018 June 14 17:55:14
Hi, I think I'm using way to much crop. Seems to be working now thanks for your help.
Title: Re: Photometric Color Calibration Error Message
Post by: msmythers on 2018 June 14 19:50:27
There was a very recent update to the tool. https://pixinsight.com/forum/index.php?topic=12441.msg76249#msg76249 (https://pixinsight.com/forum/index.php?topic=12441.msg76249#msg76249)



Mike