Reason: I'm doing HDR panoramashots with a Sigma 8mm fisheye. And sometimes I have internal reflections of the lense in the image - namely outside the 180° field of view (see image).
Unfortunately the controlpoint detectors will gladly jump on those artifacts which makes automatic processing difficult.
So I decided to crop those images with ($1 = input image, $2 = output image)
Code: Select all
convert -quality 100% -size "$width x $height" xc:none -fill $1 -draw "translate $center_x $center_y circle 0,0 $center_y,0" $2
How to create a nice, 5-20 pixel wide gradient?
Bernd