dcmimgle/include/dimo1img.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
#ifndef DIMO1IMG_H
00035
#define DIMO1IMG_H
00036
00037
#include "osconfig.h"
00038
#include "dctypes.h"
00039
00040
#include "dimoimg.h"
00041
00042
00043
00044
00045
00046
00049 class DiMono1Image
00050 :
public DiMonoImage
00051 {
00052
00053
public:
00054
00060
DiMono1Image(
const DiDocument *docu,
00061
const EI_Status status);
00062
00065
virtual ~DiMono1Image();
00066
00070 virtual EP_Interpretation
getInternalColorModel()
const
00071
{
00072
return EPI_Monochrome1;
00073 }
00074
00084
virtual const void *
getOutputData(
const unsigned long frame,
00085
const int bits,
00086
const int planar = 0);
00087
00099
virtual int getOutputData(
void *buffer,
00100
const unsigned long size,
00101
const unsigned long frame,
00102
const int bits,
00103
const int planar = 0);
00104
00112
DiImage *
createImage(
const unsigned long fstart,
00113
const unsigned long fcount)
const;
00114
00133
DiImage *
createScale(
const signed long left_pos,
00134
const signed long top_pos,
00135
const unsigned long clip_width,
00136
const unsigned long clip_height,
00137
const unsigned long scale_width,
00138
const unsigned long scale_height,
00139
const int interpolate,
00140
const int aspect,
00141
const Uint16 pvalue)
const;
00142
00150
DiImage *
createFlip(
const int horz,
00151
const int vert)
const;
00152
00159
DiImage *
createRotate(
const int degree)
const;
00160
00170
DiImage *
createMono(
const double dummy1,
00171
const double dummy2,
00172
const double dummy3)
const;
00173
00174
00175
protected:
00176
00183
DiMono1Image(
const DiMonoImage *image,
00184
const unsigned long fstart,
00185
const unsigned long fcount);
00186
00204
DiMono1Image(
const DiMonoImage *image,
00205
const signed long left_pos,
00206
const signed long top_pos,
00207
const Uint16 src_cols,
00208
const Uint16 src_rows,
00209
const Uint16 dest_cols,
00210
const Uint16 dest_rows,
00211
const int interpolate = 0,
00212
const int aspect = 0,
00213
const Uint16 pvalue = 0);
00214
00221
DiMono1Image(
const DiMonoImage *image,
00222
const int horz,
00223
const int vert);
00224
00230
DiMono1Image(
const DiMonoImage *image,
00231
const int degree);
00232 };
00233
00234
00235
#endif
00236
00237
00238
00239
00240
00241
00242
00243
00244
00245
00246
00247
00248
00249
00250
00251
00252
00253
00254
00255
00256
00257
00258
00259
00260
00261
00262
00263
00264
00265
00266
00267
00268
00269
00270
00271
00272
00273
00274
00275
00276
00277
00278
00279
00280
00281
00282
00283
00284
00285
00286
00287
00288
00289
00290
00291
00292
Generated on 4 Nov 2004 for OFFIS DCMTK Version 3.5.3 by Doxygen 1.3.8