Style transfer soon in G'MIC

This generates log in a layer

The issue is that Krita immediately close once the result is generated, so you could scratch that as a option. I’m gonna try debug.


Nope, all options have failed.

Origin:

Style:

Result:

A bit demoniaco but his style change a bit

I really wish there was more volume on those soundtracks. I had to put the volume to max, and I couldn’t hear the last one. And maximum volume is likely to blast my eardrum if there is sound other than that.

The audios are the ones of the example of software (arss) that converts the spectrum in sound.
When it learn to do it on my own use something with volume high.

I try to imitate this software:

Another stylized image of my bike.

Stylize

3 Likes

@David_Tschumperle

Has there been any fixes to the Stylize filter for Krita? I sent you the log.

Racer-x mentioned that paint.net runs this preset around 10 times faster than gimp plugin. Any possible reason why? His entry to the parallel thread is at GIMPChat. :slight_smile:

G'MIC Stylize • GIMP Chat

That almost makes me want to run PDN other than screenshot application and just playing with it as if it was a toy.

That’s not what he said. He just said G’MIC on Linux was 10x faster than on Windows, which is indeed something I already noticed. But, believe me, I have absolutely no idea why it works faster on Linux.
The code is 99% the same, the compiler is the same (g++), the optimization flags are the same.

Maybe we could ask people able to build their own binaries of G’MIC on Windows if they could try running the Stylize filter on the same kind of images and see if their versions are faster ? @samj, @Carmelo_DrRaw ?

This speed difference has always been a mystery for me, it even affects the small graphical demos where the fps are around 7-8 while it’s around 50 on my Linux.

Ah; you are right, David. Was just blinded by seeing Paint.NET and didn’t think about the linux part. I do have a virtual machine LUbuntu (64-bit) build, but didn’t really give it that much as far as resources. May try toying with it to see if GIMP under Linux is better. I remember (until you speed the preset up in G’MIC for GIMP Windows; forgot what that preset was) in the past that something ran much faster under GIMP/Linux then in GIMP/Windows. :slight_smile:

I don’t know what you did, but whatever you did, you cut the rendering time from 50% to 66% (i.e., only 1/3rd to 1/2 the time it use to take). Thanks a heap, David. :slight_smile:

I have been working hard today to try optimizing the Stylize filter in G’MIC (among other things :) ).
I’ve been able to generate one updated binary of the G’MIC plug-in for GIMP (2.10 only and 64bits! Don’t try it with other configurations).

The binary installer is available here : https://gmic.eu/files/prerelease_window … _win64.exe

I’d be really interested by your feedback, particulary from people who have already used the Stylize filter extensively before !
Feedback appreciated :)

2 Likes

Posted a response at GIMPChat; can indeed state that your Win64 update is literally 10X faster. Fantastic indeed. :slight_smile:

3 Likes

Now that the preset’s 10 times faster, why not another one. This one actually took a little over 5 minutes since I ran it twice (second time over the first run). :slight_smile:

ref: http://www.fontplay.com/freephotos/sixthn/fp091706-016.jpg

All sizes | Among the frontiers of Chaos | Flickr - Photo Sharing!

5 Likes

I just tested it, and wow, I noticed a huge speed improvement to the point where it actually can be used. Too bad it crashes on Krita though. In my beefy system, it is over 100 times faster. From one hour to as little as 30 seconds. Not too sure if I’m exaggerating, but that is what I believe for now.

2 Likes

Good to hear that!
For the Krita issue, I think only Krita devs can fix this, as the bug happens in of the Krita file.
I’ve already filled a bug report for this : 402097 – New G'MIC filter "Artistic / Stylize" generates an error on exit

1 Like

Great filter @David_Tschumperle !

Here is my attempt with Kandinsky Composition VIII

7%2C1%2C0%2C1%2C0%2C5%2C5%2C7%2C1%2C30%2C1000%2C2%2C1

fx_stylize 1,4,0,1,0.75,2,3,0.5,0.1,2,5,0,0.7,1,0,1,0,5,5,7,1,30,1000,2,1.85,0

4 Likes

With default settings:

before
CRW_1970

after
pointedeschateaux-vanGogh

5 Likes

Found Object Mosaic via Stylize

ref: https://janeperkins.files.wordpress.com/2017/04/madonna-and-child-2017-copy.jpg

Can’t seem to stop playing; help me, help me, help me. lolololol

Again, thanks a heap, David. :slight_smile:

ref: https://janeperkins.files.wordpress.com/2017/04/madonna-and-child-2017-copy.jpg

Can’t seem to stop playing; help me, help me, help me. lolololol

Again, thanks a heap, David. :slight_smile:

https://www.flickr.com/photos/163034485@N03/46658515271/sizes/o/

1 Like