SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] Interpolation


Chronological Thread 
  • From: Jess <jess@sci.utah.edu>
  • To: Petar Petrov <pip010@gmail.com>
  • Cc: Vikas R bhat <vikasraghubhat@gmail.com>, scirun-users@sci.utah.edu
  • Subject: Re: [SCIRUN-USERS] Interpolation
  • Date: Mon, 5 Mar 2018 10:33:09 -0700

Hi Vikas,

Building of what Petar said, you can set a maximum distance to the mapping with the background value to nan, then use clipfieldbyfunction to clip out values that are nan (isfinite(DATA1);).  You can use also interfacewithtetgen to make a convex hull of tetrahedral elements. For a 2D quad mesh, you can use createimage (SCIRun 4) instead of createlatvol and do the same steps.  

If you are talking about doing linear interpolation from point clouds, you need to make a mesh first with interface with tetgen. then you can use the linear basis for mapping.  

cheers,
Jess



On Mar 5, 2018, at 6:26 AM, Petar Petrov <pip010@gmail.com> wrote:

Hi Vikas,

all you need to do is :
1)load the point cloud (ReadField text format)
2)create lattice/hex structured mesh
3)deform the mesh to acceptible size and place correctly to overlap with the pointcloud in 3D world space
4)use the module MapFieldDataFromSourceToDestination, where source is the point cloud and structured mesh is the destination

optionally, you can use similar module for mapping from nodes to elements or vice-versa

Cheers,
Petar

On Mon, Mar 5, 2018 at 1:16 PM, Vikas R bhat <vikasraghubhat@gmail.com> wrote:
Respected,

I have point cloud data in .txt. which contain  hexagonal nodes. I am trying to interpolate these nodes and create a field/ mesh type.

I tried to createLatVol flat pad with size of (7, 0, 13) that is connected to the imported .txt field. But this contained the corner points. Is it possible to remove these corner points and crop only the hexagonal nodes and form a hexagonal field..

Or say I have my predefined point cloud field data, will it be possible to connect (interpolate) the nodes and make it look like a field/mesh data (2D hexagonal flat mesh).

  
   


--
Thanks,

Vikas.R.Bhat


________________________________________________
SCIRun users mailing list:  scirun-users@sci.utah.edu
http://www.sci.utah.edu/software/scirun.html
To unsubscribe, email sympa@lists.sci.utah.edu with the "unsubscribe scirun-users" in the message body.



--
All the best,
Petar Petrov
http://ppetrov.net

________________________________________________
SCIRun users mailing list:  scirun-users@sci.utah.edu
http://www.sci.utah.edu/software/scirun.html
To unsubscribe, email sympa@lists.sci.utah.edu with the "unsubscribe scirun-users" in the message body.




Archive powered by MHonArc 2.6.18.

Top of page