removing background

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
sin
Posts: 46
Joined: 2011-04-23T11:06:13-07:00
Authentication code: 8675308

removing background

Post by sin »

Hi,

Is it possible to remove background(unKnown background)???
Also, Please tell me the command for background subtraction and explain it(in detail) plzz.......!!!!!!!!!!!!
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: removing background

Post by anthony »

you can not remove an unknown background. background remove involves trying to decide what is background and what is not! Some educated guesses can be made but only on a case by case basis. And in cases of complex backgrounds it can be impossible to achieve except by hand.

Background Removal methods are shown in IM examples, Masking, Background removal

http://www.imagemagick.org/Usage/masking/#bg_remove
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply