#include <AnImageOp.hpp>
Inheritance diagram for AnImageOp:
Purpose: Define the concept of standart image operations.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
AnImageOp () | |
virtual | ~AnImageOp () |
virtual int | getChannelDepth () |
virtual void | setChannelDepth (int val) |
virtual bool | getLuminanceFlag () |
virtual void | setLuminanceFlag (bool autoGrey=true) |
virtual AbsLimiter * | getLimiter () |
virtual void | setLimiter (AbsLimiter *alimiter=0) |
virtual int | getMaskValue () |
current mask id for specific restoration, default is 255 | |
virtual void | setMaskValue (int value) |
set mask id for specific restoration | |
virtual void | setMask (int n, int *xp, int *yp) |
virtual AnImage * | filter (AnImage *src, AnImage *dest=0)=0 |
Local full image filtering. | |
virtual AnImage * | filter (AR3ChannelConverter *convertor, AnImage *src, AnImage *dest=0) |
Local full image filtering with color model conversions. | |
virtual AnImage * | selectedFilter (AnImage *mask, AnImage *src, AnImage *dest=0) |
Local filtering in a mask area. | |
virtual AnImage * | selectedFilter (AR3ChannelConverter *convertor, AnImage *mask, AnImage *src, AnImage *dest=0) |
Local filtering in a mask area with color model conversions. | |
virtual void | report (FILE *file) |
Protected Methods | |
virtual void | loadMask (AnImage &mask) |
loading a mask | |
virtual void | unloadMask () |
remove a mask | |
Protected Attributes | |
int | channelDepth |
bool | autoLuminanceFlag |
AbsLimiter * | limiter |
int | maskValue |
Mask Id: default 255 [1..255]. | |
int | nMask |
number mask cells | |
int * | xm |
x mask cells positions | |
int * | ym |
y mask cells positions |
|
Local full image filtering with color model conversions.
Reimplemented in IFMultiImageOp, and IMultiImageOp. |
|
|
loading a mask
|
|
Local filtering in a mask area with color model conversions.
Reimplemented in IFMultiImageOp, and IMultiImageOp. |
|
Local filtering in a mask area.
Reimplemented in AxiomaticMRInpainting, BertalmioInpainting, CDDInpainting, DistanceFMM, DistanceFMM1, DistanceFMM_O2, DTransportFMM, EulerElasticaInpainting, GammaOp, ICAosPeronaOp, ICMultiImageOp, ICShockOp, ICThomasHeatOp, IEikonalFastSweepingOp, IFMultiImageOp, IGilbaoComplexDiffOp, IHJFastSweepingOp, IMultiImageOp, Local_Ex2, MDistanceFMM, MImageSequenceOp, MultiResolutionInpainting, OliveiraInpainting, SimilarPixelFMM, TVInpainting, and TVInpainting_S2. |