Friday, January 16, 2015

Upcoming painting effect in FotoSketcher 3.00

Hi all,

I am currently working on FotoSketcher version 3.00, which will include a new painting effect. Brush placement still needs some tweaking (for now too many details are lost in salient areas), but I think the result holds promise.
Here is an early example on the FotoSketcher parrot.
Best regards,

David

22 comments:

Steve Jacobs said...

This looks like a great effect, and I look forward to its implementation!

Peter, BC said...

Great effect David!
I love the "brush" like effect. It looks like a real brush! I'm certain you will provide a way to adjust the width and size of the brush, or even a custom brush.

I'm eager to see version 3.00.

Peter

Peter, BC said...

I forgot to ask as a suggestion:
Would there be a way to activate the new brush only on certain colors?

On your example, the bird could have used another type of brush while the background looks nice with the new effect.

Casey said...

As an extension of what peter said:

How about a hue based stroke direction - scan for colour within certain fuzzy boundaries and then laydown the strokes for that colour in X direction.. repeat for Y colour, Z colour, etc?

That would stop the stroke overlap between the red of the bird and the green of the leaves (becasue red would stroke 30 degrees and green 60 degrees, or whatever).

Still - looking good, very good.. just needs some tweaking to allow the subject to separate from the background but still keep the stroke's style.

David said...

Thank you, Peter, Steve and Casey.
Regarding your suggestion, I did try orienting the brushstrokes according to hue, but the result was not visually appealing (as it was not compatible with the local gradient based algorithm I use). However, it will be possible to apply varying parameters to different regions of the image using the manual brush. That way you can add more details where they are needed (quite useful for portraits). Here is a more recent example: FotoSketcher 3.00 example

ari uller said...

Hi

2015 too great for you

And in more we are CHARLIE too

3.00 seems great

So we are only waiting ...

So much thanks for your great job

NB I try P... 2015 ... don t try ...lol

ari uller said...

i forgot ...

the x2 on painting 7 is .... so great ....thanks one more time

David said...

Thank you, Ari :-)

Casey said...

If hue directions won't work, what about average grey scale value of a pixel group (defined by the brush size/shape going down)?

Anyway - http://i.imgur.com/UF3Oy2r.jpg

Is REALLY gorgeous!

David said...

Thanks Casey! The grey scale values of pixels and pixel groups are indeed already used in my algorithms, together with gradient values. As for the new painting effect, here is another example, with a different brush: New York painting

Casey said...

Nice!

I like the way it's detailed but still paintery AND less detailed and broader strokes in the flat sky areas.

What sort of controls do you anticipate having - any way to define a split between large flat-area strokes and the detailed areas?

Sort of a:

Flat areas size: 1 - 255, normal setting at 180

Detailed areas size: 1 - 255, normal setting 25.

Anticipation is high!

David said...

Hi Casey,
Yes, it will be possible to adjust the painterly look. I'm still working on the implementation details, but the idea is simple: start with large brushstrokes on the whole image (to cover large monotonous areas) and gradually restrict where smaller and smaller brushstrokes get drawn, so that they only appear in areas where lots of details are needed. The time consuming parts are finding the right weights for each parameter and optimizing the code so that it's not too slow. At present, the new algorithm is roughly as slow as Painting 7.

Yaz orius said...

Serait-il possible d'implémenter un système de traitement par lots d'images ? Dès lors qu'on aurait un réglage qu'on désire pour plusieurs images, qu'il puisse être appliqué à l'ensemble de celles présentes dans un dossier spécifique ou une liste qu'on pourrait définir par glisser-déposer par exemple. Pour le reste, ton logiciel est sans nul doute une véritable merveille ! Merci à toi.

David said...

Bonjour Yannick,
Merci pour ton commentaire. J'ai une bonne nouvelle, le traitement par lot existe déjà dans FotoSketcher :-) C'est dans le menu Edition (conversions multiples). Le raccourci clavier est CTRL+B (comme batch). Tu sélectionnes les images à traiter, puis choisis l'effet et les paramètres. FotoSketcher appliquera le filtre à toutes les images dans la liste.
Cordialement,
David

Yaz orius said...

Grands Dieux ! o_O Tu as vraiment pensé à tout ^_^ Merci pour l'info que j'avais loupée : tu m'évites de trèèèèèèèèès nombreuses heures de tâche répétitive manuelle ^^" Ton logiciel est absolument parfait.

David said...

Merci :-)
Et la v 3 arrive bientôt...

Yaz orius said...

^_^ Si j'osais, je demanderais pour une version future du logiciel, la prise en charge des images avec couche alpha (avec notion de transparence, donc).

Ceci, afin que les "effets peinture" ne soient apportés que sur la partie "visible" de l'image, et que le rendu final puisse être exporté en tiff/png en conservant les informations sur la transparence (différentes des informations d'origine vu que les contours des parties visibles de l'image auraient bénéficié des algorithmes de modification).

Je n'ose imaginer les usages démentiels qu'apporterait l'intégration de telles images dans le domaine du multimedia ... Pour l'heure, j'attends la V3 avec très grande impatience.

David said...

J'y ai effectivement pensé, mais ce n'est pas simple... tous mes algos utilisent en interne des images en 24 bits (RVB) sans canal alpha. Tout réécrire pour gérer la transparence serait titanesque ! J'ai essayé de contourner le problème en réaffectant le canal alpha de l'image source sur le dessin produit, mais comme tu l'as évoqué, cela pose souci car les effets "débordent" sur les contours originaux.

Yaz orius said...

Pas de soucis. J'imagine bien, vu la qualité de ton logiciel, que si tu n'as pas proposé cette possibilité c'est que ce n'était pas envisageable. Quoiqu'il en soit, je reste émerveillé par la patte si naturelle que ton logiciel donne aux images artificielles. Et j'adore voir ton logiciel peindre petit à petit, ajoutant détails et réalisme à des couleurs qui au départ ne laissent rien présager : je passerais des heures à voir les illustrations se réaliser comme par magie sous mes yeux. J'adore !

David said...

Merci :-)

Anonymous said...

Hello David,

I just came across your amazing software.
I’ve got a question, maybe you could help me out.

I used the “ painting 7 “ mode which offers great results, but is it
possible to select more than “one” custom brush for this mode ?

The default “ painting 7 “ mode uses several brushes from straight to curvy lines,
but is there a trick or setting, with which I am able to use several of my own brushes simultaneously ?

Thanks for your time

David said...

Hi,

For the time being (version 3.20), only one custom brush can be loaded. This is something I might indeed change in future releases.

Regards,

David