Creating Badpixel.bin

Hi, I am new to CHDK and need help. I hope this is the right place to post this, if not please advise or transfe it to the proper place.

I am using CHDK 1.3.0-4296 on an IR converted SD890is to shoot DNG version 1.1 files.

My problem is:Using the in camera "Create Badpixel.bin" results in a bad pixel count = 0 and the new Badpixel.bin is empty.Using show_bad_b.exe with a IMG_xxxx.crw on my PC also generates an empty Badpixel.bin.

I know the camera has a lot of bad pixels from the 2 JPG files generated when using in camera "Create Badpixel.bin". Furthermore all P&S have them by thousands.

Can someone help me so I can get everything properly setup to get best quality DNGs possible.

Hi, I am new to CHDK and need help. I hope this is the right place to post this, if not please advise or transfe it to the proper place.

I am using CHDK 1.3.0-4296 on an IR converted SD890is to shoot DNG version 1.1 files.

My problem is:Using the in camera "Create Badpixel.bin" results in a bad pixel count = 0 and the new Badpixel.bin is empty.Using show_bad_b.exe with a IMG_xxxx.crw on my PC also generates an empty Badpixel.bin.

I know the camera has a lot of bad pixels from the 2 JPG files generated when using in camera "Create Badpixel.bin". Furthermore all P&S have them by thousands.

Can someone help me so I can get everything properly setup to get best quality DNGs possible.

Can you upload a DNG version 1.3 file from this camera somewhere, using the same Canon firmware settings as you've used when you try to create badpixel.bin? The forum doesn't allow attachments that large, but you can use dropbox, google drive etc.

The bad pixel code looks for 0 values, which normally indicates pixels the canon firmware already knows are bad. It won't do anything about hot pixels. It's possible that this camera doesn't use 0, or that there is something camera setting which is preventing the badpixel code from working properly.

Thanks. Looking at the 1.3 DNG, there are in fact no 0 valued pixels, so from a CHDK POV, everything appears to be working correctly. This doesn't mean your sensor has no bad pixels (unlikely, as you say) but the kind of pixel badpixel.bin would deal with is not present in this image, so the 0 bad pixels is correct.

There are ~350 pixels with values below the nominal black level of 127, but it doesn't look to me like the camera is using a different value to mark "bad". There are none with a value less than 81, and the number increases with higher values, which is a pattern seen on other cameras. I wouldn't expect these to affect image quality much, but you could patch them with a manual badpixel list if you wanted.

I notice the exif says this was shot at ISO 400. It's possible that this camera will exhibit different behavior at other ISO values, for example at high ISO the cameras own processing might be doing something with the bad pixels. I would try at the lowest ISO (50 according to the specs, which is a bit unusual)

Examining the image in raw therapee, I only see a relatively small number of hot pixels, which CHDK badpixel.bin would not address anyway. Again, these could be addressed with manual badpixel removal.