3/6/2023 0 Comments Fileassistant![]() Transforms YBR pixels, if any, into RGB pixels,.Reads the pixels from disk (uncompress if necessary),.If the image could be converted to RGB using a LUT, this transformation is not taken into account by GetImageDataRawSize (use GetImageDataSize if you wish). Get the size of the image data If the image can be RGB (with a lut or by default), the size corresponds to the RGB image (use GetImageDataRawSize if you want to be sure to get *only* the size of the pixels). InsertSeqEntry (uint16_t group, uint16_t elem)Īdds an empty SeqEntry (remove any existing entry with same group,elem). A copy of the binArea is made to be kept in the Document. Creates it with the given value when unexistant. Modifies the value of a given DataEntry when it exists. InsertEntryBinArea (uint8_t *binArea, int lgth, uint16_t group, uint16_t elem) InsertEntryString (std::string const &content, uint16_t group, uint16_t elem) SetEntryBinArea (uint8_t *content, int lgth, uint16_t group, uint16_t elem) SetEntryString (std::string const &content, uint16_t group, uint16_t elem)Īccesses an existing DataEntry through it's (group, element) and modifies it's content with the given value. To allow user to modify pixel order (e.g. SetUserFunction ( VOID_FUNCTION_PUINT8_PFILE_POINTER userFunc) Sets the LoadMode of the internal gdcm::File. SetFileName (std::string const &fileName) The parser will fail if the size is wrong ! (nothing more, right now) WARNING : before using NO_SHADOW, be sure *all* your files contain accurate values in the 0x0000 element (if any) of *each* Shadow Group. Sets the LoadMode of the internal gdcm::File as a boolean string. Prints the common part of DataEntry, SeqEntry. ![]() Print (std::ostream &os=std::cout, std::string const &indent="") Inheritance diagram for gdcm::FileHelper:Ĭollaboration diagram for gdcm::FileHelper: One can also use it to write Dicom/ACR-NEMA/RAW files. Gdcm:: FileHelper gdcm::FileHelper Class ReferenceIn addition to Dicom header exploration, this class is designed for accessing the image/volume content.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |