Woolz Image Processing
Version 1.8.3
|
Functions for reading and writting Woolz objects to the NIfTI format. More...
Functions | |
WlzObject * | WlzEffReadObjNifti (const char *gvnFileName, int sTrans, int gTrans, WlzErrorNum *dstErr) |
Reads a Woolz object from the given stream using the NIfTI format. In some cases (for example when the NIfTI object has complex values) a compound object may be returned. A text property is created for the returned object, containing various fields of the NIfTI header, some of which may not be used in the conversion. The qform transform/quaternion, mapping the image to it's source (scanner) coordinates is copied text property but no transform is either created of applied for it. The sform transform/quaternion is always applied if the parameter flag is set, otherwise it ionly is applied if it is a pure translation. If the sform transform is not applied then it will (if not an identity transform) be used to create a trans-obj. If affine transforms are applied then WLZ_INTERPOLATION_NEAREST is used. NIfTI allows the linear transformation of grey values. This will only be applied if the parameter flag is set. The grey scaling will result in floating point image grey values. More... | |
WlzErrorNum | WlzEffWriteObjNifti (const char *gvnFileName, WlzObject *obj) |
Writes the given Woolz object to the given file(s) using the NIfTI file format. More... | |
Functions for reading and writting Woolz objects to the NIfTI format.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.