|
|
| DcmRLECodecEncoder () |
| | default constructor
|
| |
|
virtual | ~DcmRLECodecEncoder () |
| | destructor
|
| |
| virtual OFCondition | decode (const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *pixSeq, DcmPolymorphOBOW &uncompressedPixelData, const DcmCodecParameter *cp, const DcmStack &objStack, OFBool &removeOldRep) const |
| | decompresses the given pixel sequence and stores the result in the given uncompressedPixelData element. More...
|
| |
| virtual OFCondition | decodeFrame (const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, Uint32 frameNo, Uint32 &startFragment, void *buffer, Uint32 bufSize, OFString &decompressedColorModel) const |
| | decompresses a single frame from the given pixel sequence and stores the result in the given buffer. More...
|
| |
| virtual OFCondition | encode (const Uint16 *pixelData, const Uint32 length, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, const DcmCodecParameter *cp, DcmStack &objStack, OFBool &removeOldRep) const |
| | compresses the given uncompressed DICOM image and stores the result in the given pixSeq element. More...
|
| |
| virtual OFCondition | encode (const E_TransferSyntax fromRepType, const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *fromPixSeq, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&toPixSeq, const DcmCodecParameter *cp, DcmStack &objStack, OFBool &removeOldRep) const |
| | transcodes (re-compresses) the given compressed DICOM image and stores the result in the given toPixSeq element. More...
|
| |
| virtual OFBool | canChangeCoding (const E_TransferSyntax oldRepType, const E_TransferSyntax newRepType) const |
| | checks if this codec is able to convert from the given current transfer syntax to the given new transfer syntax More...
|
| |
| virtual OFCondition | determineDecompressedColorModel (const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, OFString &decompressedColorModel) const |
| | determine color model of the decompressed image More...
|
| |
|
| DcmCodec () |
| | default constructor
|
| |
|
virtual | ~DcmCodec () |
| | destructor
|
| |
| virtual OFCondition | decode (const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *pixSeq, DcmPolymorphOBOW &uncompressedPixelData, const DcmCodecParameter *cp, const DcmStack &objStack, OFBool &removeOldRep) const =0 |
| | decompresses the given pixel sequence and stores the result in the given uncompressedPixelData element. More...
|
| |
| virtual OFCondition | decodeFrame (const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, Uint32 frameNo, Uint32 &startFragment, void *buffer, Uint32 bufSize, OFString &decompressedColorModel) const =0 |
| | decompresses a single frame from the given pixel sequence and stores the result in the given buffer. More...
|
| |
| virtual OFCondition | encode (const Uint16 *pixelData, const Uint32 length, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&pixSeq, const DcmCodecParameter *cp, DcmStack &objStack, OFBool &removeOldRep) const =0 |
| | compresses the given uncompressed DICOM image and stores the result in the given pixSeq element. More...
|
| |
| virtual OFCondition | encode (const E_TransferSyntax fromRepType, const DcmRepresentationParameter *fromRepParam, DcmPixelSequence *fromPixSeq, const DcmRepresentationParameter *toRepParam, DcmPixelSequence *&toPixSeq, const DcmCodecParameter *cp, DcmStack &objStack, OFBool &removeOldRep) const =0 |
| | transcodes (re-compresses) the given compressed DICOM image and stores the result in the given toPixSeq element. More...
|
| |
| virtual OFBool | canChangeCoding (const E_TransferSyntax oldRepType, const E_TransferSyntax newRepType) const =0 |
| | checks if this codec is able to convert from the given current transfer syntax to the given new transfer syntax More...
|
| |
| virtual OFCondition | determineDecompressedColorModel (const DcmRepresentationParameter *fromParam, DcmPixelSequence *fromPixSeq, const DcmCodecParameter *cp, DcmItem *dataset, OFString &decompressedColorModel) const =0 |
| | determine color model of the decompressed image More...
|
| |
|
| static OFCondition | insertStringIfMissing (DcmItem *dataset, const DcmTagKey &tag, const char *val) |
| | helper function that inserts a string attribute with a given value into a dataset if missing in the dataset. More...
|
| |
| static OFCondition | convertToSecondaryCapture (DcmItem *dataset) |
| | helper function that converts a dataset containing a DICOM image into a valid (standard extended) Secondary Capture object by inserting all attributes that are type 1/2 in Secondary Capture and missing in the source dataset. More...
|
| |
| static OFCondition | newInstance (DcmItem *dataset, const char *purposeOfReferenceCodingScheme=NULL, const char *purposeOfReferenceCodeValue=NULL, const char *purposeOfReferenceCodeMeaning=NULL) |
| | create new SOP Instance UID and Source Image Sequence referencing the old SOP instance (if present) More...
|
| |
| static OFCondition | updateImageType (DcmItem *dataset) |
| | update value of the Image Type element (if needed). More...
|
| |
| static OFCondition | insertCodeSequence (DcmItem *dataset, const DcmTagKey &tagKey, const char *codingSchemeDesignator, const char *codeValue, const char *codeMeaning) |
| | insert code sequence into the given dataset More...
|
| |
| static OFCondition | determineStartFragment (Uint32 frameNo, Sint32 numberOfFrames, DcmPixelSequence *fromPixSeq, Uint32 ¤tItem) |
| | determine the index number (starting with zero) of the compressed pixel data fragment corresponding to the given frame (also starting with zero) More...
|
| |
encoder class for RLE.
This class only supports compression, it neither implements decoding nor transcoding.