R/filt3d.r

Defines functions filt3d

Documented in filt3d

filt3d <- function(x,mask) {
    x.filt <- fft((fft(x)*fft(mask)),inverse=TRUE)/length(x)
    x.filt <- fftshift(Re(x.filt))

    return(x.filt)
}

Try the imagefx package in your browser

Any scripts or data that you put into this service are public.

imagefx documentation built on Feb. 14, 2020, 1:07 a.m.