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

Home » Public Forums » archive » image-convolution
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
image-convolution [message #83483] Thu, 07 March 2013 23:27
TERRAX is currently offline  TERRAX
Messages: 1
Registered: March 2013
Junior Member
hello, idl-community. i (a IDL-beginner) have a problem with the creation of a window function for image processing. after many hours of tinkering, these problem-developed into a real nightmare for me. maybe you can help me.


context is the processing of a multi-spectral image. for example 250 x 250 pixels and 5 bands. on this image, i want implement the following function for an image-convolution :

c[i] = 0.25*n-1[i] + 0.5*n[i] + 0.25*n+1[i]

c [i] forms the value at pixel i in the smoothed image band.
n [i] is the original pixel values of the input image in band n.
n-1[i] is the corresponding pixel in the input band n-1 and n+1[i] is the corresponding pixel in the input band n+1.

the neighbors for smoothing are therefore the corresponding pixels of the adjacent bands.

for the implementation i took the Convol function and loops, but I failed miserably. I can idl not teach, that for convolution the same pixel from the adjacent bands to be used.

knows anyone a solution for this problem or could give tips or help.

many thanks in advance for your efforts.

best regards

alex
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Grid lines misaligned when using CONTOUR and MAP_SET
Next Topic: non-English language

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

Current Time: Fri Oct 10 18:55:12 PDT 2025

Total time taken to generate the page: 1.44331 seconds