imstackwrite

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Images
Introduced first in SolidGeometry 5.1, Creation date: 2021-11-28, Last change: 2025-09-15

writes a gray scale intesity matrix n x n x m into raw files (used for radon)

Description

currently the format is uint 16 raw and the intensity is streched from 08 to to 12 bit

See Also: imstackofSGprojection , imstackread

Example Illustration

 missing image of imstackwrite(IS,dirnam,spr,inv)

Syntax

dirnam=imstackwrite([IS,dirnam,spr,inv])

Input Parameter

IS: Image stack (n x n x m)
dirnam: directory name
spr: if true; the images are spreaded to achieve maximum of intensity; default is false
inv: if true; the images are inverted change b/w to w/b; default is false

Output Parameter

dirnam: name of directory created

Examples


loadweb JACO_robot.mat
imstackofSGprojection(SGtrans0(JC1)); IS=ans;
fname=imstackwrite(IS)




Copyright 2021-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21