RSS/Atom feed Twitter
Site is read-only, email is disabled

Cage transform questions

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

8 of 8 messages available
Toggle history

Please log in to manage your subscriptions.

Cage transform questions David Gowers (kampu) 06 Nov 03:15
  Cage transform questions David Gowers (kampu) 06 Nov 04:48
  Cage transform questions Alexia Death 06 Nov 09:34
Cage transform questions Rob Antonishen 06 Nov 12:59
  Cage transform questions Alexia Death 06 Nov 13:27
  Cage transform questions David Gowers (kampu) 06 Nov 13:36
   Cage transform questions Rob Antonishen 06 Nov 16:15
    Cage transform questions David Gowers (kampu) 06 Nov 21:48
David Gowers (kampu)
2010-11-06 03:15:50 UTC (about 14 years ago)

Cage transform questions

Hi,
I've just been trying out the cage tool (recently merged into GIT head) I really like that I can just sketch up something like http://img.photobucket.com/albums/v449/neota/tech/1.png and gooily bend it into something like: http://img.photobucket.com/albums/v449/neota/tech/2.png

I have two questions...

* What does 'Fill from first point' do? ('first point' is likely the first point you clicked when defining the cage.. but if fill from first point is NOT checked, where does the cage code fill from?)

* Are there any plans to provide an option to use nearest-neighbour sampling? The interpolating sampler works well for photographic images; for indexed or low-color images, I so far find that the interpolation makes the result uglier than the original, due to a) destruction of intentional hard edges or b) colors being remapped after interpolation

Curious,
David

David Gowers (kampu)
2010-11-06 04:48:48 UTC (about 14 years ago)

Cage transform questions

Also (should I file a bug report for these?)

* Frequently, when closing the cage by clicking on the first point, the point that was just placed ends up next to the first one * When >=1 point is outside image bounds, pixels outside the resultant shape become black (regardless of the current BG color). For greyscale images, mid-grey is the color which appears

Alexia Death
2010-11-06 09:34:11 UTC (about 14 years ago)

Cage transform questions

On Saturday, November 06, 2010 05:15:50 David Gowers (kampu) wrote:

Hi,
I've just been trying out the cage tool (recently merged into GIT head) I really like that I can just sketch up something like http://img.photobucket.com/albums/v449/neota/tech/1.png and gooily bend it into something like: http://img.photobucket.com/albums/v449/neota/tech/2.png

I have two questions...

* What does 'Fill from first point' do? ('first point' is likely the first point you clicked when defining the cage.. but if fill from first point is NOT checked, where does the cage code fill from?)

Nowhere. The original cage poition is not filled if its not checked. In photograhic images when working with clear cut objects that might sometimes be useful.

* Are there any plans to provide an option to use nearest-neighbour sampling? The interpolating sampler works well for photographic images; for indexed or low-color images, I so far find that the interpolation makes the result uglier than the original, due to a) destruction of intentional hard edges or b) colors being remapped after interpolation

Nobody has asked for that, but I guess it is doable as long as gegl provides nearest neighbor sampler.

On Saturday, November 06, 2010 06:48:48 David Gowers (kampu) wrote:

* Frequently, when closing the cage by clicking on the first point, the point that was just placed ends up next to the first one

Ive seen this one, but Im yet to find a criteria for replicating it. Its alsopossible that the redactoring Mitch did last night fixed it,

* When >=1 point is outside image bounds, pixels outside the resultant shape become black (regardless of the current BG color). For greyscale images, mid-grey is the color which appears

That's what the empty gegl buffer is colored. I guess the expectation in this area was not clearly defined. I guess it will be fixed sometime.

--Alexia

Rob Antonishen
2010-11-06 12:59:35 UTC (about 14 years ago)

Cage transform questions

Another 'bug' is that the cage tool doesn't work on indexed images. Not that I would expect it to. Can it be disabled for indexed images?

-Rob A>

Alexia Death
2010-11-06 13:27:02 UTC (about 14 years ago)

Cage transform questions

On Saturday, November 06, 2010 14:59:35 Rob Antonishen wrote:

Another 'bug' is that the cage tool doesn't work on indexed images. Not that I would expect it to. Can it be disabled for indexed images?

-Rob A>

A lot of tools dont work as intended with indexed images. All of the paint tools for example, if you have an unindexed color picked...

-- Alexia

David Gowers (kampu)
2010-11-06 13:36:47 UTC (about 14 years ago)

Cage transform questions

On Sat, Nov 6, 2010 at 11:29 PM, Rob Antonishen wrote:

Another 'bug' is that the cage tool doesn't work on indexed images.

Rob Antonishen
2010-11-06 16:15:09 UTC (about 14 years ago)

Cage transform questions

Doesn't work how? It works for me.. just not 100% like I want it to. (ie. interpolation is not helpful). I'm using git master (31aa09a11f2a2486c4cf9ab69104019d97c1d68a)

I just did a pull make/make install. I don;t know how to get the git master number :(

I started with this image: http://gimpchat.com/files/196_funnydog1.png

And using a simple (4 point) cage deform get this: http://www.majhost.com/gallery/ffaat/gimp/more2/196_funnydog1.png

It works fine for rgb or greysacle, however.

-Rob A>

David Gowers (kampu)
2010-11-06 21:48:29 UTC (about 14 years ago)

Cage transform questions

On Sun, Nov 7, 2010 at 2:45 AM, Rob Antonishen wrote:

Doesn't work how? It works for me.. just not 100% like I want it to. (ie. interpolation is not helpful). I'm using git master (31aa09a11f2a2486c4cf9ab69104019d97c1d68a)

I just did a pull make/make install.