It is currently Thu Jul 04, 2024 3:24 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: A script or plugin to remove backgrounds
PostPosted: Sun Jun 23, 2013 11:42 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Feb 25, 2013
Posts: 95
Location: Missouri
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


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Mon Jun 24, 2013 1:52 am  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4756
See the foreground selection tool or the scissors...

_________________
Image


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Mon Jun 24, 2013 3:02 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
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.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Mon Jun 24, 2013 4:02 am  (#4) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
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.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Mon Jun 24, 2013 4:06 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
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


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Mon Jun 24, 2013 5:54 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Feb 25, 2013
Posts: 95
Location: Missouri
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?


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Mon Jun 24, 2013 6:27 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
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


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Mon Jun 24, 2013 6:30 pm  (#8) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13068
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
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. ;)

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Mon Jun 24, 2013 7:00 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Feb 25, 2013
Posts: 95
Location: Missouri
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.


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Tue Jun 25, 2013 6:21 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
There are indeed countless ways, and tutorials available on how to do this in Gimp. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Sun Jun 30, 2013 6:02 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
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.


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Sun Jun 30, 2013 6:55 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
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

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Sun Jun 30, 2013 7:47 am  (#13) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4756
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.

_________________
Image


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Sun Jun 30, 2013 8:31 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
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.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Sun Jun 30, 2013 8:36 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
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.

_________________
Image


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Sun Jun 30, 2013 8:52 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
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.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Sun Jun 30, 2013 9:14 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
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 261 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)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Sun Jun 30, 2013 10:33 am  (#18) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
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


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Sun Jun 30, 2013 11:00 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
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.

_________________
Image


Top
 Post subject: Re: A script or plugin to remove backgrounds
PostPosted: Sun Jun 30, 2013 4:32 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
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

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts RPG backgrounds and critters

5

No new posts Looking for the Text Stamp Plugin/Script

4

No new posts Plugin or Script to bend/curve text

17

No new posts Script passes a 0 to the Displace plugin, and apparently it's an issue

0

No new posts Attachment(s) Calendar month and year plugin (script .scm) updated - modified

12



* Login  



Powered by phpBB3 © phpBB Group