Hello Robin,
Thanks for the info.
I tested it ... but it produces an error or a crash (with report).
I will summarise later.
Jean-Francois
View with center and corners
Forum rules
'+1' posts are welcome in this area of the forums to indicate your support for a particular feature suggestion. Suggestions that get the most +1's will be seriously considered for inclusion in future versions of SharpCap.
'+1' posts are welcome in this area of the forums to indicate your support for a particular feature suggestion. Suggestions that get the most +1's will be seriously considered for inclusion in future versions of SharpCap.
-
Jean-Francois
- Posts: 858
- Joined: Sun Oct 13, 2019 10:52 am
- Location: Germany
-
Jean-Francois
- Posts: 858
- Joined: Sun Oct 13, 2019 10:52 am
- Location: Germany
Re: View with center and corners
Hello Robin,
Yes, it works. Many thanks.
I tested several combination ... at the end I found one without a crash.
Now with the full resolution and 1x1 binning the memory use stays by 1.5 to 1.7 GB.
Very good, I will tomorrow write a short notice and upload the last version
Regards,
Jean-Francois
Yes, it works. Many thanks.
I tested several combination ... at the end I found one without a crash.
Code: Select all
if (colour_space == 'MONO16' or colour_space == 'RAW16'):
frame1 = args.Frame.ChangeBitDepth(8)
frame2 = frame1.DisplayTransform(stretch)
frame = frame2.GetFrameBitmap()
frame2.Release()
frame1.Release()
else:
frame1 = args.Frame.DisplayTransform(stretch)
frame = frame1.GetFrameBitmap()
frame1.Release()Very good, I will tomorrow write a short notice and upload the last version
Regards,
Jean-Francois
-
Jean-Francois
- Posts: 858
- Joined: Sun Oct 13, 2019 10:52 am
- Location: Germany
Re: View with center and corners
Hello,
I add some additional function in my script.
It is now possible to change the black and white level with the mid-point.
It behaves similar as the SharpCap mini histogram.
It is 3 single linear sliders. That is not optimal, maybe the view will be odd with a different monitor resolution and Windows scaling.
If you have a problem, please upload a small image part.
Other feature ... it is possible to save the image (jpeg, png, tiff or bmp ... sorry no FITS or a film).
The files are in this ZIP file. Copy it and unzip it where you want.
Please read the short description in the PDF before use.
So here what you can have:
In addition ... if you left-click on the centre of the image and then move the mouse with the left button pressed, then you can scan the image.
The view is reset when you release the mouse button.
Regards,
Jean-Francois
I add some additional function in my script.
It is now possible to change the black and white level with the mid-point.
It behaves similar as the SharpCap mini histogram.
It is 3 single linear sliders. That is not optimal, maybe the view will be odd with a different monitor resolution and Windows scaling.
If you have a problem, please upload a small image part.
Other feature ... it is possible to save the image (jpeg, png, tiff or bmp ... sorry no FITS or a film).
The files are in this ZIP file. Copy it and unzip it where you want.
Please read the short description in the PDF before use.
So here what you can have:
In addition ... if you left-click on the centre of the image and then move the mouse with the left button pressed, then you can scan the image.
The view is reset when you release the mouse button.
Regards,
Jean-Francois