comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » using convol with 2D image and 1D kernel
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
using convol with 2D image and 1D kernel [message #37201] Sat, 29 November 2003 09:08
lunde is currently offline  lunde
Messages: 2
Registered: November 2003
Junior Member
Hello, I was wondering what the convol(array,kernel) function does
when it is given a 2D array and a 1D kernel ?

I have run through "Example 2" for the digital_filter() function,
in which the 2D array "mandril" is convolved with the 1D array
"filter" (in Reference Volume 1):

mandril = bytarr(512,512)
...
mandril = float(mandril)
filter = digital_filter(0.0,0.1,50,10)
filt_image = convol(mandril,filter)

I can see that the image is smoothed, but did convol()
1) take the 1D kernel of size 1x21 and run it over the image, where
the result at each point is only influenced by points in the
horizontal direction,
OR
2) take the 1D kernel and transform it into some 2D kernel of
dimension 21x21, and run that over the image, where the result is
now influenced by points in both the horizontal and vertical
directions ?

Thanks for any insight, Bruce
[Message index]
 
Read Message
Previous Topic: melvin, we are ex-cons
Next Topic: Re: using convol with 2D image and 1D kernel

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:06:47 PDT 2025

Total time taken to generate the page: 0.00209 seconds