Huge dust spot removal....

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
someprogr

Huge dust spot removal....

Post by someprogr »

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:
Last edited by someprogr on 2009-03-22T09:59:03-07:00, edited 1 time in total.
someprogr

Re: Huge dust spot removal....

Post by someprogr »

Image
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Huge dust spot removal....

Post by fmw42 »

can you provide a picture with a more even background? there is a lot of color variation in this image.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Huge dust spot removal....

Post by anthony »

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
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
jjimmy016
Posts: 1
Joined: 2011-07-22T05:17:13-07:00
Authentication code: 8675308

Re: Huge dust spot removal....

Post by jjimmy016 »

thanks dud this is such a nice info. :)
Post Reply