Point Grey GS3-U3-15S5M-C 2/3" Grasshopper-8 bit only?

Post Reply
Maxtrixbass
Posts: 1
Joined: Sun Jun 30, 2019 2:58 am

Point Grey GS3-U3-15S5M-C 2/3" Grasshopper-8 bit only?

#1

Post by Maxtrixbass »

I am able to get Sharpcap 3.2 to run my Point Grey grasshopper camera only in mono 8. The camera specs say its a 14 bit mono camera.If I pick raw 16 or mono 16 the display is a pure mess of pure black and white, no grey at all. If I pick 12 bit it freezes.

Is there something I am missing? Do all 14 bit cameras capture in 8 bit?? Is it a display problem, that is it is capturing 16 bit but my monitor won't display it correctly?

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

Re: Point Grey GS3-U3-15S5M-C 2/3" Grasshopper-8 bit only?

#2

Post by admin »

Hi,

Thanks for reporting this issue – I was unaware of it but I can certainly seem to reproduce at least part of it with the blackfly camera that I have to test with. The 12 bit mode also hangs for me. For me the 16 bit mode does give correct greyscales, but I find I often have two close down SharpCap and restart it to get the 16 bit mode to work. I'm sure used to work better than this – but it is quite a long time since I have done any work on the PGR cameras.

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

Re: Point Grey GS3-U3-15S5M-C 2/3" Grasshopper-8 bit only?

#3

Post by admin »

Hi,

I found some problems with the 12 bit mode not being handled correctly so I have removed 12 bit modes in the latest version - in theory the 16 bit mode should give the same results. I also made some other changes to the code that supports PGR cameras.

Please have another go with the very latest version in 16 bit and see if it is improved. If not, please send a screenshot and a single frame capture (FITS format) so I can investigate further.

thanks,

Robin
montru
Posts: 2
Joined: Sun Oct 25, 2020 1:34 pm

Re: Point Grey GS3-U3-15S5M-C 2/3" Grasshopper-8 bit only?

#4

Post by montru »

Hi,
unfortunately I have found the same problem now with a different model of GS3. Please note that the image is also flipped vertically in mono8, maybe it can help. I hope the material I have attached can help you finding the problem. It was not possible using full resolution because of limits in attachments' size. Thank you very much.
Bartolomeo
Attachments
Capture_00001.fits.zip
(434.62 KiB) Downloaded 178 times
Capture_00001.CameraSettings.txt
(606 Bytes) Downloaded 184 times
Capture_00001.Histogram.csv
(630.18 KiB) Downloaded 167 times
Screenshot (1).jpg
Screenshot (1).jpg (569.04 KiB) Viewed 9356 times
Screenshot (3).png
Screenshot (3).png (762.63 KiB) Viewed 9356 times
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Point Grey GS3-U3-15S5M-C 2/3" Grasshopper-8 bit only?

#5

Post by admin »

Hi,

thanks for including the image files – looking at those it makes it seem very likely that the problem is that the byte order is being reversed when you are using the high bit depth mode, so that the least significant byte of the pixel values being given the most significant position and vice versa.

I quickly wrote some code to swap the byte order back on the fits file that you uploaded and I get this image when I do that which looks reasonable
Capture.PNG
Capture.PNG (332.23 KiB) Viewed 9354 times
I will try to fix the byte order inside the camera handling code for the PGR cameras.

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

Re: Point Grey GS3-U3-15S5M-C 2/3" Grasshopper-8 bit only?

#6

Post by admin »

Hi,

this turned out to be a little more interesting than I thought – SharpCap already swaps the byte order when using 16-bit images from PGR cameras. This gives correct images for my Blackfly camera, but obviously is the wrong way round for your camera. I can't see any way to tell automatically from the camera information whether the byte swap is needed, so I am going to add a control for the user to be able to turn it on or off.

This will be in the next update of SharpCap 3.3, which you can find on the beta pages : viewtopic.php?f=38&t=3121

cheers,

Robin
montru
Posts: 2
Joined: Sun Oct 25, 2020 1:34 pm

Re: Point Grey GS3-U3-15S5M-C 2/3" Grasshopper-8 bit only?

#7

Post by montru »

It works great! Everything appears fine now. Thank you very much.
I confirm you that the right setting for GS3-U3-32S4M is OFF for byte swap order.
Bartolomeo
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Point Grey GS3-U3-15S5M-C 2/3" Grasshopper-8 bit only?

#8

Post by admin »

Hi,

Glad to hear that it worked. It's a shame that I can't seem to see any way to set this automatically though :(

Cheers, Robin
Post Reply