surface blur
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: surface blur
post links to some input and output example images. not all of us use PS.
Re: surface blur
ohh, sorry
original http://i1.fastpic.ru/big/2010/0203/46/6 ... 7d9f46.jpg
surface blur http://i1.fastpic.ru/big/2010/0203/d8/9 ... 53a7d8.jpg
look like gaussian-blur, but did't destroy images border
maybe composite gaussian blur and filter(image borders creator...laplacian+overlay)?
P.S. you owner http://www.fmwconcepts.com/ ? great work, read rigth now
original http://i1.fastpic.ru/big/2010/0203/46/6 ... 7d9f46.jpg
surface blur http://i1.fastpic.ru/big/2010/0203/d8/9 ... 53a7d8.jpg
look like gaussian-blur, but did't destroy images border
maybe composite gaussian blur and filter(image borders creator...laplacian+overlay)?
P.S. you owner http://www.fmwconcepts.com/ ? great work, read rigth now

Last edited by roottree on 2010-02-03T11:13:38-07:00, edited 1 time in total.
Re: surface blur
Take a look at the operators from the links on this page: http://www.rubblewebs.co.uk/imagemagick/operator.php
The pages are quite large !
Not what you are looking for looking at the images in your last post.
The pages are quite large !
Not what you are looking for looking at the images in your last post.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: surface blur
original

Attempting thresholded gaussian blur:
blur=4
thresh=25
convert freckles.jpg \( -clone 0 -blur 0x${blur} \) -alpha off \
\( -clone 0 -clone 1 -compose minus -composite -auto-level -threshold ${thresh}% -negate \) \
-compose over -composite freckles_b${blur}_t${thresh}.jpg

This is not quite what you want.
I believe what you need is a mean shift algorithm such as in ImageJ. Here is the result from ImageJ

UNFORTUNATELY, IM does NOT have such an algorithm as far as I know.

Attempting thresholded gaussian blur:
blur=4
thresh=25
convert freckles.jpg \( -clone 0 -blur 0x${blur} \) -alpha off \
\( -clone 0 -clone 1 -compose minus -composite -auto-level -threshold ${thresh}% -negate \) \
-compose over -composite freckles_b${blur}_t${thresh}.jpg

This is not quite what you want.
I believe what you need is a mean shift algorithm such as in ImageJ. Here is the result from ImageJ

UNFORTUNATELY, IM does NOT have such an algorithm as far as I know.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: surface blur
You can get somewhere close to the Photoshop image with:
optionally followed by this, repeated a few times:
Fiddle with the numbers for some variety.
Or you might try:
Code: Select all
convert freckles.jpg -selective-blur 0x2+08% defreckle1.png
Code: Select all
convert defreckle1.png -selective-blur 0x1+5% defreckle1.png
Or you might try:
Code: Select all
convert freckles.jpg -noise 2 defreckle1.png
snibgo's IM pages: im.snibgo.com
Re: surface blur
Yes, I already use noise, but noise 2 or noise 3 fully destroy hair and border of images
-selective-blur is good, play with param
-selective-blur is good, play with param

- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: surface blur
Nice. I had not tried that.snibgo wrote:convert freckles.jpg -selective-blur 0x2+08% defreckle1.png
Re: surface blur
I can get the same result (nearly identical) with gimp's selective blur, with parameters :
radius : 30, delta : 30
but with imagemagick (6.6.0 Q16), I get some artifacts (sort of posterization in gradient) when i try large delta,
for example : convert -selective-blur 0x5+20%
radius : 30, delta : 30
but with imagemagick (6.6.0 Q16), I get some artifacts (sort of posterization in gradient) when i try large delta,
for example : convert -selective-blur 0x5+20%