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

Home » Public Forums » archive » Re: SMOOTH function for 3D
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: SMOOTH function for 3D [message #46423 is a reply to message #46418] Mon, 21 November 2005 23:46 Go to previous messageGo to previous message
Bringfried Stecklum is currently offline  Bringfried Stecklum
Messages: 75
Registered: January 1996
Member
IDLmastertobe wrote:
> Hi, i'm working on smoothing 3D data. I can visualize a 3D object base on
> the data and rotate it . I have used SMOOTH function before to smooth 2D
> image and it worked fine. But now when I am using it for 3D as: result =
> SMOOTH(3Darray); and then use the result as my new 3D data, I observe no
> difference when I am visualizing it. It looked just like the original
> unsmoothed function. Does anyone know why? Thank you.
>

The syntax result =SMOOTH(3Darray) is wrong since a second argument is
required which indicates the smoothing width (scalar or vector). For smoothing
a 3D array in each direction the proper call would be, e.g.
result=SMOOTH(3Darray, [2,4,3])
which smoothes the data in the x-direction over two pixels, in y-direction over 4,
and in z-direction over 3 pixels.

regards,

Bringfried Stecklum
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: subscripting arrays
Next Topic: Re: lunch envi function in 'batch mode'

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

Current Time: Fri Oct 10 01:18:27 PDT 2025

Total time taken to generate the page: 7.92417 seconds