Morph Layers not working..?

fx_morph_layers - it doesn’t seem to be working properly and is very slow…?
Using it in gmic cli 3.6.2 in Ubuntu, and 3.6.3 in Deepin (both within separate proot-distro environments).

Even reducing the ‘Inter-Frames’ to just 3 (from 17 originally) - waiting over 10 minutes… and still no results, the images are 1280x800 (RGBA) so that shouldn’t be a problem.
Have used it in recent months without issue, and it was fast enough.

EDIT: First batch produced after 12 minutes… but the 3 inter-frames were empty!

EDIT2: Tried it on a different set of images in case it was something peculiar to the first set, but same issue is occurring - long wait and empty frames.

The problem is that the inages I’m trying to morph are too similar in the first place, as other attemps with vastly different images produced successful and rapid results, so that’s probably it.
Still would be nice to morph the similar ones though.

Would be nice if you shared some visuals and parameters to illustrate your issue. :wink:

I’d be interested by a xcf file and a way to reproduce the issue !

@David_Tschumperle - sorry not working with Gimp
EDIT: (can I save as xcf in Krita?)
Yes but embarrassingly what I think i did was not just try to morph two very similar images, but two exact same images (just different filenames) together…
So…

…with…

When I should have morphed it with this:

Or …

with…

When it should’ve been with:

(I was working on the same image with a batch file to control things like noise and spread and also experimenting with the luminance_nr_two filter, but the batch file managed to repeat itself at the beginning part somewhat)

@afre My command was simply gmic v -99 vm1_0000.png vm1_0001.png fx_morph_layers 17,0.2,0.57 o new_0000.png though i reduced the ‘inter-frames’ later on

Thanks but your two files have indeed the same name.
I’ve tried on my PC, to match an image with itself, and when the image is exactly the same, I indeed get a long long computationt time, which is not expected.
I’ll investigate this and fix that bug ASAP.
There will be probably a new stable release before tonight :wink:

1 Like

Thanks David, yes the first two images were differently named (to start with) but I’m guessing as they had the same content anyway the website saw the 2nd one as the same so just used the cached 1st one.

Well, thanks for looking into it!

1 Like

That’s worked a treat, David, I just compiled the new v.3.6.3 on my Android tablet and the problem has gone, many thanks! :+1:

By the way, is it possible to re-edit my post Tutorial: Compiling G’MIC for Android Devices as I feel it could be improved upon / updated? Seems like it’s ‘locked’.

1 Like

@Mushy I PMed you. For everyone else, note that the thread op is now a wiki, so it may be updated soon.