File Exchange

image thumbnail

PZFlex Table File Writer

version 1.0 (2.98 KB) by

Creates .FLXTBL files from TIFF images - imports into PZFlex as a model



View License

The code reads in a TIFF image, allowing you to select specific regions of the image to assign as a predefined material.

The image is interpolated according to the user's inputs (XMax, YMax & BoxSize). A 'colour map' is then generated which associates quantisation values to the defined materials. The image is finally quantised to the closest material values which is output into a FLXTBL file to be read into PZFlex using the SITE-TABL command.

The output file is written to file in a specific format to be compatible with the SITE-TABL command in FlexLab.

Known Issues: Works only with 8 bit TIFF images.

**NOTE: Requires another MATLAB script to function: 'quantise_image.m'

Tested with PZFlex Build: 3.0-2012-02-10-1 Windows 64-bit

Comments and Ratings (0)

MATLAB Release
MATLAB 7.7 (R2008b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today