MrSID Decode SDK for Raster Reference Manual  9.5.5.5244
lti_watermarkFilter.h
Go to the documentation of this file.
1 //
2 // This code is property of Celartem, Inc dba Extensis.
3 // Copyright (c) 1995-2023. All rights reserved.
4 // Use permitted only under license from Extensis.
5 //
6 /* PUBLIC */
7 
8 #ifndef LTI_WATERMARKFILTER_H
9 #define LTI_WATERMARKFILTER_H
10 
11 // lt_lib_mrsid_core
12 #include "lti_imageFilter.h"
13 
14 
15 LT_BEGIN_LIZARDTECH_NAMESPACE
16 
17 class LTIEmbeddedImage;
18 
25 {
27 public:
46  LTIImageStage* watermarkImage,
47  LTIPosition position,
48  lt_uint32 edgePadding);
49 
51  LTIImageStage* watermarkImage,
52  float transparency,
53  LTIPosition position,
54  lt_uint32 edgePadding);
55 
56  // LTIImageStage
57  virtual lt_uint32 getModifications(const LTIScene &scene) const;
58 
59 protected:
60  LT_STATUS decodeBegin(const LTIPixel &pixelProps,
61  const LTIScene &fullScene);
63  const LTIScene &stripScene);
65 
66 private:
67  LTIEmbeddedImage *m_watermark;
68 };
69 
70 
71 LT_END_LIZARDTECH_NAMESPACE
72 
73 #endif // LTI_WATERMARKFILTER_H
lt_uint32 LT_STATUS
An integral status code.
Definition: lt_status.h:30
unsigned int lt_uint32
unsigned 32-bit integer
Definition: lt_types.h:44
#define LTI_REFERENCE_COUNTED_BOILERPLATE(classname)
LTIPosition
well-known points
Definition: lti_types.h:128
create a larger frame for the image
abstract class for implementing an image transform
abstract class for decoding from an image
basic properties of a pixel
Definition: lti_pixel.h:32
representation of a scene
Definition: lti_scene.h:60
class to hold data passed between image stages
insert a watermark image onto an image
LT_STATUS initialize(LTIImageStage *srcImage, LTIImageStage *watermarkImage, float transparency, LTIPosition position, lt_uint32 edgePadding)
LT_STATUS decodeBegin(const LTIPixel &pixelProps, const LTIScene &fullScene)
start strip-based read
LT_STATUS initialize(LTIImageStage *srcImage, LTIImageStage *watermarkImage, LTIPosition position, lt_uint32 edgePadding)
initializer
virtual lt_uint32 getModifications(const LTIScene &scene) const
get the modification bitfield for this image
LT_STATUS decodeStrip(LTISceneBuffer &stripBuffer, const LTIScene &stripScene)
read a strip from the image
LT_STATUS decodeEnd(void)
finish strip-based read

Extensis