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

Home » Public Forums » archive » Re: Low pass filter - Problem with 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
Re: Low pass filter - Problem with kernel [message #50402] Tue, 03 October 2006 07:41 Go to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
Vidhya wrote:
> Dear All,
>
> Stuck with the error message:
>
> "% CONVOL: Incompatible dimensions for Array and Kernel.
> % Execution halted at: $MAIN$"
>
> while trying to apply a low pass filter to one of my image data.
>
> The array dimensions for kernel is
> IDL> help, kernel
> KERNEL FLOAT = Array[3, 3]
> IDL> help, column_log
> COLUMN_LOG FLOAT = Array[1, 374]

It would help a great deal if you showed us a simplified version of the
code that actually failed. As it is, we can can't be sure what you're
doing. For instance, what is column_log? If it's the array that you're
trying to convolve with that kernel, you've got a serious problem:
column_log has a length of only 1 in the first dimension, which is
insufficient to make use of a kernel whose first dimension has a length
of 3. If you're talking about an image, the data you're convolving
shouldn't be a 1x374 array. What is the shape of the image that you're
trying to convolve?
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: ps file with text
Next Topic: Re: I need a bit of help....Convol and functions

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

Current Time: Sat Oct 11 21:38:15 PDT 2025

Total time taken to generate the page: 0.16441 seconds