[R] Asking Favor For the Script of Median Filter
Mike Marchywka
marchywka at hotmail.com
Mon Mar 28 02:49:02 CEST 2011
----------------------------------------
> CC: chuan_zl at hotmail.com; r-help at r-project.org
> From: dwinsemius at comcast.net
> To: marchywka at hotmail.com
> Subject: Re: [R] Asking Favor For the Script of Median Filter
> Date: Sun, 27 Mar 2011 18:30:48 -0400
>
>
> On Mar 27, 2011, at 1:07 PM, Mike Marchywka wrote:
>
> > You obviously want to delegate inner loops to R packages that
> > execute as native, hopefully optimized, code.
> > Generally a google search that starts with "R CRAN" will help.
> > In this case it looks like a few packages available,
> >>
> > http://www.google.com/search?sclient=psy&hl=en&q=R+cran+median+filter
>
> Did you find any that include a 2D median filter? All the ones I
> looked at were for univariate data.
I put almost zero thought or effort into that but an interested
party could modify the words a bit and and, for example "image"
and one of the first interesting hits is this,
http://cran.r-project.org/web/packages/biOps/biOps.pdf
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
y <- imgBlockMedianFilter(x, 5)
>
> --
> David.
More information about the R-help
mailing list