mirror of
https://github.com/eddyem/CCD_Capture.git
synced 2026-03-20 00:31:04 +03:00
Add PointGrey Grasshopper support; fixed DATAMAX for 8- and 12-bit images
This commit is contained in:
@@ -74,6 +74,7 @@ static int camcapt(IMG *ima){
|
||||
*d++ = (uint16_t)((1 + sin((n+x) * M_PI/50)*sin((n+y) * M_PI/100))*32767.);
|
||||
}
|
||||
++n;
|
||||
ima->bitpix = 16;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user