It is currently Tue Aug 11, 2026 10:00 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Tue Jun 03, 2014 2:51 pm  (#21) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
Thanks David, thanks Andy!

I tried again (after updating) on the same image (as -I suppose- you too did).
Output is certainly a lot better, still not as expected, as you will have noticed.
Some smooth transition between modified areas is probably required, as well as the removal of the shadows of the two animals, as requested by the red mask.

Anyhow, thanks for the quick improvement.

Attachment:
somebetter.png
somebetter.png [ 971.48 KiB | Viewed 1783 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Tue Jun 03, 2014 2:58 pm  (#22) 
Offline
GimpChat Member
User avatar

Joined: May 27, 2011
Posts: 707
This is all I get:

Image

No idea why


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Tue Jun 03, 2014 3:16 pm  (#23) 
Offline
GimpChat Member

Joined: Sep 24, 2012
Posts: 275
Location: Scotland
Ah yes pirate541, that's almost certainly a flaw in the filter (so not your PC don't worry!). As I say we're trying to figure out alternate methods for this, I'm already thinking it through :keybdtype


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Tue Jun 03, 2014 3:22 pm  (#24) 
Offline
GimpChat Member
User avatar

Joined: May 27, 2011
Posts: 707
Thank You garagecoder :hi5


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Tue Jun 03, 2014 3:29 pm  (#25) 
Offline
GimpChat Member
User avatar

Joined: Jan 10, 2013
Posts: 863
Pirate541
That was what I got.
I thought it was due to my old version.

Updated and the preview showed the changes and it worked well. :yes

But I try the new option that adjusts the size of the preview and now I can not use more G'MIC. :hoh

Updated the G'MIC, but the screen is too big, and not re-scales to get smaller.
Image
Can apply no effect, the save button is not visible. :gaah
Anyone have any tips how to solve this?

Thx

_________________
bbbbbbbbbbbImage
bbbbbbbbbbb Be patient, English is not my language.


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Tue Jun 03, 2014 3:40 pm  (#26) 
Offline
GimpChat Member

Joined: Sep 24, 2012
Posts: 275
Location: Scotland
Hah oh dear Akros everything goes wrong today :crash
I did read somebody else with the preview problem fixed it by changing preview to a small size, then minimized gimp. I hope this works for you!

Edit: you might also need to first open an image which is wider than tall.


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Tue Jun 03, 2014 3:52 pm  (#27) 
Offline
GimpChat Member
User avatar

Joined: Jan 10, 2013
Posts: 863
garagecoder wrote:
Hah oh dear Akros everything goes wrong today :crash
I did read somebody else with the preview problem fixed it by changing preview to a small size, then minimized gimp. I hope this works for you!

Edit: you might also need to first open an image which is wider than tall.

:ninja :ninja
Figured out how to re-use the G'MIC. :jumpclap
I opened another very small image, and therefore the preview was also small.
I was able so reverse the large size of the preview to normal.
And everything is back to normal. :yes

Unfortunately, the Large option in the preview is impossible for me. But as I had never used this option before, this restriction will not feel much. :cool

Now I can continue testing what's new. :hehe

Thx garagecoder! :tyspin :bigthup

_________________
bbbbbbbbbbbImage
bbbbbbbbbbb Be patient, English is not my language.


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Tue Jun 03, 2014 4:10 pm  (#28) 
Offline
GimpChat Member
User avatar

Joined: May 27, 2011
Posts: 707
Akros
The image I posted was after I updated Gmic


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Tue Jun 03, 2014 4:56 pm  (#29) 
Offline
GimpChat Member
User avatar

Joined: Jan 10, 2013
Posts: 863
pirate541 wrote:
Akros
The image I posted was after I updated Gmic

Hummm....
Before upgrading, I had the same kind of images with this filter.
With this version 1.5.9.1, the filter works without problems.

P.S:
Pirate541,
But your version is 1.5.8.3 , not much different from my previous version.
Does anyone with older versions can use this filter?

_________________
bbbbbbbbbbbImage
bbbbbbbbbbb Be patient, English is not my language.


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Wed Jun 04, 2014 12:12 pm  (#30) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
Hi David, hi Andy.
I post here the results of some other experiments made by me.
As you know, I consider this filter very useful, and I use in my image photo manipulations.
Because I noticed some "strange" behaviour when enlarging the photo by preserving primary subject, I decided to perform that function using a particular input, able to magnify the effects: a checkerboard.
For all my experiments I used an enlargement factor of 150% (width).
I selected a small area which I wanted to "preserve" (using green mask).
To distinguish clearly the area to be preserved I filled it witha different pattern.
As you can see from the attachments, the area is always well preserved, but the enlargement of the squares all around occurs with a really strange behaviour.
Particularly on the left side, and this irrespective from the fact that the area to be preserved be more centre-towards-right or centre-towards-left.
I attach here:
- input and output with preserved area towards right
- input and output with preserved area towards left (name have suffix L)
Everything in one folder, zipped.
Sorry to give you additional efforts, but I guess an amendment should be done on the implementation.
Thanks

Attachment:
seamcarve-new-tests.7z [598.02 KiB]
Downloaded 106 times


PS: it seems the problems lies on the enlargement technique, even w/o areas to preserve

_________________
"Where am I ?"


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Wed Jun 04, 2014 12:25 pm  (#31) 
Offline
GimpChat Member

Joined: Sep 24, 2012
Posts: 275
Location: Scotland
Actually with that type of image this is expected, because the gradient is almost constant the seams will simply be vertical over nearly the whole area (so there is nothing to choose one seam over another). I have thought about alternating seams which would at least produce symmetrical stretching, depending on how tricky it becomes I might be able to add that too. Thanks again for trying this out :)


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Wed Jun 04, 2014 12:46 pm  (#32) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
OK, I understand, but I put that image to magnify the effect; something very similar occurs also with any of my "normal" images; the left side is "abnormally" enlarged, compared with the rest of the image

_________________
"Where am I ?"


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Wed Jun 04, 2014 1:08 pm  (#33) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
please, have a look at this new example (normal picture)

Attachment:
inp-new.jpg
inp-new.jpg [ 255.77 KiB | Viewed 1685 times ]


Attachment:
out-new.png
out-new.png [ 1.58 MiB | Viewed 1685 times ]


still the left side looks wrong

_________________
"Where am I ?"


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Wed Jun 04, 2014 1:54 pm  (#34) 
Offline
GimpChat Member

Joined: Sep 24, 2012
Posts: 275
Location: Scotland
Hmm it's quite possible with some pictures this will always happen, due to an area of much lower gradient.

Anyway, I've made a small adjustment so that removal alternates where gradient is constant... this should be available to try under "testing->garagecoder->seam carve [fast]" but be aware this is a stripped down version with no support for priority mask or anti-aliasing - it's only there to test the checkerboard problem.


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Thu Jun 05, 2014 2:39 am  (#35) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
Hi Andy.
I tried you updated version (under test) for the enlarging mechanism.
It looks better, but there are still (serious?) problems: look at the church-steeple.
I hope you and David will sooner or later provide a version usable for actual photo manipulation.
Anyhow, thanks a lot for your support.

Attachment:
tested.png
tested.png [ 1.64 MiB | Viewed 1656 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Fri Jun 13, 2014 7:57 am  (#36) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
David, Andy,

is any activity going on on this filter or is it still in the same situation as a week ago?
More generally:
- do you plan to improve it to avoid/limit the unpleasant behavior in some cases?
-or
- will you leave as it is for a (maybe long) while because busy with other activities/duties?

(in the last case, imo it's better to move it from the list of "regular" filters -"Deformations"- and put it under "Testing", what do you think?)

_________________
"Where am I ?"


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Fri Jun 13, 2014 12:04 pm  (#37) 
Offline
GimpChat Member

Joined: Sep 24, 2012
Posts: 275
Location: Scotland
I've been trying things out but really not satisfied with the output... using a more exact marking of seams, the removed/retained areas are precisely those selected (which is closer to what you might expect) but because high gradient areas tend to have vertical seams there are noticeable edges left over. It might require some inventive blending.

The alternating seam removal could be merged with the main filter at least, I see no reason for making it a test only filter as it still serves the original purpose of removing low gradient areas in a particular type of image.

But yes, you will have to be patient because I don't think it's a quick fix :(


Top
 Post subject: Re: New filter 'Deformations / Seamcarve'
PostPosted: Fri Jun 13, 2014 12:42 pm  (#38) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14831
Location: roma, italy
...I'm patient
Thanks

_________________
"Where am I ?"


Top
Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group