I have had a very rough 2 months unfortunately health wise. I was struck 3x in a row with bacterial infections. The second infection occurred after a routine hospital checkup and I became very sick. I had to rest and take a lot of antibiotics. Once I was recovering and restarting work 1 month ago, I again became sick. The infection was not yet gone, so even more antibiotics and rest was needed. Needless to say, it took a lot of my energy and I needed a lot of rest.
Finally, the infection is really gone and my energy is coming back step-by-step now and I have started work again. I am terribly sorry to have kept you waiting for support. I will address all outstanding questions and e-mails step-by step and will be on the forum daily from today.
APP 2.0.0-beta47 will come soon as well, a lot of work was already completed before I became very ill, so the release is also nearly ready for you. Beta47 will be much faster actually. Many workflows will be more than 2x faster, mosaics can even be 10x faster than before because registration really received a major boost... all compared to beta46. Before I release it, I will make sure that everything is working properly and then I will release it.
ArrayIndexOutOfBoundsException in FindBestRegistrationModel while registering
in 4) Register (APP 2.0.0 beta41) I get an error message when I try to register 20 subs each with approximately 50-60 stars (pattern recognition set to automatic or triangle):
When pattern recognition set to quadrilaterals it does not finish the job, but no error is given. In order to stop the process I need to click the cancel button.
I tried a 10-subb dataset with more stars and that went fine in beta41.
in 4) Register (APP 2.0.0 beta41) I get an error message when I try to register 20 subs each with approximately 50-60 stars (pattern recognition set to automatic or triangle):
When pattern recognition set to quadrilaterals it does not finish the job, but no error is given. In order to stop the process I need to click the cancel button.
I tried a 10-subb dataset with more stars and that went fine in beta41.
Thank you very much for reporting this. One other user also bumped in this bug, i have not seen it yet, but the error message is clear, it will be related to little stars in the data. Beta39 included a whole new registration module, and this bug seems part of that. Can you upload the dataset that creates this problem? I will fix it a.s.a.p. 😉 and will release that quickly.
data uploaded! It is not very exiting data: 20 x 0.1s luminance subs of 61 Cyg A+B that I use for stellar parallax measurement.
I noticed that downgrading from beta41 to beta38 did not work and neither does a double installation in two folders. I had to first uninstall beta41, then install beta38 to make it function again.
Thanks, i will look at the data now and will report back.
I noticed that downgrading from beta41 to beta38 did not work
That is because there is an issue with the beta38 installer in fact, it will not clean up the installation directory. That issue is solved.
and neither does a double installation in two folders. I had to first uninstall beta41, then install beta38 to make it function again.
And that is caused by the Windows registry. If the same application lives twice in the registry, you will get weird problems or non functioning problems. We have not made any intention to be able to install different versions at the same time as well.
Thanks for the data upload, I will look at it now.
I am already testing with your data. Can you confirm that it only errors when you enable dynamic distortion correction? If I disable it, all works fine over here.
Fixed ArrayIndexOutOfBoundsException in FindBestRegistrationModel
As reported here https://www.astropixelprocessor.com/community/main-forum/arrayindexoutofboundsexception-in-findbestregistrationmodel-while-registering/#post-34227 an ArrayIndexOutOfBoundsException could be thrown when registering in the FindBestRegistrationModel module. The issue will be caused when dynamic distortion correction is enabled. When disabled all works as expected. The issue would manifest if APP tries to calculate distortion correction on data that really does not need it for already perfect registration. The issue is now solved and prevented by simply disabling distortion correction completely in the 2-view registration phase on data that has very little movement in the stars between the images. The user can simply leave distortion correction enabled, internally, APP will disable it for the specific registration task.
The issue was caused by APP trying to perform dynamic distortion correction between your images while your images have no dither steps between them really, in that case distortion parameters can not be reliable calculated. Internally we can detect this now and APP will safely disable it for the registration task at hand.
Will release the fix soon 😉 thanks for reporting this.
I am already testing with your data. Can you confirm that it only errors when you enable dynamic distortion correction? If I disable it, all works fine over here.
Mabula
Hi Mabula,
last week I did an imaging session using a ASI290MC with a cheapish 25mm CCTV lens on Corona Borealis (here shown full but downsampled size):
Those images have a FOV of 12.5 x 7 degrees, for which I indeed enabled dynamic distortion correction, and I never thought of disabling it again. Strangely enough beta38 had no issue with that setting. The red cross indicates the upcoming nova T CrB (expected to happen within the next half year).
The red cross indicates the upcoming nova T CrB (expected to happen within the next half year).
Nice !
Some technical background, I think you can appreciate that:
Beta39 has a very new registration engine, many parts were rewritten including the behaviour in the 2-view registration phase. 2-view means only registering 2 images together. N-view is N images in a mosaic. In 2-view we always need to get a registration hypothesis first, test it with Ransac and if it confirms to be a valid hypothesis we expand it by including as much as star pairs as we can to make it become more precise. If distortion correction is enabled, we expand the hypothesis possibly with increasing complex models for optical distortion correction.
Before beta39, sometimes data that had very little or no dither steps, would produce very weird whirlpool results in APP when distortion correction was enabled. That should definitely no longer occur with the new engine. But, your data did trigger one flaw in the new implementation clearly. Internally it did try the most simple distortion correction model ( radial model ~ r^2 with assumption of same distortion model for both the views) and because there is no dither at all, the model became unstable and it produced the bug. I have covered this bug robustly now. Internally APP studies the projection matrix now with distortion correction and if it is very close to the unit matrix, we keep distortion correction disabled as a safe guard. The inistability can no longer occur and data like this will not register more precise with distortion correction, because it can simply not be calculated if there is no shift in the field of view between the images.
So thanks for letting me know about the issue 😉
Hope to release beta42 with this fix and others soon.