imlib3d-config
program
to get compile and link flags. For example: imlib3d-config --cflags
will give you
the flags needed to compile a program using ImLib3D. imlib3d-config --libs
will give you
the flags needed to link a program using ImLib3D. If you have installed the shared libraries
(default) in a non standrad location, make sure your$LD_LIBRARY_PATH
points to the
correct "lib" directory.
<p>Then try out the command line processor. For correct operation, you should create an empty directory somwhere
copy the bin/ImageProcessorsDescription.xml into it, and make your IMLIB3D_PLUGIN_PATH
environment variable
point to that directory. Try imlib3d --help
and imlib3d --list
. The latter will
give you a complete list of all processors. If you type imlib3d aProcessorName
you will
get a description for that processor.
You probably will want to acces images that are in another 3D image format. If you have
AVW (analyze) images you can convert them using the ReadFromFileAVW processor:
imlib3d ReadFromFileAVW myavwimage newimage.im3D
.
Otherwise, usually you can get raw
binary data from your image format. You can then use the ImageFromRawData processor to create
an ImLib3D image from the raw data. For example, if your raw image is made of unsigned bytes and
it's size is then you could use: (Mask3D is an image of unsigned bytes)
imlib3d ImageFromRawData Mask3D rawdatafile 128 128 128 XYZ res.im3D imlib3dview res.im3D