It is currently Wed Jun 03, 2026 11:31 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 256 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 13  Next
Author Message
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 9:53 am  (#81) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
YAFU : Thanks for the suggestion.
I've added a new output mode : "RGBA Background + foreground" that does what you want.
I've also added more different viewing modes with the 'TAB' key, now you can be able to see also the inverted extraction mask, to easily see
if there are foreground pixels that remains in the background.


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 9:55 am  (#82) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
Is this a refresh addition David or a different plug-in?

_________________
Image


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 10:17 am  (#83) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Just a refresh is necessary this time :)


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 10:17 am  (#84) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
Thanks David.
Here is my try on the cheetah, I bumped up the feathering a bit.
Image

_________________
Image


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 10:30 am  (#85) 
Offline
GimpChat Member
User avatar

Joined: Nov 09, 2011
Posts: 726
Thanks David, that was fast!

Background extraction speeds up the task when for example you only want to apply some blur effect in the background:
Image

And this is wonderful, only two control points were needed!
Image

_________________
Image
Be patient, English is not my language.


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 10:37 am  (#86) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
It is shaping into the best extraction tool I've seen so far.


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 11:00 am  (#87) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Nice result YAFU !
I admit I'm quite surprised by the relative efficiency of this extraction tool. I didn't realize that it could work so well when I've started it :)


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 11:38 am  (#88) 
Offline
GimpChat Member
User avatar

Joined: Mar 15, 2014
Posts: 115
Location: Brooklyn, NY
Image
Sailors and Soldiers Memorial Arch, Grand Army Plaza, Brooklyn, an edifice not far from my home, which started rising above the trolley tracks in October, 1892 and was topped off with Lady Columbia in December, 1898. The soldiers and sailors (other side) didn't arrive until April, 1901, finishing the piece. It's Brooklyn's answer to the Arc de Triomphe, not that the Arc de Triomphe needed an answer, or even had asked for one, but such procedural trivialties have never stopped Brooklynites before.
Pulled from git after the Monday 11:46 (CET +02:00) commit, so I had the X event flush fix.
Pretty much effortless. I zoomed and panned and tried to break stuff. I found that - generally - only one hint dot is needed for each contiguous region (fore/background), so one background dot for the big sky and under the arch, one foreground dot for the arch, carved out about 95% of the mask needed. What kicked the dot count up to around 15 or so were all of the little discontinuous regions which Lady Columbia and her party carved out of the sky, so each little sky patch under the chariot and figures needed to be designated as background. The other spot that ate up a lot of hint dots is the sliver of sunlight falling in on the left hand side of the inner arch. The pale yellow of the stone is chromatically close to the pale greenish cyan of the sky, so a six or seven zig-zag of "This is the arch! (foreground)", "This is the sky! (background)" were needed before the local figure/ground relationship straightened out. I made this mask at 1X, which is not my usual habit; I usually like to work with 4X - 8X images, but this machine is for experimental/dangerous code and is a bit memory constrained at the moment. A larger image, and one, perhaps, that is actually an auxiliary "helper image," chromatically supersaturated via G'MIC's -orientation command, perhaps (chroma only; flattened luminance and saturation), would have permitted the creation of a mask with fewer hints. Maybe. That is something to play with. I also, (for what its worth), used the gmic command tool and -x_segment directly, which launches pretty much the same workflow as that in gimp-gmic plug-in land. When working with gmic directly, however, I have to tie a string around my finger and remember to normalize the alpha-mask to 0,255 before dumping off the image list, but that's a standard gmic thing.
Workflow comment. If this tool didn't exist, I'd have made a high contrast luminance mask and would have been retouching it a bit. Maybe twenty minutes or a half hour. I think here, I had the starting point for a good mask in easily five minutes. Allow, say, a generous ten minutes for post-production tweeking. So I think I'm out of the gate in half the time.
For something that was termed an "unmagical (dumb) algorithm," on the Google+ announcement, it seems pretty slick.
To celebrate, maybe I'll send you this little bit of Brooklyn bombasity as a postcard. I think its about the right size.

GRO


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 2:10 pm  (#89) 
Offline
GimpChat Member
User avatar

Joined: Apr 22, 2010
Posts: 126
Ronounours wrote:
I've done a small video to show all the improvements I've made these last days on this filter :

www.youtube.com Video from : www.youtube.com


It should be really easier to use. By the way, if you want to test the new version, you have to install the latest binaries of 1.6.0.1_beta,
posted today (at : https://sourceforge.net/projects/gmic/files/beta/).


I would like to thank you for the new filter, which will surely be helpful. :tyspin
Ronounours add to video keyboard shortcuts for example key-mon :pengy

_________________
Image


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 8:36 pm  (#90) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4826
Location: Bendigo Vic. Australia
Here are the Windows 64bit files
download from here http://gmic.eu/

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Last edited by Graechan on Tue Sep 16, 2014 6:04 pm, edited 1 time in total.

Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 9:41 pm  (#91) 
Offline
GimpChat Member

Joined: Jul 11, 2010
Posts: 349
Graechan wrote:
Here are the Windows 64bit files



I tried your 64-bit version but got a "no preview available" error. I tried it with samj's latest, 2.8.11[hatti's], and a 2.8.4. All portables on Win7x64

First time I tried gmic 1.6.0.1, so it may be me.


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 9:48 pm  (#92) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4826
Location: Bendigo Vic. Australia
Worked fine for me,are you sure you loaded all the files except maybe zlib1.dll

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 9:53 pm  (#93) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
Thanks G!
Works fine, new bg+fg output mode is available after refreshing.
Whose compile?

@bilbo the usual Preview window is not supposed to show anything, click OK or Apply to open a new big interactive window.
You need to watch Ronounours videos


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 9:59 pm  (#94) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4826
Location: Bendigo Vic. Australia
K1TesseraEna the compile is mine

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 10:39 pm  (#95) 
Offline
GimpChat Member

Joined: Jul 11, 2010
Posts: 349
My error. got it to work in 2.8.4 but an new error in samj's 2.8.15 latest, but I don't belive it has anything to do with the build. Thank you very much Graechan for the build and all the other help that you provide!


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 10:45 pm  (#96) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4826
Location: Bendigo Vic. Australia
bilbo 2.8.14 and15 both came from a dubious GIT release, but I'm sure it should still work in these

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 11:16 pm  (#97) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4826
Location: Bendigo Vic. Australia
Just tried in 2.8.15 and tested OK
Image

Image

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Mon Sep 15, 2014 11:47 pm  (#98) 
Offline
GimpChat Member

Joined: Jul 11, 2010
Posts: 349
Graechan wrote:
Just tried in 2.8.15 and tested OK


I am using samj's portable version. Were you using an installed version?


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Tue Sep 16, 2014 12:08 am  (#99) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4826
Location: Bendigo Vic. Australia
The Images above were from samj's portable version, not using the installed version of Gmic
You have to replace all of Samj's Gmic 1601 files with the files I posted, the reason for this is Samj compiled 1601 before Ronounours Implemented the Smart foreground extraction tool

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: [G'MIC] Smart foreground extraction tool
PostPosted: Tue Sep 16, 2014 2:07 am  (#100) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Thanks Graechan !
I'll post your archive on the G'MIC web site too.


Top
Post new topic Reply to topic  [ 256 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 13  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group