mia-3dimageaddattributes(1)
π mia-3dimageaddattributes π
okay so bestie, welcome to the General Commands Manual glow-up of mia-3dimageaddattributes β¨ this is the whole thing, every flag, every plugin, no cap.
πΈ NAME πΈ
mia-3dimageaddattributes β slaps attributes onto the meta data of a 3D image. that's the whole job. π
π¦ SYNOPSIS π¦
mia-3dimageaddattributes -i <in-file> -o <out-file> -a <attr> [options]
β¨ DESCRIPTION β¨
so basically, mia-3dimageaddattributes takes every single meta-data attribute it can find in a 2D input image and appends all of them to a 3D image. it's giving "borrow her whole personality and put it on the 3D one" π«Ά
the big caveat tho: this only works if the output format actually supports such attributes. if it doesn't, welp. π
also important β attributes that are already present in the 3D image do not get overwritten. the 3D image keeps its originals, periodt. π
π OPTIONS π
-i,--in-file=(required, input); ioβ the input image(s) to be filtered. for supported file types seePLUGINS:3dimage/io-o,--out-file=(output, required); ioβ the output image(s) with the added attributes. for supported file types seePLUGINS:3dimage/io-a,--attr=(required, input); ioβ the 2D image providing the attributes. for supported file types seePLUGINS:2dimage/io
π«Ά Help & Info π«Ά
-V,--verbose=warningβ how chatty the output is: it prints messages of the given level and every priority above it. supported priorities, starting at the lowest level, are:traceβ Function call tracedebugβ Debug outputinfoβ Low level messagesmessageβ Normal messageswarningβ Warningsfailβ Report test failureserrorβ Report errorsfatalβ Report only fatal errors
--copyrightβ print copyright information-h,--helpβ print this help-?,--usageβ print a short help--versionβ print the version number and exit
π Processing π
--threads=-1β maxiumum number of threads to use for processing. this number should be lower or equal to the number of logical processor cores in the machine. (-1: automatic estimation).
π PLUGINS: 2dimage/io π
bmpβ BMP 2D-image input/output support. The plug-in supports reading and writing of binary images and 8-bit gray scale images. read-only support is provided for 4-bit gray scale images. The color table is ignored and the pixel values are taken as literal gray scale values.- Recognized file extensions:
.BMP,.bmp - Supported element types: binary data, unsigned 8 bit
- Recognized file extensions:
datapoolβ Virtual IO to and from the internal data pool- Recognized file extensions:
.@
- Recognized file extensions:
dicomβ 2D image io for DICOM- Recognized file extensions:
.DCM,.dcm - Supported element types: signed 16 bit, unsigned 16 bit
- Recognized file extensions:
exrβ a 2dimage io plugin for OpenEXR images- Recognized file extensions:
.EXR,.exr - Supported element types: unsigned 32 bit, floating point 32 bit
- Recognized file extensions:
jpgβ a 2dimage io plugin for jpeg gray scale images- Recognized file extensions:
.JPEG,.JPG,.jpeg,.jpg - Supported element types: unsigned 8 bit
- Recognized file extensions:
pngβ a 2dimage io plugin for png images- Recognized file extensions:
.PNG,.png - Supported element types: binary data, unsigned 8 bit, unsigned 16 bit
- Recognized file extensions:
rawβ RAW 2D-image output support- Recognized file extensions:
.RAW,.raw - Supported element types: binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit
- Recognized file extensions:
tifβ TIFF 2D-image input/output support- Recognized file extensions:
.TIF,.TIFF,.tif,.tiff - Supported element types: binary data, unsigned 8 bit, unsigned 16 bit, unsigned 32 bit
- Recognized file extensions:
vistaβ a 2dimage io plugin for vista images- Recognized file extensions:
.-,.V,.VISTA,.v,.vista - Supported element types: binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit
- Recognized file extensions:
π PLUGINS: 3dimage/io π
analyzeβ Analyze 7.5 image- Recognized file extensions:
.HDR,.hdr - Supported element types: unsigned 8 bit, signed 16 bit, signed 32 bit, floating point 32 bit, floating point 64 bit
- Recognized file extensions:
datapoolβ Virtual IO to and from the internal data pool- Recognized file extensions:
.@
- Recognized file extensions:
dicomβ Dicom image series as 3D- Recognized file extensions:
.DCM,.dcm - Supported element types: signed 16 bit, unsigned 16 bit
- Recognized file extensions:
hdf5β HDF5 3D image IO- Recognized file extensions:
.H5,.h5 - Supported element types: binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, signed 64 bit, unsigned 64 bit, floating point 32 bit, floating point 64 bit
- Recognized file extensions:
inriaβ INRIA image- Recognized file extensions:
.INR,.inr - Supported element types: signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit
- Recognized file extensions:
mhdβ MetaIO 3D image IO using the VTK implementation (experimental).- Recognized file extensions:
.MHA,.MHD,.mha,.mhd - Supported element types: signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit
- Recognized file extensions:
niftiβ NIFTI-1 3D image IO. The orientation is transformed in the same way like it is done withdicomtonifti --no-reorderfrom the vtk-dicom package.- Recognized file extensions:
.NII,.nii - Supported element types: signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, signed 64 bit, unsigned 64 bit, floating point 32 bit, floating point 64 bit
- Recognized file extensions:
vffβ VFF Sun raster format- Recognized file extensions:
.VFF,.vff - Supported element types: unsigned 8 bit, signed 16 bit
- Recognized file extensions:
vistaβ Vista 3D- Recognized file extensions:
.-,.V,.VISTA,.v,.vista - Supported element types: binary data, signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit
- Recognized file extensions:
vtiβ 3D image VTK-XML in- and output (experimental).- Recognized file extensions:
.VTI,.vti - Supported element types: signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit
- Recognized file extensions:
vtkβ 3D VTK image legacy in- and output (experimental).- Recognized file extensions:
.VTK,.VTKIMAGE,.vtk,.vtkimage - Supported element types: signed 8 bit, unsigned 8 bit, signed 16 bit, unsigned 16 bit, signed 32 bit, unsigned 32 bit, floating point 32 bit, floating point 64 bit
- Recognized file extensions:
β EXAMPLE β
Append the attributes found in 2d.v to 3d.v and store the result in attr3d.v
mia-3dimageaddattributes -i 3d.v -o attr3d.v -a 2d.v
π AUTHOR(s) π
Gert Wollny
π COPYRIGHT π
This software is Copyright (c) 1999β2015 Leipzig, Germany and Madrid, Spain. It comes with ABSOLUTELY NO WARRANTY and you may redistribute it under the terms of the GNU GENERAL PUBLIC LICENSE Version 3 (or later). For more information run the program with the option --copyright.
and that's the whole page bestie, we ate and left no crumbs π this lil icon was living under USER COMMANDS, version v2.4.7, signed off as mia-3dimageaddattributes(1) β go forth and add those attributes, you main character π¦β¨
π¦ where this page comes from
- debian bookworm: mia-tools 2.4.7-11+b1 Β· GPL-3.0-or-later
- ubuntu noble: mia-tools 2.4.7-13build4 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms