PZFlex Table File Writer
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
