Home | Forum Index | Log in | Register | Profile
 
Forum
  Search  
  Watched Topics  
  Memberlist  
  Usergroups  
  RSS feed  
  Digests  
  FAQ  
  Tecplot Data Format       (TecIO Library)
  Add-ons  
User
 Log in 
 Register 
 Profile 

 
 

Tecplot Add-on: Image Loader

This user-contributed add-on is unsupported. Please use forums for questions and comments.

(Please let jim know if you have an add-on you'd like to share or link to.)

This add-on loads portable images (pbm, pgm, ppm, bmp) with some control on the scaling.
  • Written by: Michael Connelly
  • Compatible with: Tecplot 360
  • Known Limitations: Please ensure you're running the version compatible with your version of Tecplot!
  • Instructions:
    1. Download the zip file (see below) and extract it.
    2. Install the add-on:
      Tecplot 360 2006 users: Copy the loadImage.dll to %TEC360HOME%\bin
      Edit your tecplot.add file and add this line:
      $!LoadAddon "loadImage"

      Tecplot 360 or Focus 2008 users: Copy the ldrimg.dll to %TEC_360_2008%\bin or %TEC_FOCUS_2008%\bin
      Edit your tecplot.add file and add this line:
      $!LoadAddon "ldrimg"

      Tecplot 360 or Focus 2009 users: Copy the ldrimg.dll to %TEC_360_2009%\bin or %TEC_FOCUS_2009%\bin
      Edit your tecplot.add file and add this line:
      $!LoadAddon "ldrimg"
    3. Start Tecplot
    4. A "Image Loader" option will appear in the File -> Load Data Files -> Select Import Format dialog:
    5. The Image Loader dialog is as follows:

      Of note:
      • The load image is self-explanatory.
      • Divide color by a user specified value, often color in images is based on 255, but tecplot default intensity for RGB contours is 1, so the user can divide by the intensity as it is stored into tecplot.
      • Add Z variable will add Z to the list of variables so instead of the variables being X, Y, Red, Green, Blue, the variables are X, Y, Z, Red, Green, Blue. This is useful for the user that has a zone with Topographic information, the user can linearally interpolate that topographic information (Z) onto this zone. This will provide the effect of drapping an aerial photograph onto the topography.
      • If the user, chooses float then then he can interpolate the colors onto a model grid. For example, he has a bitmap image of a geologic cross-section and a model grid and wants interpolate the different rock units in the geologic cross-section to the model grid you would want to have a float variable, however, if the user has no need of doing this, then a short integer would save memory.
      • Change from using min-max values to 4 corner georeferencing:
      • (new) If you have a world file placed in the same directory as the aerial photographs, it will do the geo referencing based on the information in the world file (.tfw). That file has 6 lines:
        • Width of the X Pixel in real world coordinates
        • Rotation about the X-Axis (usually set to 0, add-on does not use this value)
        • Rotation about the Y-Axis (usually set to 0, add-on does not use this value)
        • Width of the Y Pixel in real world coordinates (this is usually negative because the start is in the upper left hand corner)
        • X Location of the Center of the upper left pixel
        • Y Location of the Center of the upper left pixel
        Mike has provided sample bitmap image and world file are in the distributions.
  • File: (right-click and save)
    • Windows 64-bit: Tecplot 360/Focus 2009: Windows zip file with pre-compiled dll, sample image files and layouts: ImageLoader.zip
    • Windows 32-bit: Tecplot 360/Focus 2008 release 2 or newer: Windows zip file with pre-compiled dll, sample image files and layouts: ImageLoader.zip
    • Windows 32-bit: Previous versions (Tecplot 360/Focus 2008 release 1 or 2006 release 2): Windows zip file with pre-compiled dll, sample image files and layouts: ImageLoader.zip
    • Windows 32-bit: Previous versions Tecplot 10r6: Windows zip file with pre-compiled dll, sample image files and layouts: ImageLoader.zip
    A linux 2.4 glibc version is available from Mike
If you haven't already, take a minute to REGISTER for the Tecplot Talk forum. click here to register
The complete archives of the original Tecplot Talk email discussion group are available online. click here to view the archives
Most Recent Posts
Ensthropy calculations...
Extracting Data for Gnuplot...
Putting texture between 2 curv...
Re: Connectivity for FE data f...
Loading ADF file in Tecplot...


Powered by phpBB © 2001, 2005 phpBB Group
 
CONTOURS online newsletter   
   ©2006-2007 Tecplot, Inc. All rights reserved.  Privacy Policy turndown