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: dcmjpeg 00015 * 00016 * Author: Marco Eichelberg 00017 * 00018 * Purpose: Codec class for encoding JPEG Spectral Selection (lossy, 8/12-bit) 00019 * 00020 * Last Update: $Author: joergr $ 00021 * Update Date: $Date: 2010-10-14 13:17:17 $ 00022 * CVS/RCS Revision: $Revision: 1.3 $ 00023 * Status: $State: Exp $ 00024 * 00025 * CVS/RCS Log at end of file 00026 * 00027 */ 00028 00029 #ifndef DJENCSPS_H 00030 #define DJENCSPS_H 00031 00032 #include "dcmtk/config/osconfig.h" 00033 #include "dcmtk/dcmjpeg/djcodece.h" /* for class DJCodecEncoder */ 00034 00035 00038 class DJEncoderSpectralSelection : public DJCodecEncoder 00039 { 00040 public: 00041 00043 DJEncoderSpectralSelection(); 00044 00046 virtual ~DJEncoderSpectralSelection(); 00047 00052 virtual E_TransferSyntax supportedTransferSyntax() const; 00053 00054 private: 00055 00060 virtual OFBool isLosslessProcess() const; 00061 00072 virtual void createDerivationDescription( 00073 const DcmRepresentationParameter * toRepParam, 00074 const DJCodecParameter *cp, 00075 Uint8 bitsPerSample, 00076 double ratio, 00077 OFString& derivationDescription) const; 00078 00086 virtual DJEncoder *createEncoderInstance( 00087 const DcmRepresentationParameter * toRepParam, 00088 const DJCodecParameter *cp, 00089 Uint8 bitsPerSample) const; 00090 00091 }; 00092 00093 #endif 00094 00095 /* 00096 * CVS/RCS Log 00097 * $Log: djencsps.h,v $ 00098 * Revision 1.3 2010-10-14 13:17:17 joergr 00099 * Updated copyright header. Added reference to COPYRIGHT file. 00100 * 00101 * Revision 1.2 2005-12-08 16:59:34 meichel 00102 * Changed include path schema for all DCMTK header files 00103 * 00104 * Revision 1.1 2001/11/13 15:56:28 meichel 00105 * Initial release of module dcmjpeg 00106 * 00107 * 00108 */