Page 1 of 1

Sketch

Posted: 2012-04-20T11:03:53-07:00
by wAlex
Hi,
Someone knows how i could get an effect like this?
http://i.imgur.com/fgmGz.jpg
I tried to recreate this effect with :

Code: Select all

		$im->modulateImage(120, 0, 100); 
		$im->embossImage(0,0.6);
		$im->sketchImage (1000 , 27 , 45 ); 
		$im->shadeImage ( 0 , 10 , 80 );
		$im->adaptiveBlurImage(0.8,0.9);

but what I got was this...horrible result :(
http://i.imgur.com/VrYGb.jpg
Someone can help me?
Thanks

Re: Sketch

Posted: 2012-04-20T11:07:08-07:00
by fmw42
Starting from what image? Your result is not that bad. Try adding some one-sided white noise.

Re: Sketch

Posted: 2012-04-20T11:17:26-07:00
by wAlex
from that image
Image

Re: Sketch

Posted: 2012-04-20T11:21:42-07:00
by Bonzo
I do not think sketch will give you that effect.

Re: Sketch

Posted: 2012-04-20T11:29:48-07:00
by wAlex
How can I add one-sided white noise?
I know that sketch don't give me this effect, i've tried all possible way, but I can't achieve the result i want.
How can I do? Do you know some other way to realize that?

Re: Sketch

Posted: 2012-04-20T13:33:17-07:00
by fmw42
wAlex wrote:How can I add one-sided white noise?
I know that sketch don't give me this effect, i've tried all possible way, but I can't achieve the result i want.
How can I do? Do you know some other way to realize that?
You can add one sided noise by (command line equivalent -- you will have to find the same functions in Imagick):

1) create a separate image the size you want using +noise Random
2) select any one channel
3) threshold that channel so that you have mostly black with white noise using -threshold XX%
or use -black-threshold XX% so that you get mostly black and some gray to white noise
4) composite the noise over your image using -compose screen

Here is an example

convert -size 128x128 gradient: grad.png
convert grad.png \
\( -size 128x128 xc: +noise random -channel g -separate +channel -black-threshold 95% \) \
-compose screen -composite grad_white_noise.png

Image

Re: Sketch

Posted: 2012-05-09T10:40:43-07:00
by fmw42
You could also manually create masks and for each mask use -sketch in a different direction.