Manual bad pixel removal - General Help and Assistance on using CHDK stable releases - CHDK Forum

Manual bad pixel removal

  • 3 Replies
  • 3733 Views
*

Offline snapshot

  • *
  • 10
  • A620
Manual bad pixel removal
« on: 01 / September / 2014, 23:57:08 »
Advertisements
I'm not sure how to set this up.  I've downloaded to my computer show_bad.zip, but how do I use it?  Do I put it on the SD card with CHDK, and run in from my camera?  The CHDK 1.2.0 isn't too clear.

Thanks!
-

*

Offline reyalp

  • ******
  • 14125
Re: Manual bad pixel removal
« Reply #1 on: 02 / September / 2014, 00:33:40 »
I'm not sure how to set this up.  I've downloaded to my computer show_bad.zip, but how do I use it?  Do I put it on the SD card with CHDK, and run in from my camera?  The CHDK 1.2.0 isn't too clear.
show_bad.zip should contain an executable you would be used on your PC to generate a list of bad pixels. However, this tool is very old and only supports raw files for a few old cameras. Which camera do you have?

You can use chdkptp to generate a badpixel list from a dng file, see "Generating badpixel lists" https://www.assembla.com/spaces/chdkptp/wiki/DNG_Processing
Don't forget what the H stands for.

Re: Manual bad pixel removal
« Reply #2 on: 02 / September / 2014, 09:04:43 »
show_bad.zip should contain an executable you would be used on your PC to generate a list of bad pixels. However, this tool is very old and only supports raw files for a few old cameras. Which camera do you have?
The tools seems to use the same trick as dcraw - looking for at the RAW file size and matching that to predefined row & column dimensions.   

It would not be too hard to write a script to scrape all the platform_camera.h files for CAM_RAW_ROWPIX  & CAM_RAW_ROWS data and build a table covering every CHDK supported camera.  The tool could use that or could be upgraded to accept a camera name from the command line.

Is this worth any effort?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline snapshot

  • *
  • 10
  • A620
Re: Manual bad pixel removal
« Reply #3 on: 02 / September / 2014, 13:44:56 »
Thanks for the replies.

I thought there was a difference between badpixel.bin (for DNG) and Manual bad pixel removal (also DNG?).  So "Manual bad pixel removal" doesn't work with JPEG images?  Why would you use one over the other?

Camera - A620

 

Related Topics


SimplePortal © 2008-2014, SimplePortal