![]() If (argc SetFileName(std::string(argv)) Ĭomponent_number = imageIO->GetNumberOfComponents() #include "itkImageFileReader.h" // required!! All this is rather rarely used and difficult to validate. ![]() IMHO, number of dimensions returned by itk::ImageIOBase is correct, but may be i only had luck and didn’t run into problems. Kinds: RGB-color domain domain domain domainĮdit 2: Source is DICOM Supplemental Palette series 3 x 3D multi-frame files (D Clunie), no chance to open with colors with ITK DICOM support, may be Slicer can open in multi-volume mode as scalar, not sureĮdit 3: sorry, formatting was bad and typos, correctedĮ.g., if you have a 3x10x20x3 image then you don’t know if it is a 3D RGB volume, or a time sequence of a 3D scalar volume, and which axis correspond to which dimension. # Complete NRRD file format specification at: To generate them from set of 3D images wrote small function just using iterators. Just create 4D image and appropriate writer. ![]() I have so far no problems with saving 4D images in MetaImage format (scalar or RGB).
0 Comments
Leave a Reply. |