indigo-astronomy / indigo_imager

INDIGO Imager App
Other
9 stars 5 forks source link

Feature Request - Crosshairs on Capture page #2

Closed astroman68 closed 2 years ago

astroman68 commented 2 years ago

If possible, could you add a simple set of cross-hairs (maybe toggle off/on) in center of image on capture tab so drift can be more easily monitored during imaging? Thanks for your consideration.

rumengb commented 2 years ago

It can be done but I do not understand: Why do you need to monitor drift when you capture frames? Can you please be more specific? Like the one in the guider tab? Also can you give me an example use case for that?

astroman68 commented 2 years ago

Hi Rumen, sure...

With my setup, depending on where I am imaging in the sky, I get different amounts of object drift over long periods of time. Even while guiding (probably due to flexure, but just guessing). I use a C8 with Hyperstar (F1.9 390mm FL) and mostly take many sub 1min exposures (light polluted area). Guiding is usually good with 1" to sub 1" guiding, although I probably don't even need to guide. All that said, sometimes I can image for 2 hours or so and only see about 25px of drift ( not enough to adjust with 1931x1451 image), but other times I may get 100+ px drift in an hour. If I let it drift to far without making an adjustment, I end up having to crop the picture quite a bit to get rid of the areas along the edge that have poor data.

So, up to this point when using other software packages that had cross-hairs, I would turn it on and monitor the drift using either the center of the object (like M31 or M42) or some star somewhere in the middle. Then I would check it every now and then and if it drifts off by some amount, let say 50px, I would pause the session, bump the scope back over (or use solve and center) and continue the session. In ain_imager, I can do it with the mouse, find the center using the px reading in the top right, but that is a little tedious and it would be nice if I could just look at the preview with cross-hairs and immediately see the amount I have drifted. Another use case I have used them for is when doing a solve and center to quickly see if the solve/center routine was working well, or if, for whatever the reason, I was centering the view manually. Its just easier when looking at the screen from different angles (above when standing, from left or right when leaning) to see when something is centered.

Thanks again, hope this wasn't to long winded -- Stephen

rumengb commented 2 years ago

Hi Stephen, I can do that. Can you show me some software that has it so that I can see how it works?

astroman68 commented 2 years ago

Sure can, when I can get to my imaging PC's later today. In the mean time I have attached a couple of mock ups that basically show what I have seen in other packages. Also, if you have access to KStars/Ekos, you can look on the fits viewer that updates after each exposure that actually has both cross-hairs and a grid, if I remember right ( I personally haven't found the grid useful, but I suppose others might find it helps to compare star roundness around the image). I've used probably 5 different packages and they are all basically the same. Some just have a cross, some can toggle an X shape, some with a small circle in the middle, some with a couple circles, etc. For me, In the end, just knowing where the center is is good enough, even if it were just a red 5x5px dot ;-)

ain_imager-example-lines ain_imager-example-circle .

rumengb commented 2 years ago

Got it! Will add it in the TODO! Do you need it to be in the center only or you want to move it?

astroman68 commented 2 years ago

Center only is fine with me. Can't think of a reason why I would need to move it.

astroman68 commented 2 years ago

Examples I promised in case they are helpful. These are from Ekos, Sequence Generator Pro and SharpCap ekos-cross-hair-example SharpCap-cross-hair-example tent.com/83990821/139960190-7ba4236b-d8d3-48c9-af59-dfa9735fafa8.JPG) SGP-cross-hair-example .

rumengb commented 2 years ago

Fixed with commit 0d27a7fb703436c1c624fbfcd300a4225a85cc4f

Will be publicly available with the next release.

image

astroman68 commented 2 years ago

Awesome! Thanks again.

rumengb commented 2 years ago

It is toggled by "Settings->Show image center" and will be shown everywhere except Focus and Guide tabs. I think it makes sense for Telescope, Solver and Capture but not for Focus. Actually Guide uses the same crosshairs to show the reference position and is shown only while guiding and it is not in the center.