Push-to plate solving issue beta 4.1.10872.0

Discussions, Bug Reports and Issues related to Beta versions of SharpCap
PeterAB
Posts: 37
Joined: Sat May 21, 2022 4:12 am

Re: Push-to plate solving issue beta 4.1.10872.0

#11

Post by PeterAB »

Hello Robin,

Exposures 2 seconds or longer are failing. I have been testing with high gain exposures that I use for focusing, finding and plate solving.

I have not tried reducing gain with longer exposure times. Would this be a worthwhile test? Could there be a timing issue with longer exposures vs an issue with the image?

I observe that tools-plate solve is working as expected. Longer exposures and short exposures work in rich star fields. I have been testing Cygnus to make sure I have many stars in view consistently to reduce that variable. Longer exposures work better in less dense star fields as expected.

I have been using a fairly recent ASTAP (2023.05.09). I will install the latest non-development version now (2023.07.09).

Thanks,

Peter
User avatar
admin
Site Admin
Posts: 17609
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Push-to plate solving issue beta 4.1.10872.0

#12

Post by admin »

Hi Peter,

I somehow feel I am missing something obvious here. I can't see why the failure would happen in 'PushTo' and not in manual solving for the same camera settings - particularly the error code 2, which implies something wrong in the image itself.

I can only think that we might be able to somehow capture the plate solving images so that you can share them with me - then maybe we will get to the bottom of this. That will require me making some changes to the code for the next update (a new option to turn this on, copying the images to a separate folder, etc).

cheers,

Robin
PeterAB
Posts: 37
Joined: Sat May 21, 2022 4:12 am

Re: Push-to plate solving issue beta 4.1.10872.0

#13

Post by PeterAB »

Hello Robin,

Okay, I'll send you image files when the new code is ready and the clouds clear out.

Peter
PeterAB
Posts: 37
Joined: Sat May 21, 2022 4:12 am

Re: Push-to plate solving issue beta 4.1.10872.0

#14

Post by PeterAB »

Hello again

Just checked a couple of things. Latest ASTAP (23.07.09) does not change this issue.

A longer exposure that fails with high gain, will work when gain is reduced.

There does not seem to be a timing issue related to the actual exposure time. For example, a 4 second high gain exposure will fail, while a 4 second medium gain exposure will work.

It appears that plate solving from push-to is exposure sensitive in ways I cannot see. With tools-plate solve as long as the display stretch can be made to show a reasonable number of stars above the background noise on the display, the image will solve. Tools-plate solve issues improve with a longer exposure. Push-to plate solve it is behaving as if I need to blindly set an exposure trial and error to get the just right exposure. Not too dim with too few stars and not too bright maybe with washed out stars.

Is there a stretch or bit depth conversion that is different between push-to plate solve and tools-plate solve?

I'll send images when they are saved. Would it possible save images from the working tools-plate solve case as well? I would like to show that I do have a reasonable image to solve in that case and contrast with the push-to case.

Thanks,

Peter
User avatar
admin
Site Admin
Posts: 17609
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Push-to plate solving issue beta 4.1.10872.0

#15

Post by admin »

Hi Peter,

thanks for the further testing. After replying to you yesterday I was thinking further about how this might be happening and I had an idea that maybe the frame from the camera is treated slightly differently before being written to file when using PushTo compared to 'Plate Solve Only'. Looking at the code today I can see that there are differences, so I am going to try to remove them so that the treatment of the PushTo frame is identical to the plate solve only one. Hopefully that will resolve the issue.

cheers,

Robin
PeterAB
Posts: 37
Joined: Sat May 21, 2022 4:12 am

Re: Push-to plate solving issue beta 4.1.10872.0

#16

Post by PeterAB »

Hi Robin,

I tested push-to plate solving in version 4.1.10931.0. Issue is unchanged.

I did turn on the extra logging and have images. How do I send you the two 22-megabyte fits files?

Of note, the images from tools-plate solve vs push to plate solve are substantially different. The image from tools-plate solve is much better showing many stars. The image from push to shows only the brightest stars over a noisy background. The good image has a nice bell shaped histogram. Bad image has a flat and noisy histogram.

In the meantime, I have attached the logfile and a good and bad info.txt files. I did note in the info.txt file that the solver is not passed a correct field of view in the push-to case. I don't think that is the solving issue, but, I have noticed plate solving sometimes taking longer in the push-to case (when the solve is successful).

Thanks again

Peter
Attachments
Log_2023-07-31T23_40_48-16476.log
(124.39 KiB) Downloaded 73 times
info (from push to).txt
(2.87 KiB) Downloaded 91 times
info (from tools-plate solve).txt
(5.21 KiB) Downloaded 92 times
User avatar
admin
Site Admin
Posts: 17609
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Push-to plate solving issue beta 4.1.10872.0

#17

Post by admin »

Hi Peter,

the best way to send FITS files is to upload them to some sort of file sharing site (Google Drive, DropBox, Microsoft OneDrive, etc) and then create a sharing link and post that link here in the forums. I can then download and inspect the files.

I can see that in the PushTo info there is no field of view information being supplied to the plate solve - either that or it is 0x0. That seems like it might be an issue, so I will check that out first then look at the files once you have a chance to share them.

thanks,

Robin
PeterAB
Posts: 37
Joined: Sat May 21, 2022 4:12 am

Re: Push-to plate solving issue beta 4.1.10872.0

#18

Post by PeterAB »

Hi Robin:

Link to plate solve image files. Please let me know if you have trouble accessing them.

https://drive.google.com/drive/folders/ ... sp=sharing

Thanks, Peter
User avatar
admin
Site Admin
Posts: 17609
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Push-to plate solving issue beta 4.1.10872.0

#19

Post by admin »

Hi Peter,

right, I think I see...

You are using a very high gain (570), which leads to a strong background in the image. It looks like the PushTo approach is incorrectly bitshifting the image a second time - that is it is multiplying all the pixel values by 4 to go from 14 to 16 bit data, but this has already been done. The combination of the strong background to begin with and the incorrectly duplicated bitshift makes the push to frame incredibly noisy - so noisy that Astap decides very quickly that there cannot be any points in it that are significantly brighter than the noise.

A lower gain to significantly reduce the background brightness might help for the current version - I will now go and try to work out why the double bitshift is happening (need to test using a 12 or 14 bit camera) and fix that for the next update.

cheers,

Robin
User avatar
admin
Site Admin
Posts: 17609
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Push-to plate solving issue beta 4.1.10872.0

#20

Post by admin »

Hi,

Please give this version a try, which has the fix for FITs file writing while in PushTo

https://d.sharpcap.co.uk/download.html? ... 0&arch=x64

Since I needed to make a new version for another problem, I thought I may as well share the download here :)

cheers,

Robin
Post Reply