New Beta Update 4.2.14767

Discussions, Bug Reports and Issues related to Beta versions of SharpCap
User avatar
admin
Site Admin
Posts: 17609
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: New Beta Update 4.2.14767

#11

Post by admin »

Hi,

it's trickier to add a 'mode' to the arcsinh stretch - the details of the stretch are pinned down by the three set points (black/mid/white), and if you start doing things like adding powers into the equation you lose the rather desirable property that the stretch is close to linear in the darker regions. You *can* do arcsinh(arcsinh(x)) - repeatedly apply the function - Fitsliberator offers that as one of its stretch functions and it maintains the nice linear property, but I'm not sure how much it changes the nature of the final stretch curve...

As for the tracking - I just had a chance to run the latest code side-by-side with the older v 4.2.14656 on a long stack (250 saved frames of M31). My procedure was to let the stack run for about 10 frames, pause it and calibrate, turn on stretch tracking then let it run for the other 240 frames.The two versions did a basically identical job of tracking the stretch up to the end of the 250 frames - both the final stretch levels and the final images looked exceptionally close to each other. I should add that this doesn't mean that there isn't a problem, just that it doesn't show up in the dataset I chose to test on. Maybe with other settings or a different dataset we might spot something.

What I did notice that was of interest is that in both cases I ended up with a background that was too red after the tracking of 240 frames. I don't think this is due to the tracking causing the problem - it's due to the background light pollution in the frames changing over the course of the capture of the 250 frames, so that the background subtraction that was just right for the first 10 frames isn't correct once all the frames have stacked. This makes me think about having the stretch tracking also make the background subtraction track if it is enabled, which would catch this sort of problem - I will be looking into that.

cheers,

Robin
Gfischer
Posts: 328
Joined: Thu Jun 22, 2023 4:20 pm

Re: New Beta Update 4.2.14767

#12

Post by Gfischer »

Robin,
My setup is an equatorial platform with a dob. When running livestack if my stack drifts to far so edges get large dark edges. The stellar color calibration stops working. I assume this is because I’m losing stars on edges. Anything I can do?
User avatar
admin
Site Admin
Posts: 17609
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: New Beta Update 4.2.14767

#13

Post by admin »

Hi,

yes, you get the black borders where the stack is no longer receiving data due to the drift. The calibration does ignore a certain amount of border, but if it gets too large then it will cause problems.

The key thing to do is to try to reduce the drift - do you have a GOTO system? If so then there is a live stacking tool to do periodic re-centering of the image via GOTO when the drift hits a specified amount - that might well help.

I wonder if I could rig up the stacking so that the edges don't go dark (maybe just keep the existing data in those areas when there is no new data going in?) I will have to look into that.

cheers,

Robin
Gfischer
Posts: 328
Joined: Thu Jun 22, 2023 4:20 pm

Re: New Beta Update 4.2.14767

#14

Post by Gfischer »

Robin,
Thanks for looking into the arcsinh mode idea. Sounds like a lot more difficult than I thought.

The method you used for the tracking makes sense. The changes to the histogram are largest in the beginning of the stack. The tracking function has less movement to contend with after the first 10 frames. I could make the sequence copy your method if a step was available to turn on tracking function.

I’m not sure if the cause of the loss of stellar calibration with larger dark edges is due to fewer stars or the black edges causing another issue. Would using a virtual crop area for stellar correction be of any help? I find in my sequence by the time the black edges get big enough to affect stellar correction the changes in color have slowed quite a bit so color variation isn’t to pronounced.

My rig sits on an equatorial platform so it has no goto function. I do guide in ra only so the drift is in dec but because of the limited accuracy of a wooden mount even with good pa drift is inevitable.
User avatar
admin
Site Admin
Posts: 17609
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: New Beta Update 4.2.14767

#15

Post by admin »

Hi,

if you only have a small number of stars in the image (or a small number being detected) then the erosion of the stack edges due to drift *could* stop the calibration from working - basically if it reduces the star count from 'just enough' to 'not quite enough'. That's more likely with small fields of view (long focal length, small targets) than it is with widefield shots with lots of stars in them.

I managed to pretty much eliminate the black borders in the stack in some changes I made yesterday - with the new approach, instead of going dark, those cut off regions keep the same brightness as the rest of the image, but the details in them tend to go faint and mushy due to them having less data. I'm quite pleased with it and it will be included in the next update. In fact, it's so effective at hiding the edges of the area that I have had to add an option in the 'Alignment' tab to highlight on screen how the current frame alignment compares to the stack so you can see that if you want.

cheers,

Robin
Gfischer
Posts: 328
Joined: Thu Jun 22, 2023 4:20 pm

Re: New Beta Update 4.2.14767

#16

Post by Gfischer »

Robin,
Sounds like a great improvement you really have a gift for programming. A quick question. After my livestack run I save the raw 32 bit stack and process it. My first processing step is to crop off the bad edges. Would it be possible for the indicator you have showing where last frame is centered to be on final stack? Just worried I won’t be able to tell where the area I need to remove is.
User avatar
admin
Site Admin
Posts: 17609
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: New Beta Update 4.2.14767

#17

Post by admin »

Hi,

at the moment the indicator is just drawn over the image in SharpCap when the image is displayed, so it avoids any chance of the box ending up saved (most people would not want that!).

Let's play this one by ear and see how it works out - it may be that the new correction is good enough that you don't need to crop, or that the effect is still visible enough to see when you look for it. It's only in a fairly narrow band of 'quality' of correction that this might be a problem.

cheers,

Robin
Gfischer
Posts: 328
Joined: Thu Jun 22, 2023 4:20 pm

Re: New Beta Update 4.2.14767

#18

Post by Gfischer »

Robin,

Sounds good. Looking forward to trying it.
Post Reply