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
15LT_BEGIN_LIZARDTECH_NAMESPACE
16
18
25{
27public:
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
59protected:
60 LT_STATUS decodeBegin(const LTIPixel &pixelProps,
61 const LTIScene &fullScene);
63 const LTIScene &stripScene);
65
66private:
67 LTIEmbeddedImage *m_watermark;
68};
69
70
71LT_END_LIZARDTECH_NAMESPACE
72
73#endif // LTI_WATERMARKFILTER_H
#define LTI_REFERENCE_COUNTED_BOILERPLATE(classname)
LTIPosition
well-known points
Definition: lti_types.h:128
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
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