Black point is ~31 for 10 bit sensors and ~127 for 12 bit sensors.
void build_shot_histogram() // read samples from RAW memory and build an histogram of its luminosity... { // > 10bpp compatibility: discard the lowest N bits int shift = (camera_sensor.bits_per_pixel - 10); for (y = y0; y < y1; y += SHOT_HISTOGRAM_STEP ) for (x = x0; x < x1; x += SHOT_HISTOGRAM_STEP ) { p = get_raw_pixel(x,y) >> shift; shot_histogram[p]++; } }
I don't believe the G1X is a 10bit sensor.
Set this to enable dynamic Black Level calculation from RAW sensor dataE.G. G1X may use black = 2048 for long exposures at high ISO
Started by a710is Feature Requests
Started by Psychokitty « 1 2 » General Help and Assistance on using CHDK stable releases
Started by pizzicat General Chat
Started by shinnen « 1 2 » General Help and Assistance on using CHDK stable releases
Started by Mecoffe Creative Uses of CHDK