00001 /* 00002 * 00003 * Copyright (C) 1997-2010, OFFIS e.V. 00004 * All rights reserved. See COPYRIGHT file for details. 00005 * 00006 * This software and supporting documentation were developed by 00007 * 00008 * OFFIS e.V. 00009 * R&D Division Health 00010 * Escherweg 2 00011 * D-26121 Oldenburg, Germany 00012 * 00013 * 00014 * Module: dcmjpls 00015 * 00016 * Author: Martin Willkomm 00017 * 00018 * Purpose: representation parameters for JPEG-LS 00019 * 00020 * Last Update: $Author: joergr $ 00021 * Update Date: $Date: 2010-10-14 13:17:19 $ 00022 * CVS/RCS Revision: $Revision: 1.4 $ 00023 * Status: $State: Exp $ 00024 * 00025 * CVS/RCS Log at end of file 00026 * 00027 */ 00028 00029 #ifndef DCMJPLS_DJRPARAM_H 00030 #define DCMJPLS_DJRPARAM_H 00031 00032 #include "dcmtk/config/osconfig.h" 00033 #include "dcmtk/dcmdata/dcpixel.h" /* for class DcmRepresentationParameter */ 00034 00037 class DJLSRepresentationParameter: public DcmRepresentationParameter 00038 { 00039 public: 00040 00045 DJLSRepresentationParameter( 00046 Uint16 nearlosslessDeviation, 00047 OFBool losslessProcess); 00048 00050 DJLSRepresentationParameter(const DJLSRepresentationParameter& arg); 00051 00053 virtual ~DJLSRepresentationParameter(); 00054 00059 virtual DcmRepresentationParameter *clone() const; 00060 00064 virtual const char *className() const; 00065 00071 virtual OFBool operator==(const DcmRepresentationParameter &arg) const; 00072 00076 Uint16 getnearlosslessDeviation() const 00077 { 00078 return nearlosslessDeviation_; 00079 } 00080 00084 OFBool useLosslessProcess() const 00085 { 00086 return losslessProcess_; 00087 } 00088 00089 private: 00090 00095 Uint16 nearlosslessDeviation_; 00096 00098 OFBool losslessProcess_; 00099 00100 }; 00101 00102 00103 #endif 00104 00105 /* 00106 * CVS/RCS Log: 00107 * $Log: djrparam.h,v $ 00108 * Revision 1.4 2010-10-14 13:17:19 joergr 00109 * Updated copyright header. Added reference to COPYRIGHT file. 00110 * 00111 * Revision 1.3 2010-03-01 10:35:28 uli 00112 * Renamed include guards to avoid name clash with e.g. dcmjpeg. 00113 * 00114 * Revision 1.2 2009-10-07 13:16:47 uli 00115 * Switched to logging mechanism provided by the "new" oflog module. 00116 * 00117 * Revision 1.1 2009-07-29 14:46:46 meichel 00118 * Initial release of module dcmjpls, a JPEG-LS codec for DCMTK based on CharLS 00119 * 00120 * Revision 1.1 2007-06-15 14:35:45 meichel 00121 * Renamed CMake project and include directory from dcmjpgls to dcmjpls 00122 * 00123 * Revision 1.2 2007/06/13 16:41:07 meichel 00124 * Code clean-up and removal of dead code 00125 * 00126 * 00127 */