Re: Morph software

2009-02-23 Thread Bryn M. Reeves

Paul-Erik Törrönen wrote:

I Appreciate the offer, and you probably should publish for
people looking for a


Better late than never:

http://poltsi.fi/Software/morphing_with_imagemagick.html



As pointed out earlier in the thread, this isn't actually morphing
in the sense the original poster was looking for.

ImageMagick's morph switch just does superposition and interpolation
of images (cross-dissolve) - it doesn't attempt to warp the source and
target images to bring image features into alignment before
interpolating, so it is only useful for simple images that already
have close alignment.

Regards,
Bryn.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Morph software

2009-02-23 Thread Bill Davidsen

Paul-Erik Törrönen wrote:

I Appreciate the offer, and you probably should publish for people looking
for a


Better late than never:

http://poltsi.fi/Software/morphing_with_imagemagick.html

Unfortunately this seems more a fade than a morph. A useful feature, but not 
what's desired in this cae.


But thanks for the pointer anyway.

--
Bill Davidsen david...@tmr.com
  We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Morph software

2009-02-10 Thread Bill Davidsen

homb...@tips-q.com wrote:

On Mon, 09 Feb 2009 13:11:24 -0500
Todd Denniston todd.dennis...@ssa.crane.navy.mil wrote:


Bill Davidsen wrote, On 02/07/2009 11:13 PM:

Paul-Erik Törrönen wrote:

On Fri, 2009-02-06 at 16:02 -0500, Bill Davidsen wrote:

 I'm looking for some morphing software, to take two
images, and generate some  intermediate images to
show the effect of a smooth transition from one to
the other.

One such program is the convert-command, which is part
of the ImageMagick-package.


I'd like to get Ann Coulter - Phyllis Shlafly ;-) but I
digress.

I checked through freshmeat, sourceforge and rpmfind. There
are xmorph, morphine and XMRM. These are all 20th
century packages and deprecated. Xmorph and morphine will
not compile. XMRM (which otherwise looks like the most
promising candidate) requires /usr/bin/mpeg which is
unavailable. Linking mpeg to other encoders doesn't work.

Perhaps something for win. will run in wine or a VM??

I found that xmrm.com is still there, but the link to the source isn't. If I 
could get the source, once I get a way to generate the individual images I can 
easily use ffmpeg to create a stream from the images, I do that for some various 
fun projects I have, and in fact that's kind of better from my point of view.


--
Bill Davidsen david...@tmr.com
  We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Morph software

2009-02-10 Thread Bill Davidsen

homb...@tips-q.com wrote:

On Mon, 09 Feb 2009 13:11:24 -0500
Todd Denniston todd.dennis...@ssa.crane.navy.mil wrote:


Bill Davidsen wrote, On 02/07/2009 11:13 PM:

Paul-Erik Törrönen wrote:

On Fri, 2009-02-06 at 16:02 -0500, Bill Davidsen wrote:

 I'm looking for some morphing software, to take two
images, and generate some  intermediate images to
show the effect of a smooth transition from one to
the other.

One such program is the convert-command, which is part
of the ImageMagick-package.


I'd like to get Ann Coulter - Phyllis Shlafly ;-) but I
digress.


s/Phyllis Shlafly/Rachael Maddow/

--
Bill Davidsen david...@tmr.com
  We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Morph software

2009-02-10 Thread Bryn M. Reeves

Bill Davidsen wrote:
I found that xmrm.com is still there, but the link to the source isn't. 
If I could get the source, once I get a way to generate the individual 
images I can easily use ffmpeg to create a stream from the images, I do 
that for some various fun projects I have, and in fact that's kind of 
better from my point of view.


I found some sources patched for Mandrake 8 here:

http://www.linuxfocus.org/common/src/article139/

Homburg pointed me to the download on Tucows although I could only 
find pre-built binaries there. They're statically linked however and 
do at least start up on a recent distro (f10) but I didn't have time 
to play and find out what breaks yet.


Regards,
Bryn.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Morph software

2009-02-09 Thread Todd Denniston

Bill Davidsen wrote, On 02/07/2009 11:13 PM:

Paul-Erik Törrönen wrote:

On Fri, 2009-02-06 at 16:02 -0500, Bill Davidsen wrote:

 I'm looking for some morphing software, to take two images, and
generate some  intermediate images to show the effect of a smooth
transition from one to the other.


One such program is the convert-command, which is part of the
ImageMagick-package.

It can do primitive shape morphing, for more information go here:

http://www.imagemagick.org/discourse-server/viewtopic.php?f=1t=11263

I've used convert only to do fade-morph frames between images taken of
the same view, which then are fed to mencoder to produce a video.

I can publish the shell-script which I created to accomplish this if
you're interested?

I Appreciate the offer, and you probably should publish for people 
looking for a fade solution, but I'm really looking for a full shape and 
color morph. I have an old program which I pulled off a Win98 machine 
which did a pretty good job, but it uses gif format, won't run under 
wine, and generally is pretty impractical other than as a proof of concept.


I'm surprised at the lack, I'll keep looking. Search turned up a number 
of things which sounded hopeful but had serious issues between the 
description and the performance.


Thanks for the pointer.



with gimp
load image 1
on image 1's window select File-Open as Layer- pick image 2
Open the Layers dialog
insert a Layer that is background color (call it Clean).
duplicate image 1's layer (Background).
Sort the layers such that you see
 image 2
 Background copy
 Clean
 Background
Delete Background.
on image 1's window select Script-Fu - Animators - Blend
set number of frames, blur and if you want it looped (no loop I think.).
hit OK.

There is probably a way that you don't have to play with the layers as I did 
above, and figuring out how to save each layer (frame) as a frame file is left 
as an exorcise for the reader (involves making successive layers invisible and 
saving a frame).


Also this was with gimp 2.2.12 so the names of the menus and scripts have 
probably been changed to protect the guilty. :)


--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Morph software

2009-02-09 Thread homburg
On Mon, 09 Feb 2009 13:11:24 -0500
Todd Denniston todd.dennis...@ssa.crane.navy.mil wrote:

 Bill Davidsen wrote, On 02/07/2009 11:13 PM:
  Paul-Erik Törrönen wrote:
  On Fri, 2009-02-06 at 16:02 -0500, Bill Davidsen wrote:
   I'm looking for some morphing software, to take two
  images, and generate some  intermediate images to
  show the effect of a smooth transition from one to
  the other.
 
  One such program is the convert-command, which is part
  of the ImageMagick-package.

I'd like to get Ann Coulter - Phyllis Shlafly ;-) but I
digress.

I checked through freshmeat, sourceforge and rpmfind. There
are xmorph, morphine and XMRM. These are all 20th
century packages and deprecated. Xmorph and morphine will
not compile. XMRM (which otherwise looks like the most
promising candidate) requires /usr/bin/mpeg which is
unavailable. Linking mpeg to other encoders doesn't work.

Perhaps something for win. will run in wine or a VM??

-- 
Neither Lifestyle nor Agenda
http://www.tips-Q.com

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Morph software

2009-02-09 Thread Bryn M. Reeves

Todd Denniston wrote:

On Fri, 2009-02-06 at 16:02 -0500, Bill Davidsen wrote:

I'm looking for some morphing software, to take two images,
and generate some  intermediate images to show the effect
of a smooth transition from one to the other.

with gimp load image 1 on image 1's window select File-Open as
Layer- pick image 2 Open the Layers dialog insert a Layer that is
background color (call it Clean). duplicate image 1's layer
(Background). Sort the layers such that you see image 2 Background
copy Clean Background Delete Background. on image 1's window select
Script-Fu - Animators - Blend set number of frames, blur and if
you want it looped (no loop I think.). hit OK.



This still isn't what the OP is looking for afaict. Bill is asking
about feature based image warping and metamorphosis - tools that
either automatically identifies common features between two images or
provides a means to manually specify feature alignment and that then
non-linearly project the source and destination images according to
some interpolation of these two feature sets, allowing a smooth
transition from source to destination.

The convert command -morph option performs simple superposition and
interpolation of pixel size and value rather than feature based
warping and interpolation.

It's the effect used in Michael Jackson's Black or White music video.

There are numerous algorithms that implement this type of morphing,
from the very simple (e.g. Bayer-Neely field warping[1]) to the
fiendishly complicated (spline surface energy minimisation[2]).

A lot of the simpler morphing packages you'll find (there seem to be a
tonne of shareware tools for Windows) implement an approach called
mesh warping where a spline grid is overlaid on the source and target
images and the operator adjusts the grid to identify the relationship
between features in the two images. This method has the advantage of
being fairly easy to implement while still offering reasonable control
of feature placement (it's also the method used in the Jackson video).

There's a GPL'ed mesh warping tool available here:

http://xmorph.sourceforge.net/

I haven't found an awful lot of other open source morphing tools or
libraries, although I'd be very happy to find counter examples to that.

When I was looking at this stuff I needed the ability to freely
specify feature constraints (so meshes weren't applicable) and had
some constraints on the resulting morph functions (C2 continuity  1:1
properties) so I implemented an approach called multilevel free-form
deformations or MFFD[3]. It's an interesting algorithm and I'd really
like to go back to it one day and turn the work I did then into
something more generally useful (as usual, time is the problem there :).

Regards,
Bryn.


[1]  T. Beier, S. Neely, Feature-Based Image Metamorphosis, siggraph
1992. http://www.hammerhead.com/thad/morph.html

[2] S. Lee, K.-Y. Chwa, J. Hahn, and S.Y. Shin, “Image Morphing
Using Deformation Techniques,” J. Visualization and Computer
Animation, vol. 7, no. 1, pp. 3-23, 1996

[3] S. Lee, G. Wolberg, K. Chwa, S. Shin, Image metamorphosis with
scattered feature constraints, IEEE TVCG96, vol. 2, no. 4, pp. 337-354.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Morph software

2009-02-09 Thread Bryn M. Reeves

homb...@tips-q.com wrote:

On Mon, 09 Feb 2009 13:11:24 -0500 Todd Denniston
todd.dennis...@ssa.crane.navy.mil wrote:


Bill Davidsen wrote, On 02/07/2009 11:13 PM:

Paul-Erik Törrönen wrote:

On Fri, 2009-02-06 at 16:02 -0500, Bill Davidsen wrote:

I'm looking for some morphing software, to take two images,
and generate some  intermediate images to show the effect
of a smooth transition from one to the other.

One such program is the convert-command, which is part of the
ImageMagick-package.


I'd like to get Ann Coulter - Phyllis Shlafly ;-) but I digress.

I checked through freshmeat, sourceforge and rpmfind. There are
xmorph, morphine and XMRM. These are all 20th century packages and
deprecated. Xmorph and morphine will not compile. XMRM (which
otherwise looks like the most promising candidate) requires
/usr/bin/mpeg which is unavailable. Linking mpeg to other
encoders doesn't work.

Perhaps something for win. will run in wine or a VM??



Hmm, hadn't come across xmrm before, although the ftp link seems dead
at the moment.

Regards,
Bryn.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Morph software

2009-02-09 Thread homburg
On Mon, 09 Feb 2009 18:46:58 +
Bryn M. Reeves b...@redhat.com wrote:

  
  I checked through freshmeat, sourceforge and rpmfind.
  There are xmorph, morphine and XMRM. These are all 20th
  century packages and deprecated. Xmorph and morphine
  will not compile. XMRM (which otherwise looks like the
  most promising candidate) requires /usr/bin/mpeg which
  is unavailable. Linking mpeg to other encoders
  doesn't work.
  
  Perhaps something for win. will run in wine or a VM??
  
 
 Hmm, hadn't come across xmrm before, although the ftp
 link seems dead at the moment.
  
It's DOA but you can get it through tucows.
 Regards,
 Bryn.
 


-- 
Neither Lifestyle nor Agenda
http://www.tips-Q.com

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Morph software

2009-02-07 Thread Bill Davidsen

Paul-Erik Törrönen wrote:

On Fri, 2009-02-06 at 16:02 -0500, Bill Davidsen wrote:

 I'm looking for some morphing software, to take two images, and
generate some  intermediate images to show the effect of a smooth
transition from one to the other.


One such program is the convert-command, which is part of the
ImageMagick-package.

It can do primitive shape morphing, for more information go here:

http://www.imagemagick.org/discourse-server/viewtopic.php?f=1t=11263

I've used convert only to do fade-morph frames between images taken of
the same view, which then are fed to mencoder to produce a video.

I can publish the shell-script which I created to accomplish this if
you're interested?

I Appreciate the offer, and you probably should publish for people looking for a 
fade solution, but I'm really looking for a full shape and color morph. I have 
an old program which I pulled off a Win98 machine which did a pretty good job, 
but it uses gif format, won't run under wine, and generally is pretty 
impractical other than as a proof of concept.


I'm surprised at the lack, I'll keep looking. Search turned up a number of 
things which sounded hopeful but had serious issues between the description and 
the performance.


Thanks for the pointer.

--
Bill Davidsen david...@tmr.com
  We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Morph software

2009-02-06 Thread Bill Davidsen
I'm looking for some morphing software, to take two images, and generate some 
intermediate images to show the effect of a smooth transition from one to the 
other.


--
Bill Davidsen david...@tmr.com
  We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Morph software

2009-02-06 Thread Paul-Erik Törrönen
On Fri, 2009-02-06 at 16:02 -0500, Bill Davidsen wrote:
  I'm looking for some morphing software, to take two images, and
 generate some  intermediate images to show the effect of a smooth
 transition from one to the other.

One such program is the convert-command, which is part of the
ImageMagick-package.

It can do primitive shape morphing, for more information go here:

http://www.imagemagick.org/discourse-server/viewtopic.php?f=1t=11263

I've used convert only to do fade-morph frames between images taken of
the same view, which then are fed to mencoder to produce a video.

I can publish the shell-script which I created to accomplish this if
you're interested?

Poltsi

-- 
Paul-Erik Törrönen
pol...@777-team.org
+358 40 703 1231
http://poltsi.fi/

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines