Are .cr2 images compressed? If not I could probably parse the raw myself in script. Ideally I could read a raw buffer directly.
#define SHOT_HISTOGRAM_STEP 31
The code is here https://github.com/c10ud/CHDK/blob/master/core/shot_histogram.c
Ideally it should count only the active area, but I haven't completely figured out where exactly it's counting. Ideally also it should compensate for black level. If I fix that up, could I submit a patch?
Btw, I have no hot pixels, is that unusual?
dcraw -D -b 1 -T IMG_6909.CR2 6909.tif
I've been doing these experiments, but I'll talk about it more in a noise thread:dark frame, 10 degrees ccd temp, 16 minutes exposuredark frame, 40 degrees ccd temp, 8 minutes exposure
Also, the create badpixels.bin thingy reports 0 bad pixels.
AFAIK some newer cameras handle badpixels differently and report none with this method. There is no chance that a multi-megapixel consumer sensor would actually have zero bad pixels.
I had to use an area because I noticed some light leakage.
These were from the Canon .cr2 files, the DNG from CHDK doesn't work.
Started by fudgey MX3's (motion detection) Builds
Started by kostic General Discussion and Assistance
Started by mlietchnyipout General Discussion and Assistance
Started by Atnas « 1 2 » Script Writing
Started by Jimbeamrye RAW Shooting and Processing