[magick-users] blur part of image
John Hauf
j at hauf.org
Tue Sep 23 01:59:20 PDT 2008
Thank you! That's exact what I want!
John
Anthony Thyssen wrote:
> John Hauf on wrote...
> | Thanks for the answer - it worked. Is it also possible to have diffuse
> | edges of a region?
> |
> For that the best way is to blur the image than use a mask to
> select what parts should come from what image.
>
> That is
> load image
> create a blured image
> create a seletion mask (white on black) (also blurred)
> and do a masked 3 image composition...
>
> convert logo: \( -clone 0 -blur 5x2 \) \
> \( -clone 0 -gamma 0 -fill white \
> -draw 'rectangle 220 180 320 280' -blur 10x5 \
> \) -composite logo.png
>
>
> A better solution however is to somehow do a variable blur, where
> some mask is used to control the overall amount of bluring.
> However this is not currently posible with IM, though it is a feature
> that I myself have been wanting.
>
> Fred Weinhaus has however developed a multi-level composition blur
> script called "variableblur" to do this in a rough way until some type
> of better masked blur operator can be developed.
> http://www.fmwconcepts.com/imagemagick/variableblur/index.php
>
>
> You can also pixelate the image area instead of blurring....
> Like they do to fuzz out 'naugthy bits' and faces on TV news.
> In this case lets try to protect anonymity of the IM wizard. :-)
>
> convert logo: \( -clone 0 -scale 10% -scale 1000% \) \
> \( -clone 0 -gamma 0 -fill white \
> -draw 'circle 400,200 440,200' -blur 10x5 \
> \) -composite logo.png
>
> Again the drawn mask (a blurred circle this time) is used to
> definate and limit the area that should be pixelated.
>
> Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
> -----------------------------------------------------------------------------
> "We learned dwarves are not ment to fly."
> came a voice from the edge of the circle. -- Rick Cook, "Wizardry Cursed"
> -----------------------------------------------------------------------------
> Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
> _______________________________________________
> Magick-users mailing list
> Magick-users at imagemagick.org
> http://studio.imagemagick.org/mailman/listinfo/magick-users
>
>
More information about the Magick-users
mailing list