I wasn’t very helpful with my answer to @xaos52. If he is still following, it is possible to name the output without the
-O option. I would use
-c Write image data to standard output
and then redirect it to a file.
@snibgo Thanks for your thoughts. I liked the way you included a diff file for your custom dcraw so that we know what you changed. Also, I think 0.01% is a good clipping level, but as you mentioned, considering the other channels would be a good idea. Personally, I prefer unbounded output.
I was like that when trying to learn a second language . What I meant was that, in my perspective, the long form is only slightly less cryptic than the shorthand; I have to look up the commands anyway. However, in your case, it is harder to skim and provide feedback . I liked the way @garagecoder added comments next to the code. I will try to do that next time.
Good: that is how I have been approaching the problem, although I am still unsure how SD works. E.g., where does 0.3-0.6 come from? Is this related to the 68–95–99.7 rule?
@David_Tschumperle Looks like you have changed
std_deviation. It makes sense now. Would it also be appropriate to make this adjustment in the stdlib? One followup question is where does
radius = 3.5 x std_deviation come from? Is
3.5 a constant or a variable? Also, does
new_std = max(width,height,depth)*std_%/100 mean “percentage of max dimension multiplied by standard deviation”?
One related question to everyone is what is the definition of radii wrt to the filter kernel? E.g., what is the width of the actual window when radius=2?