// Borland C++ Builder
// Copyright (c) 1995, 1998 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'ImageEnProc.pas' rev: 3.00

#ifndef ImageEnProcHPP
#define ImageEnProcHPP
#include <iedefs.hpp>
#include <ExtCtrls.hpp>
#include <ImageEnView.hpp>
#include <Dialogs.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <SysUtils.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

//-- user supplied -----------------------------------------------------------

namespace Imageenproc
{
//-- type declarations -------------------------------------------------------
struct TGraphFilter
{
	int Values[3][3];
	int Divisor;
} ;

class DELPHICLASS EFilterInvalid;
class PASCALIMPLEMENTATION EFilterInvalid : public Sysutils::Exception 
{
	typedef Sysutils::Exception inherited;
	
public:
	/* Exception.Create */ __fastcall EFilterInvalid(const System::AnsiString Msg) : Sysutils::Exception(
		Msg) { }
	/* Exception.CreateFmt */ __fastcall EFilterInvalid(const System::AnsiString Msg, const System::TVarRec 
		* Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
	/* Exception.CreateRes */ __fastcall EFilterInvalid(int Ident, Extended Dummy) : Sysutils::Exception(
		Ident, Dummy) { }
	/* Exception.CreateResFmt */ __fastcall EFilterInvalid(int Ident, const System::TVarRec * Args, const 
		int Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
	/* Exception.CreateHelp */ __fastcall EFilterInvalid(const System::AnsiString Msg, int AHelpContext
		) : Sysutils::Exception(Msg, AHelpContext) { }
	/* Exception.CreateFmtHelp */ __fastcall EFilterInvalid(const System::AnsiString Msg, const System::TVarRec 
		* Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
		) { }
	/* Exception.CreateResHelp */ __fastcall EFilterInvalid(int Ident, int AHelpContext) : Sysutils::Exception(
		Ident, AHelpContext) { }
	/* Exception.CreateResFmtHelp */ __fastcall EFilterInvalid(int Ident, const System::TVarRec * Args, 
		const int Args_Size, int AHelpContext) : Sysutils::Exception(Ident, Args, Args_Size, AHelpContext)
		 { }
	
public:
	/* TObject.Destroy */ __fastcall virtual ~EFilterInvalid(void) { }
	
};

enum TFlipDir { fdHorizontal, fdVertical };

struct THistogramItem
{
	int R;
	int G;
	int B;
	int Gray;
} ;

typedef THistogramItem THistogram[256];

typedef THistogram *PHistogram;

enum ImageEnProc__2 { peAll, peContrast, peHSV, peHSL, peRGB, peUserFilt, peEqualize, peBumpMap, peLens, 
	peWave };

typedef Set<ImageEnProc__2, peAll, peWave>  TPreviewEffects;

enum TPRPreviewsParamsItems { prppDefaultLockPreview };

typedef Set<TPRPreviewsParamsItems, prppDefaultLockPreview, prppDefaultLockPreview>  TPRPreviewsParams
	;

enum TIEFilterPresets { fpNone, fpBlur, fpEdge, fpEmboss, fpHighPass1, fpHighPass2, fpHighPass3, LowPass1, 
	LowPass2 };

class DELPHICLASS TImageEnProc;
class PASCALIMPLEMENTATION TImageEnProc : public Classes::TComponent 
{
	typedef Classes::TComponent inherited;
	
private:
	bool fAutoUndo;
	Imageenview::TIEView* fImageEnView;
	int fSelx1;
	int fSely1;
	int fSelx2;
	int fSely2;
	Graphics::TColor fBackground;
	TMsgLanguage fMsgLanguage;
	TPRPreviewsParams fPreviewsParams;
	Graphics::TFont* fPreviewFont;
	Extctrls::TImage* fTImage;
	void __fastcall SetAttachedBitmap(Graphics::TBitmap* atBitmap);
	void __fastcall SetAttachedImageEn(Imageenview::TIEView* atImageEn);
	Graphics::TColor __fastcall GetReBackground(void);
	void __fastcall SetReBackground(Graphics::TColor v);
	void __fastcall SetPreviewFont(Graphics::TFont* f);
	void __fastcall SetTImage(Extctrls::TImage* v);
	int __fastcall GetSelX1(void);
	int __fastcall GetSelY1(void);
	int __fastcall GetSelX2(void);
	int __fastcall GetSelY2(void);
	void __fastcall SetPRPreviewParams(TPRPreviewsParams v);
	TPRPreviewsParams __fastcall GetPRPreviewParams(void);
	bool __fastcall GetCanUndo(void);
	
protected:
	Graphics::TBitmap* fUndoBitmap;
	Graphics::TBitmap* fBitmap;
	Iedefs::TProgressEvent fOnProgress;
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
		);
	void __fastcall OnBitmapChange(System::TObject* Sender);
	
public:
	__fastcall virtual TImageEnProc(Classes::TComponent* Owner);
	__fastcall virtual ~TImageEnProc(void);
	__property Graphics::TBitmap* AttachedBitmap = {read=fBitmap, write=SetAttachedBitmap};
	void __fastcall Update(void);
	void __fastcall Negative(void);
	void __fastcall HSLvar(int oHue, int oSat, int oLum);
	void __fastcall HSVvar(int oHue, int oSat, int oVal);
	void __fastcall IntensityRGBall(int r, int g, int b);
	void __fastcall Contrast(int vv);
	void __fastcall ApplyFilter(const TGraphFilter &filter);
	void __fastcall ApplyFilterPreset(TIEFilterPresets filter);
	void __fastcall ConvertToGray(void);
	void __fastcall CastColorRange(Iedefs::TRGB BeginColor, Iedefs::TRGB EndColor, Iedefs::TRGB CastColor
		);
	void __fastcall Rotate(int fangle, bool antialias);
	void __fastcall Flip(TFlipDir dir);
	void __fastcall ImageResize(int newWidth, int newHeight);
	void __fastcall Resample(int NewWidth, int NewHeight, Iedefs::TResampleFilter FilterType);
	bool __fastcall DoPreviews(TPreviewEffects pe);
	void __fastcall Clear(void);
	void __fastcall ClearSel(void);
	void __fastcall Merge(Graphics::TBitmap* DBitmap, int pcf);
	void __fastcall Threshold(Iedefs::TRGB DownLimit, Iedefs::TRGB UpLimit, Iedefs::TRGB DownVal, Iedefs::TRGB 
		UpVal);
	void __fastcall HistEqualize(Iedefs::TRGB LoThresh, Iedefs::TRGB HiThresh);
	void __fastcall HistAutoEqualize(void);
	void __fastcall CropSel(void);
	void __fastcall BumpMapping(int LightX, int LightY, int LampX, int LampY, int pcf, Iedefs::TRGB Color
		);
	void __fastcall Lens(int cx, int cy, int Width, int Height, double Refraction);
	void __fastcall Wave(int amplitude, int wavelength, int phase, bool reflective);
	void __fastcall ConvertToBWOrdered(void);
	void __fastcall ConvertToBWThreshold(int Threshold);
	void __fastcall ConvertTo24Bit(void);
	void __fastcall ConvertToPalette(int NumColors, Iedefs::pRGBROW Palette);
	void __fastcall ConvertTo(int NumColors);
	int __fastcall WriteHiddenText(System::AnsiString text);
	int __fastcall WriteHiddenData(char * data, int count);
	void __fastcall GetHistogram(THistogramItem * Hist);
	void __fastcall CalcImagePalette(Iedefs::TRGB * Palette, const int Palette_Size, int MaxCol);
	int __fastcall CalcImageNumColors(void);
	Graphics::TBitmap* __fastcall GetHSVChannel(int ch);
	void __fastcall GetHSVChannelAll(Graphics::TBitmap* BitmapH, Graphics::TBitmap* BitmapS, Graphics::TBitmap* 
		BitmapV);
	System::AnsiString __fastcall ReadHiddenText(void);
	int __fastcall ReadHiddenData(char * data, int maxlen);
	int __fastcall GetHiddenDataSpace(void);
	virtual void __fastcall SaveUndo(void);
	void __fastcall ClearUndo(void);
	virtual void __fastcall Undo(void);
	__property bool CanUndo = {read=GetCanUndo, nodefault};
	void __fastcall SelCopyToClip(void);
	void __fastcall CopyToClipboard(void);
	void __fastcall SelPasteFromClipStretch(void);
	void __fastcall PasteFromClipboard(void);
	void __fastcall PointPasteFromClip(int x1, int y1);
	void __fastcall SelCutToClip(void);
	__property int SelX1 = {read=GetSelX1, nodefault};
	__property int SelY1 = {read=GetSelY1, nodefault};
	__property int SelX2 = {read=GetSelX2, nodefault};
	__property int SelY2 = {read=GetSelY2, nodefault};
	void __fastcall Select(int x1, int y1, int x2, int y2);
	void __fastcall SelectAll(void);
	bool __fastcall GetReSel(int &fsX1, int &fsY1, int &fsX2, int &fsY2, Imageenview::PPointArray &PolySel
		, int &PolySelCount);
	
__published:
	__property Imageenview::TIEView* AttachedImageEn = {read=fImageEnView, write=SetAttachedImageEn};
	__property bool AutoUndo = {read=fAutoUndo, write=fAutoUndo, default=1};
	__property Graphics::TColor Background = {read=GetReBackground, write=SetReBackground, default=0};
	__property Iedefs::TProgressEvent OnProgress = {read=fOnProgress, write=fOnProgress};
	__property Iedefs::TMsgLanguage MsgLanguage = {read=fMsgLanguage, write=fMsgLanguage, default=0};
	__property TPRPreviewsParams PreviewsParams = {read=GetPRPreviewParams, write=SetPRPreviewParams, default=0
		};
	__property Graphics::TFont* PreviewFont = {read=fPreviewFont, write=SetPreviewFont};
	__property Extctrls::TImage* AttachedTImage = {read=fTImage, write=SetTImage};
};

//-- var, const, procedure ---------------------------------------------------
#define ppeColorAdjust (System::Set<ImageEnProc__2, peAll, peWave> () << peContrast << peHSV << peHSL \
	<< peRGB << peEqualize )
#define ppeEffects (System::Set<ImageEnProc__2, peAll, peWave> () << peUserFilt << peBumpMap << peLens \
	<< peWave )
extern PACKAGE TGraphFilter IEFiltPres[9];
extern PACKAGE Iedefs::TRGB C1TO24[256][8];
extern PACKAGE Iedefs::TRGB __fastcall CreateRGB(Byte r, Byte g, Byte b);
extern PACKAGE int __fastcall _RGBToGray(const Iedefs::TRGB rgb);
extern PACKAGE Graphics::TColor __fastcall TRGB2TColor(Iedefs::TRGB rgb);
extern PACKAGE Graphics::TColor __fastcall RGB2TColor(int r, int g, int b);
extern PACKAGE Iedefs::TRGB __fastcall TColor2TRGB(Graphics::TColor cl);
extern PACKAGE double __fastcall dmin(double v1, double v2);
extern PACKAGE double __fastcall dmax(double v1, double v2);
extern PACKAGE int __fastcall imax(int v1, int v2);
extern PACKAGE int __fastcall imin(int v1, int v2);
extern PACKAGE int __fastcall ilimit(int vv, int min, int max);
extern PACKAGE int __fastcall blimit(int vv);
extern PACKAGE void __fastcall iswap(int &B1, int &B2);
extern PACKAGE bool __fastcall EqualRGB(Iedefs::TRGB rgb1, Iedefs::TRGB rgb2);
extern PACKAGE void __fastcall bswap(Byte &B1, Byte &B2);
extern PACKAGE void __fastcall OrdCor(int &x1, int &y1, int &x2, int &y2);
extern PACKAGE void __fastcall _ApplyFilter(Graphics::TBitmap* bitmap, const TGraphFilter &filter, int 
	fSelx1, int fSely1, int fSelx2, int fSely2, Iedefs::TProgressRec &Progress);
extern PACKAGE int __fastcall _GetMediaContrast(Graphics::TBitmap* bitmap);
extern PACKAGE void __fastcall _HSLvar(Graphics::TBitmap* bitmap, int oHue, int oSat, int oLum, int 
	fSelx1, int fSely1, int fSelx2, int fSely2, Iedefs::TProgressEvent fOnProgress, System::TObject* Sender
	);
extern PACKAGE void __fastcall _HSVvar(Graphics::TBitmap* bitmap, int oHue, int oSat, int oVal, int 
	fSelx1, int fSely1, int fSelx2, int fSely2, Iedefs::TProgressEvent fOnProgress, System::TObject* Sender
	);
extern PACKAGE void __fastcall _Rot90o(Graphics::TBitmap* bakbmp, Graphics::TBitmap* newbitmap);
extern PACKAGE void __fastcall _Rot90(Graphics::TBitmap* bakbmp, Graphics::TBitmap* newbitmap);
extern PACKAGE void __fastcall RGB2HSL(Iedefs::TRGB px, double &Hue, double &Sat, double &Lum);
extern PACKAGE void __fastcall HSL2RGB(Iedefs::TRGB &px, double iHue, double iSat, double iLum);
extern PACKAGE void __fastcall HSV2RGB(Iedefs::TRGB &px, int H, int S, int V);
extern PACKAGE void __fastcall RGB2HSV(Iedefs::TRGB RGB, int &h, int &s, int &v);
extern PACKAGE TGraphFilter __fastcall LoadFilterFromFile(const System::AnsiString nf);
extern PACKAGE void __fastcall SaveFilterToFile(const System::AnsiString nf, const TGraphFilter &filt
	);
extern PACKAGE void __fastcall _ContrastRGB(Graphics::TBitmap* bitmap, int vv, int mR, int mG, int mB
	, int fSelx1, int fSely1, int fSelx2, int fSely2, Iedefs::TProgressEvent fOnProgress, System::TObject* 
	Sender);
extern PACKAGE void __fastcall _Merge(Graphics::TBitmap* bitmap, Graphics::TBitmap* DBitmap, int pcf
	, int fSelx1, int fSely1, int fSelx2, int fSely2, Iedefs::TProgressEvent fOnProgress, System::TObject* 
	Sender);
extern PACKAGE void __fastcall _CastColorRange(Graphics::TBitmap* bitmap, Iedefs::TRGB BeginColor, Iedefs::TRGB 
	EndColor, Iedefs::TRGB CastColor, int fSelx1, int fSely1, int fSelx2, int fSely2, Iedefs::TProgressEvent 
	fOnProgress, System::TObject* Sender);
extern PACKAGE void __fastcall _Threshold(Graphics::TBitmap* bitmap, Iedefs::TRGB DownLimit, Iedefs::TRGB 
	UpLimit, Iedefs::TRGB DownVal, Iedefs::TRGB UpVal, int fSelx1, int fSely1, int fSelx2, int fSely2, 
	Iedefs::TProgressEvent fOnProgress, System::TObject* Sender);
extern PACKAGE void __fastcall _HistAutoEqualize(Graphics::TBitmap* bitmap, int fSelx1, int fSely1, 
	int fSelx2, int fSely2, Iedefs::TProgressEvent fOnProgress, System::TObject* Sender);
extern PACKAGE void __fastcall _HistEqualize(Graphics::TBitmap* bitmap, Iedefs::TRGB LoThresh, Iedefs::TRGB 
	HiThresh, int fSelx1, int fSely1, int fSelx2, int fSely2, Iedefs::TProgressEvent fOnProgress, System::TObject* 
	Sender);
extern PACKAGE void __fastcall _GetMediaContrastRGB(Graphics::TBitmap* bitmap, int &mR, int &mG, int 
	&mB);
extern PACKAGE void __fastcall _GetHistogram(Graphics::TBitmap* Bitmap, THistogramItem * Hist, int fSelx1
	, int fSely1, int fSelx2, int fSely2);
extern PACKAGE int __fastcall _GetImageNumColors(Graphics::TBitmap* bitmap, int fSelx1, int fSely1, 
	int fSelx2, int fSely2);
extern PACKAGE void __fastcall _Contrast(Graphics::TBitmap* bitmap, int vv, int mm, int fSelx1, int 
	fSely1, int fSelx2, int fSely2, Iedefs::TProgressEvent fOnProgress, System::TObject* Sender);
extern PACKAGE Graphics::TBitmap* __fastcall _ConvertTo1bit(Graphics::TBitmap* Bitmap, Iedefs::TRGB 
	&BackCol, Iedefs::TRGB &ForeCol);
extern PACKAGE void __fastcall _IntensityRGBall(Graphics::TBitmap* bitmap, int r, int g, int b, int 
	fSelx1, int fSely1, int fSelx2, int fSely2, Iedefs::TProgressEvent fOnProgress, System::TObject* Sender
	);
extern PACKAGE Graphics::TBitmap* __fastcall _GetHSVChannel(Graphics::TBitmap* bitmap, int ch, Iedefs::TProgressEvent 
	fOnProgress, System::TObject* Sender);
extern PACKAGE int __fastcall _GetSimilColor(const Iedefs::TRGB * ColorMap, const int ColorMap_Size, 
	int nc, Iedefs::TRGB Col);
extern PACKAGE void __fastcall _RGB2BGR(Iedefs::TRGB * ColorMap, const int ColorMap_Size, int nc);
extern PACKAGE void __fastcall _CopyBitmap(Graphics::TBitmap* Source, Graphics::TBitmap* Dest);
extern PACKAGE int __fastcall _CopyBitmaptoDIB(Graphics::TBitmap* fBitmap, int x1, int y1, int x2, int 
	y2);
extern PACKAGE void __fastcall _CopyBits(Windows::PByte Dest, Windows::PByte Source, int DestStart, 
	int SourceStart, int Len);
extern PACKAGE void __fastcall _CopyBitmapRect(Graphics::TBitmap* Source, Graphics::TBitmap* Dest, int 
	x1, int y1, int x2, int y2);
extern PACKAGE void __fastcall _Negative1Bit(Graphics::TBitmap* Bitmap);
extern PACKAGE void __fastcall _Negative(Graphics::TBitmap* bitmap, int fSelx1, int fSely1, int fSelx2
	, int fSely2, Iedefs::TProgressEvent fOnProgress, System::TObject* Sender);
extern PACKAGE bool __fastcall _BitmapCompareX(Graphics::TBitmap* Bitmap1, Graphics::TBitmap* Bitmap2
	);
extern PACKAGE void __fastcall _CopyPolygonBitmap(Graphics::TBitmap* Dest, Graphics::TBitmap* Source
	, int x1, int y1, Imageenview::PPointArray SelPoly, int SelPolyCount);
extern PACKAGE void __fastcall _ClearSel(Graphics::TBitmap* fBitmap, Imageenview::PPointArray SelPoly
	, int SelPolyCount, Graphics::TColor Background);
extern PACKAGE void __fastcall _CopyBitmapPoly(Graphics::TBitmap* Source, Graphics::TBitmap* Dest, int 
	sx1, int sy1, int sx2, int sy2, Imageenview::PPointArray SelPoly, int SelPolyCount);
extern PACKAGE void __fastcall _ConvertTo(Graphics::TBitmap* Bitmap, int NumColors, Iedefs::pRGBROW 
	OutPalette, Iedefs::TProgressEvent fOnProgress, System::TObject* Sender);
extern PACKAGE void __fastcall _ConvertToBWOrdered(Graphics::TBitmap* bitmap, Iedefs::TProgressRec &
	Progress);
extern PACKAGE void __fastcall _ConvertToBWThreshold(Graphics::TBitmap* bitmap, int Threshold, Iedefs::TProgressRec 
	&Progress);
extern PACKAGE void __fastcall _QuickResample(Graphics::TBitmap* Src, Graphics::TBitmap* Dst, Iedefs::TResampleFilter 
	FilterType, Iedefs::TProgressEvent fOnProgress, System::TObject* Sender);
extern PACKAGE void __fastcall _Resample(Graphics::TBitmap* Src, Graphics::TBitmap* Dst, Iedefs::TResampleFilter 
	FilterType, Iedefs::TProgressEvent fOnProgress, System::TObject* Sender);
extern PACKAGE void __fastcall _Conv1to24(Graphics::TBitmap* &SrcBitmap, Graphics::TBitmap* &DstBitmap
	, Iedefs::TProgressRec &Progress);
extern PACKAGE void __fastcall _ConvertToGray(Graphics::TBitmap* bitmap, int fSelx1, int fSely1, int 
	fSelx2, int fSely2, Iedefs::TProgressEvent fOnProgress, System::TObject* Sender);
extern PACKAGE void __fastcall _BumpMapping(Graphics::TBitmap* Bitmap, int LightX, int LightY, int LAmpX
	, int LAmpY, int pcf, Iedefs::TRGB Color, int fselx1, int fsely1, int fselx2, int fsely2, Iedefs::TProgressRec 
	&Progress);
extern PACKAGE void __fastcall _lens(Graphics::TBitmap* Bitmap, int xx, int yy, int width, int height
	, double refraction, Iedefs::TProgressRec &Progress);
extern PACKAGE int __fastcall _GetPixelbw(Windows::PByte row, int pix);
extern PACKAGE void __fastcall _SetPixelbw(Windows::PByte row, int pix, int vv);
extern PACKAGE void __fastcall _rotate1bit(Graphics::TBitmap* fBitmap, double angle, int background, 
	Iedefs::TProgressRec &Progress);
extern PACKAGE void __fastcall _wave(Graphics::TBitmap* Bitmap, int amplitude, int wavelength, int phase
	, bool reflective, Iedefs::TProgressRec &Progress);
extern PACKAGE HPALETTE __fastcall _CreateWinPalette(Iedefs::TRGB * ColorMap, const int ColorMap_Size
	, int NCol);
extern PACKAGE void __fastcall YUV2RGB(int y, int u, int v, Iedefs::TRGB &RGB);
extern PACKAGE void __fastcall _CopyIYU1ToBitmap(Windows::PByte xbits, Graphics::TBitmap* fBitmap, bool 
	dirc);
extern PACKAGE void __fastcall _CopyIYU2ToBitmap(Windows::PByte xbits, Graphics::TBitmap* fBitmap, bool 
	dirc);
extern PACKAGE void __fastcall _CopyUYVYToBitmap(Windows::PByte xbits, Graphics::TBitmap* fBitmap, bool 
	dirc);
extern PACKAGE void __fastcall _CopyYUY2ToBitmap(Windows::PByte xbits, Graphics::TBitmap* fBitmap, bool 
	dirc);
extern PACKAGE void __fastcall _CopyYVYUToBitmap(Windows::PByte xbits, Graphics::TBitmap* fBitmap, bool 
	dirc);
extern PACKAGE void __fastcall _CopyY41PToBitmap(Windows::PByte xbits, Graphics::TBitmap* fBitmap, bool 
	dirc);
extern PACKAGE void __fastcall _CopyY211ToBitmap(Windows::PByte xbits, Graphics::TBitmap* fBitmap, bool 
	dirc);
extern PACKAGE void __fastcall _CopyCLJRToBitmap(Windows::PByte xbits, Graphics::TBitmap* fBitmap, bool 
	dirc);
extern PACKAGE void __fastcall _CopyYVU9ToBitmap(Windows::PByte xbits, Graphics::TBitmap* fBitmap, bool 
	dirc);
extern PACKAGE void __fastcall _CopyYV12ToBitmap(Windows::PByte xbits, Graphics::TBitmap* fBitmap, bool 
	dirc);
extern PACKAGE void __fastcall _CopyI420ToBitmap(Windows::PByte xbits, Graphics::TBitmap* fBitmap, bool 
	dirc);
extern PACKAGE int __fastcall _CopyDIB2Bitmap(int hbi, Graphics::TBitmap* fBitmap, Windows::PByte xbits
	, bool unlck);
extern PACKAGE void __fastcall _CopyPolygonToPoint(Graphics::TBitmap* Source, Imageenview::PPointArray 
	Polygon, int PolygonLen, Graphics::TBitmap* Dest, const tagPOINT &Position);
extern PACKAGE void __fastcall _CopyPointToPolygon(Graphics::TBitmap* Source, Imageenview::PPointArray 
	Polygon, int PolygonLen, Graphics::TBitmap* Dest, const tagPOINT &Position);
extern PACKAGE void __fastcall _CopyBGR_RGB(Iedefs::pRGB dst, Iedefs::pRGB src, int width);
extern PACKAGE void __fastcall _MakeMagicWandBitmap(Graphics::TBitmap* fBitmap, Graphics::TBitmap* fOutBitmap
	, int x, int y, int tolerance);

}	/* namespace Imageenproc */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Imageenproc;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// ImageEnProc
