Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
points2psi.m File Reference

generate PSI file for Amira the file contains cloud of points, their labels and values More...

Functions

function res = points2psi (filename, points, pntLabels, pntValues, options)
 generate PSI file for Amira the file contains cloud of points, their labels and values
 

Detailed Description

generate PSI file for Amira the file contains cloud of points, their labels and values

Function Documentation

◆ points2psi()

function res = points2psi ( filename,
points,
pntLabels,
pntValues,
options )

generate PSI file for Amira the file contains cloud of points, their labels and values

Note
Important: the data saved in this format can be opened in Amira, but saving of the data from amira crashes Amira due to an internal bug in Amira. Amira version tested 6.4.0
Parameters
filenamefilename to save data
pointsa matrix with points [point number, x, y, z]
pntLabelsa cell array with labels for each point; can be empty (@param pntValues an array of values for each point; can be empty (default: 1)
optionsa structure with additional options .overwrite - 1-automatically overwrite existing files .format - a string with format: binary or ascii
default" "); note the spaces will be replaced with underlines
Required fields of options:

Referenced by Labels.saveToFile().

Here is the caller graph for this function: