Well then, here it is.
As announced, the program is now able to handle multiple camera types and you can easily add new resolutions for dot removal. This build ships with support for the following 650D image types:
* Silent DNGs taken in photo mode
* Silent DNGs taken in video mode
* RAW video frames with 1152, 1280, 1344, 1472, 1600 and 1728 pixels width and an aspect ratio of 16:9, 1.85:1, 2:1, 2.2:1, 2.35:1, 2.39:1, 2.5:1, 2.67:1 or 3:1
Beware: I have only verified the silent DNGs, 16:9 and 2.35:1 with real footage (except for 1152 width). The pink dot locations for all other modes are only
calculated and
not verified. Due to rounding, they sometime might be off by one pixel and then the whole dot removal doesn't work anymore.
If you've used one of these non-verified modes and it proved to work, please drop me a line. Then we can tick that one off as "verified".
Here's the binary:
https://dl.dropboxusercontent.com/u/22843507/MagicLantern/PinkDotRemover__006.zipIn the GUI, you'll notice a new drop-down box for the selection of the camera model. The default is 650D. If you're using the tool on the command line, you can only process 650D images -- there are no means to choose the cam type on the command line.
The database is not yet filled with real EOS M data yet, but that should come soon.
Since I coded all the new functionality quite in a rush, the code quality suffered a bit. I did not much testing and even less commenting. The "Happy Path" through the program should work quite alright, though. Let me know if you encounter problems.
The source code is now hosted on GitHub:
https://github.com/Foorgol/PinkDotRemoverhttps://github.com/Foorgol/SimpleTIFFlibhttps://github.com/Foorgol/LoggingLibEnjoy!