GIMP Chat
http://gimpchat.com/

A script or plugin to remove backgrounds
http://gimpchat.com/viewtopic.php?f=9&t=7647
Page 1 of 2

Author:  spunkygurl80 [ Sun Jun 23, 2013 11:42 pm ]
Post subject:  A script or plugin to remove backgrounds

I'am looking for a script or a plugin to remove backgrounds from pictures.

The paths tool is really difficult to use. I usually use the eraser and magic wand. You can only do so much with those tools. A script or a plugin would be helpful.

I don't know, if there is any out there or not.

Any help is appreciated.
Thank you

Author:  ofnuts [ Mon Jun 24, 2013 1:52 am ]
Post subject:  Re: A script or plugin to remove backgrounds

See the foreground selection tool or the scissors...

Author:  Rod [ Mon Jun 24, 2013 3:02 am ]
Post subject:  Re: A script or plugin to remove backgrounds

spunkygurl80 wrote:
I'am looking for a script or a plugin to remove backgrounds from pictures.

The paths tool is really difficult to use. I usually use the eraser and magic wand. You can only do so much with those tools. A script or a plugin would be helpful.

I don't know, if there is any out there or not.

Any help is appreciated.
Thank you


There is another plug-in named LASO but it works similarly as the selection tool.
However there is another GIMP version by RGGJAN that has a new foreground select tool with transparency selections.This was never released except for Parthas version you can find at his website here.
http://www.partha.com/
It is in the left menu at the bottom. ( Gimp - RGGJAN Fork ) Select your bit version either 32 or 64 bit.
It works very well.
Onkel Hatti released a version of Gimp-2.8.5 which contains both the old and newer fg select tools.You can find that here.
http://sourceforge.net/projects/gimp-pa ... kel_Hatti/ The newer tool is named the MATTING tool.
This is a screen shot of Onkels version.
Image

Before selection
Image

After selection
Image

No clue as to why this new fg color select tool was never added to the devs list of priorities.

Author:  saulgoode [ Mon Jun 24, 2013 4:02 am ]
Post subject:  Re: A script or plugin to remove backgrounds

Rod wrote:
No clue as to why this new fg color select tool was never added to the devs list of priorities.

Someone would need to recode the tool in C (it is written in C++) before it could be accepted as part of the Gimp project.

Author:  K1TesseraEna [ Mon Jun 24, 2013 4:06 am ]
Post subject:  Re: A script or plugin to remove backgrounds

Rod wrote:
No clue as to why this new fg color select tool was never added to the devs list of priorities.



It's not on their list of priorities because it is already WIP and shows under
Expected availability of developed features for 2.10. ;) http://wiki.gimp.org/index.php/Roadmap

Author:  spunkygurl80 [ Mon Jun 24, 2013 5:54 pm ]
Post subject:  Re: A script or plugin to remove backgrounds

Rod wrote:
spunkygurl80 wrote:
I'am looking for a script or a plugin to remove backgrounds from pictures.

The paths tool is really difficult to use. I usually use the eraser and magic wand. You can only do so much with those tools. A script or a plugin would be helpful.

I don't know, if there is any out there or not.

Any help is appreciated.
Thank you


There is another plug-in named LASO but it works similarly as the selection tool.
However there is another GIMP version by RGGJAN that has a new foreground select tool with transparency selections.This was never released except for Parthas version you can find at his website here.
http://www.partha.com/
It is in the left menu at the bottom. ( Gimp - RGGJAN Fork ) Select your bit version either 32 or 64 bit.
It works very well.
Onkel Hatti released a version of Gimp-2.8.5 which contains both the old and newer fg select tools.You can find that here.
http://sourceforge.net/projects/gimp-pa ... kel_Hatti/ The newer tool is named the MATTING tool.
This is a screen shot of Onkels version.
[ Image ]

Before selection
[ Image ]

After selection
[ Image ]

No clue as to why this new fg color select tool was never added to the devs list of priorities.



This script only runs on 2.8 not 2.6.12?

Author:  Esper [ Mon Jun 24, 2013 6:27 pm ]
Post subject:  Re: A script or plugin to remove backgrounds

in my opinion, asking for a script to remove background is a misconception
because it depends largely on the kind of background

there are countless tutorials on youtube that show how to render pictures
and there are countless methods to achieve that goal, depending on what you are working with

for example rendering hair is quite difficult, you cannot really do that with the lasso/path tool

so there are rendering methods with channels, filters (ChrisF just posted one), layermasks, different tools like the foreground selection tool or the color removal mode for the brush tool
i dont think there is one universal tool/technique that can do it all everytime
its an art

and having the right picture is quite essential as well
so when you shoot the picture yourself, make sure you have good lighting, contrast and a white background
will make the job much easier

Author:  Wallace [ Mon Jun 24, 2013 6:30 pm ]
Post subject:  Re: A script or plugin to remove backgrounds

Esper wrote:
in my opinion, asking for a script to remove background is a misconception
because it depends largely on the kind of background

there are countless tutorials on youtube that show how to render pictures
and there are countless methods to achieve that goal, depending on what you are working with

for example rendering hair is quite difficult, you cannot really do that with the lasso/path tool

so there are rendering methods with channels, filters (ChrisF just posted one), layermasks, different tools like the foreground selection tool or the color removal mode for the brush tool
i dont think there is one universal tool/technique that can do it all everytime
its an art

and having the right picture is quite essential as well
so when you shoot the picture yourself, make sure you have good lighting, contrast and a white background
will make the job much easier


I agree with 'Esper' on this one. ;)

Author:  spunkygurl80 [ Mon Jun 24, 2013 7:00 pm ]
Post subject:  Re: A script or plugin to remove backgrounds

Esper wrote:
in my opinion, asking for a script to remove background is a misconception
because it depends largely on the kind of background

there are countless tutorials on youtube that show how to render pictures
and there are countless methods to achieve that goal, depending on what you are working with

for example rendering hair is quite difficult, you cannot really do that with the lasso/path tool

so there are rendering methods with channels, filters (ChrisF just posted one), layermasks, different tools like the foreground selection tool or the color removal mode for the brush tool
i dont think there is one universal tool/technique that can do it all everytime
its an art

and having the right picture is quite essential as well
so when you shoot the picture yourself, make sure you have good lighting, contrast and a white background
will make the job much easier



I'm talking mostly of backgrounds with pictures in the back of them. For example, a person standing in front of building with flowers. You just want to remove the background.
Of course, if the background was a solid color, it would be alot easier to work with.

Author:  Rod [ Tue Jun 25, 2013 6:21 am ]
Post subject:  Re: A script or plugin to remove backgrounds

There are indeed countless ways, and tutorials available on how to do this in Gimp. :)

Author:  Nidhogg [ Sun Jun 30, 2013 6:02 am ]
Post subject:  Re: A script or plugin to remove backgrounds

I don´t get why path tool is so popular for bg extraction, polygonal selection tool is easier and faster imho.

If You´re searching for a free solution, You could try GML matting 0.3 with PSPI plugin. You can still find GML matting free version online. The new shareware version is called GrowCut.
Can´t guarantee compatibility with Gimp though, have used it with older version of Photoshop only.

ShellOut + Vertus Fluid Mask is unbeatable combination for complex extraction.

Author:  Rod [ Sun Jun 30, 2013 6:55 am ]
Post subject:  Re: A script or plugin to remove backgrounds

I use GrowCut and it does work with my Gimp-2.8.4.
I have not tried in Gimp-2.8.7 yet. :)

Screenshot.
Image

Author:  ofnuts [ Sun Jun 30, 2013 7:47 am ]
Post subject:  Re: A script or plugin to remove backgrounds

Nidhogg wrote:
I don´t get why path tool is so popular for bg extraction, polygonal selection tool is easier and faster imho.


Not that popular really. But it's unbeatable for man-made objects so professionals use it a lot.

Author:  Rod [ Sun Jun 30, 2013 8:31 am ]
Post subject:  Re: A script or plugin to remove backgrounds

Actually i like using RGGJAN's FG select tool more than GrowCut. It's way easier, and faster to get nice results.
I was real happy to see Onkel include it with his Gimp-2.8.7 build.

Thank you Onkel.

Author:  The Warrior [ Sun Jun 30, 2013 8:36 am ]
Post subject:  Re: A script or plugin to remove backgrounds

Rod wrote:
I use GrowCut and it does work with my Gimp-2.8.4.
I have not tried in Gimp-2.8.7 yet. :)

Screenshot.
[ Image ]

Installed Growcut, but can't find it once I open GIMP.

Never mind. I installed a version that no longer works, apparently.

Author:  Rod [ Sun Jun 30, 2013 8:52 am ]
Post subject:  Re: A script or plugin to remove backgrounds

The Warrior wrote:
Rod wrote:
I use GrowCut and it does work with my Gimp-2.8.4.
I have not tried in Gimp-2.8.7 yet. :)

Screenshot.
[ Image ]

Installed Growcut, but can't find it once I open GIMP.

Never mind. I installed a version that no longer works, apparently.


You need to install the plugin and set a PATH with PSPI. (Filters>Photoshop-Plugin-Settings)
After install you will find it under Filters>iPhotosoft>GrowCut
A window will open for your reg key info.Add that and restart GrowCut.

Remember GrowCut only works on images with an alpha channel.

Author:  Rod [ Sun Jun 30, 2013 9:14 am ]
Post subject:  Re: A script or plugin to remove backgrounds

GML Matting is an older version of GrowCut and after install will be located here
Filters>GML>GML Matting and needs an alpha channel to work also.

I attached the exe in a zip for you.
Attachment:
GMLMatting0.3_setup.zip [2.01 MiB]
Downloaded 262 times

It will install auto to program files and give you a check box for other. Select other and install where your photoshop 8BF files are located for GIMP.
OR install in XnView plugins folder and use shellout.

Image
Both GrowCut and GNL Matting work in Gimp-2.8.4 (Parthas installed build)

Author:  Esper [ Sun Jun 30, 2013 10:33 am ]
Post subject:  Re: A script or plugin to remove backgrounds

Nidhogg wrote:
I don´t get why path tool is so popular for bg extraction, polygonal selection tool is easier and faster imho.
you cant change the nodes of the lasso tool after you clicked

what i dislike about the path Tool in Gimp is that the nodes have become too big
i think they changed that in 2.8
the nodes were smaller in 2.6 if i remember correctly

Author:  The Warrior [ Sun Jun 30, 2013 11:00 am ]
Post subject:  Re: A script or plugin to remove backgrounds

Rod wrote:
The Warrior wrote:
Rod wrote:
I use GrowCut and it does work with my Gimp-2.8.4.
I have not tried in Gimp-2.8.7 yet. :)

Screenshot.
[ Image ]

Installed Growcut, but can't find it once I open GIMP.

Never mind. I installed a version that no longer works, apparently.


You need to install the plugin and set a PATH with PSPI. (Filters>Photoshop-Plugin-Settings)
After install you will find it under Filters>iPhotosoft>GrowCut
A window will open for your reg key info.Add that and restart GrowCut.

Remember GrowCut only works on images with an alpha channel.

I understand, I have several Photoshop plugins installed. I found what looked to be a free version, but it didn't work at all. I downloaded the trial version, and it works fine. I also have had GML Matting. Thanks for the heads up anywhos, appreciate it.

Author:  Rod [ Sun Jun 30, 2013 4:32 pm ]
Post subject:  Re: A script or plugin to remove backgrounds

Esper wrote:
Nidhogg wrote:
I don´t get why path tool is so popular for bg extraction, polygonal selection tool is easier and faster imho.
you cant change the nodes of the lasso tool after you clicked

what i dislike about the path Tool in Gimp is that the nodes have become too big
i think they changed that in 2.8
the nodes were smaller in 2.6 if i remember correctly


I hear you. I wish there were a way to make those nodes smaller also. :bigthup

Page 1 of 2 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/