Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Blurring with mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54714] Re: Blurring with mathematica
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Mon, 28 Feb 2005 03:27:00 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <cvrqhi$p5c$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

ListConvolve[] with a filter you like ?
gg = Graphics[
Text["Filter", {0, 0},
TextStyle -> {FontFamily -> "Helvetica", FontSize -> 48}]];

ras = ImportString[ExportString[gg, "PGM", ImageSize -> {256, 256}], "PGM"];

Show[ras /. Raster[bm_, args___] :>
Raster[ListConvolve[
{{1, 2, 1},
{2, 4, 2},
{1, 2, 1}}/16, bm, {1, 1}], args]]

Regards

  Jens




<V.Marinakis at damtp.cam.ac.uk> schrieb im Newsbeitrag 
news:cvrqhi$p5c$1 at smc.vnet.net...
> Hello everyone.
>
> I have an image which is stored as an 128 times 128
> matrix and I want to add gaussian blurring. Does anyone
> know how can this be done with mathematica?
>
> Best, Vangelis Marinakis.
> 



  • Prev by Date: Re: Mathematica batch file
  • Next by Date: Bug in Import?
  • Previous by thread: Blurring with mathematica
  • Next by thread: Re: Blurring with mathematica