Ok, I have a camera that produces images with a dust spot in the same constant location regardless of anything.
If I've taken thousands of pictures with that camera, I figured I would be able to use
ImageMagick because of its batch capabilties... I can just write a script and be on my way.
I can usually remove the speck with a "heal tool" in gimp/photoshop,
but its something I can't batch because the "heal tool" relies on something
similar to that image to be able to blur with.
My question is, is there a command line switch to try and assist in removing
the dust spot on all my pictures? I tried -despeckle, but that won't remove
it as the dust spot is around 120x120 pixels. Any suggestions would be appreciated, attached is the picture:
Huge dust spot removal....
Huge dust spot removal....
Last edited by someprogr on 2009-03-22T09:59:03-07:00, edited 1 time in total.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Huge dust spot removal....
can you provide a picture with a more even background? there is a lot of color variation in this image.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Huge dust spot removal....
I would adjust the heat spot image, and divide it from originals.
I would take a number of photos of a white sheet of paper in good light, and average them together first. to remove other noise from the 'heat spot image'
there are a number of noise sources see...
http://www.guillermoluijk.com/article/n ... dex_en.htm
and look through it.
Also look at 'dark feild subtraction'
http://dpfwiw.com/c-2000z/low-light/ind ... processing
I would take a number of photos of a white sheet of paper in good light, and average them together first. to remove other noise from the 'heat spot image'
there are a number of noise sources see...
http://www.guillermoluijk.com/article/n ... dex_en.htm
and look through it.
Also look at 'dark feild subtraction'
http://dpfwiw.com/c-2000z/low-light/ind ... processing
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/