djdecsps.h
来自「转化为DIB位图再显示出来的dicom文件C++代码」· C头文件 代码 · 共 89 行
H
89 行
/* * * Copyright (C) 1997-2005, OFFIS * * This software and supporting documentation were developed by * * Kuratorium OFFIS e.V. * Healthcare Information and Communication Systems * Escherweg 2 * D-26121 Oldenburg, Germany * * THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY * REGARDING THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR * FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES OR * ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND * PERFORMANCE OF THE SOFTWARE IS WITH THE USER. * * Module: dcmjpeg * * Author: Marco Eichelberg * * Purpose: Codec class for decoding JPEG Spectral Selection (lossy, 8/12-bit) * * Last Update: $Author: meichel $ * Update Date: $Date: 2005/12/08 16:59:20 $ * Source File: $Source: /share/dicom/cvs-depot/dcmtk/dcmjpeg/include/dcmtk/dcmjpeg/djdecsps.h,v $ * CVS/RCS Revision: $Revision: 1.2 $ * Status: $State: Exp $ * * CVS/RCS Log at end of file * */#ifndef DJDECSPS_H#define DJDECSPS_H#include "dcmtk/config/osconfig.h"#include "dcmtk/dcmjpeg/djcodecd.h" /* for class DJCodecDecoder *//** Decoder class for JPEG Spectral Selection (lossy, 8/12-bit) */class DJDecoderSpectralSelection : public DJCodecDecoder{public: /// default constructor DJDecoderSpectralSelection(); /// destructor virtual ~DJDecoderSpectralSelection(); /** returns the transfer syntax that this particular codec * is able to encode and decode. * @return supported transfer syntax */ virtual E_TransferSyntax supportedTransferSyntax() const;private: /** creates an instance of the compression library to be used for decoding. * @param toRepParam representation parameter passed to decode() * @param cp codec parameter passed to decode() * @param bitsPerSample bits per sample for the image data * @param isYBR flag indicating whether DICOM photometric interpretation is YCbCr * @return pointer to newly allocated decoder object */ virtual DJDecoder *createDecoderInstance( const DcmRepresentationParameter * toRepParam, const DJCodecParameter *cp, Uint8 bitsPerSample, OFBool isYBR) const;};#endif/* * CVS/RCS Log * $Log: djdecsps.h,v $ * Revision 1.2 2005/12/08 16:59:20 meichel * Changed include path schema for all DCMTK header files * * Revision 1.1 2001/11/13 15:56:21 meichel * Initial release of module dcmjpeg * * */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?