PZFlex Table File Writer

Version 1.0.0.0 (2.98 KB) by PZFlex
Creates .FLXTBL files from TIFF images - imports into PZFlex as a model
242 Downloads
Updated 1 Mar 2012

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

Cite As

PZFlex (2026). PZFlex Table File Writer (https://www.mathworks.com/matlabcentral/fileexchange/35390-pzflex-table-file-writer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Data Import and Analysis in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0