Skip to content

rawproc 0.8.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@butcherg butcherg released this 11 Nov 19:26
· 1198 commits to master since this release

Even the smallest changes can have a big impact on the rest of the program. It turns out demosaic is rather dependent on the original orientation of the image, duh. That, in turn, exposed a few brittles about how I was handling image orientation. The resulting changes for 0.8.2 are really a bit of a hack, and for those who intend to use the demosaic tool, you need to not normalize image rotation at file open. demosaic will now do it for you after it's done its thing, so set input.orient=0. There are now three such properties, input.orient, display.orient, and output.orient, all 0|1, disable|enable. The other side effect I encountered is that crop and rotate get confused with an image whose orientation is not normalized, so you really need to normalize as soon as possible, either with input.orient=1 at file open or demosaic (hard-coded that one).

Other changes include:

  • Modification (again) of the rawdata clip loop; I finally just found what libraw does and coded it equivalently.
  • Histogram now stops plotting each channel when the data runs out, rather than 0s all the way to the display limit.
  • Help file updates were missing from 0.8; now they're there.
  • img didn't really do a good job with input parameters, so i fixed it so: 1) the property file's input.raw.parameters is loaded first; 2) the input.raw.libraw.* properties are loaded next, and finally 3) the command line input parameters are loaded last. Each of these loads will replace previously loaded parameters, so the command line trumps.