#ifndef __Flatten_H__
#define __Flatten_H__

#include "avisynth.h"

namespace BandRemoval {

typedef unsigned char Byte;

class Filter : public GenericVideoFilter
{
   int nWidth, nHeight;
   int nLowThreshold, nHighThreshold;
   int nRadius;
   
public:
   Filter(PClip child, int nLowThreshold, int nHighThreshold, int nRadius, IScriptEnvironment *env);
   ~Filter();

   PVideoFrame __stdcall GetFrame(int n, IScriptEnvironment* env);

};

}

#endif
