OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmjpeg
include
dcmtk
dcmjpeg
dipijpeg.h
1
/*
2
*
3
* Copyright (C) 2001-2010, OFFIS e.V.
4
* All rights reserved. See COPYRIGHT file for details.
5
*
6
* This software and supporting documentation were developed by
7
*
8
* OFFIS e.V.
9
* R&D Division Health
10
* Escherweg 2
11
* D-26121 Oldenburg, Germany
12
*
13
*
14
* Module: dcmjpeg
15
*
16
* Author: Joerg Riesmeier
17
*
18
* Purpose: Implements JPEG interface for plugable image formats
19
*
20
* Last Update: $Author: joergr $
21
* Update Date: $Date: 2010-10-14 13:17:16 $
22
* CVS/RCS Revision: $Revision: 1.5 $
23
* Status: $State: Exp $
24
*
25
* CVS/RCS Log at end of file
26
*
27
*/
28
29
30
#ifndef DIPIJPEG_H
31
#define DIPIJPEG_H
32
33
#include "dcmtk/config/osconfig.h"
34
35
#include "dcmtk/dcmimgle/diplugin.h"
36
#include "dcmtk/dcmjpeg/djutils.h"
37
38
39
/*------------------------*
40
* forward declarations *
41
*------------------------*/
42
43
class
DiImage
;
44
45
46
/*---------------------*
47
* class declaration *
48
*---------------------*/
49
52
class
DiJPEGPlugin
53
:
public
DiPluginFormat
54
{
55
56
public
:
57
60
DiJPEGPlugin
();
61
64
virtual
~DiJPEGPlugin
();
65
72
virtual
int
write
(
DiImage
*image,
73
FILE *stream,
74
const
unsigned
long
frame = 0)
const
;
75
79
void
setQuality
(
const
unsigned
int
quality);
80
87
void
setSampling
(
const
E_SubSampling sampling);
88
93
void
outputMessage
(
void
*arg)
const
;
94
99
static
OFString
getLibraryVersionString
();
100
101
102
private
:
103
105
unsigned
int
Quality
;
107
E_SubSampling
Sampling
;
108
};
109
110
111
#endif
112
113
114
/*
115
*
116
* CVS/RCS Log:
117
* $Log: dipijpeg.h,v $
118
* Revision 1.5 2010-10-14 13:17:16 joergr
119
* Updated copyright header. Added reference to COPYRIGHT file.
120
*
121
* Revision 1.4 2005-12-08 16:59:10 meichel
122
* Changed include path schema for all DCMTK header files
123
*
124
* Revision 1.3 2003/12/05 10:42:54 joergr
125
* Removed leading underscore characters from preprocessor symbols (reserved
126
* symbols). Updated copyright date where appropriate.
127
*
128
* Revision 1.2 2002/09/19 08:36:18 joergr
129
* Added static method getLibraryVersionString().
130
*
131
* Revision 1.1 2001/11/27 18:25:39 joergr
132
* Added support for plugable output formats in class DicomImage. First
133
* implementation is JPEG.
134
*
135
*
136
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2