Add PointGrey Grasshopper support; fixed DATAMAX for 8- and 12-bit images

This commit is contained in:
2023-02-03 09:57:35 +03:00
parent 5aed1d5955
commit 089370d276
13 changed files with 1810 additions and 1297 deletions

View File

@@ -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;
}