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

Home » Public Forums » archive » CONVOL : no subscripting with POLYFILLV?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
CONVOL : no subscripting with POLYFILLV? [message #14108] Fri, 22 January 1999 00:00 Go to previous message
Tom Wassenaar is currently offline  Tom Wassenaar
Messages: 15
Registered: August 1998
Junior Member
I'd like to use polygon vertices directly to determine the image subset
to convolve, but is it right that CONVOL only operates on simple square
subscripts ?

a simple example :
ENVI> a = findgen(10, 20)
ENVI> kernel = fltarr(3, 3) + 1
ENVI> b = convol(a[2:8, 4:15], kernel, total(kernel))
; this works fine !
ENVI> x = POLYFILLV([2,2,8,8], [4,15,15,4], 10, 20)
ENVI> b = convol(a[x], kernel, total(kernel))
% CONVOL: Kernel's dimensions are incompatible with operand's.

WHY ?
--

���������� ���������� ���������� ���������� ���
Tom Wassenaar
INRA Science du Sol, 2 place Pierre Viala
34060 Montpellier Cedex 02, tel. +33 (0)499612764
M�l : wassenaar@ensam.inra.fr
���������� ���������� ���������� ���������� ���
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Processing Audio
Next Topic: looking for image registration program

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

Current Time: Thu Oct 09 17:07:38 PDT 2025

Total time taken to generate the page: 1.28114 seconds