-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMorf.h
More file actions
24 lines (19 loc) · 965 Bytes
/
Morf.h
File metadata and controls
24 lines (19 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
// Copyright Anton Fateev, 2009.
// E-mail: antonfat@gmail.com
/* ************************************************************************** */
//---------------------------------------------------------------------------
#ifndef MorfH
#define MorfH
#include "UBitmap.h"
#include <vector>
using namespace std;
using namespace Utilities;
void FilterMorfP(UBitmap &inpImg, UBitmap &outImg, string ntype,bool Stor ,int N);
void FilterMorfM(UBitmap &inpImg, UBitmap &outImg, string ntype,bool Stor ,int N);
void MorfInd (vector<int> &Mm, int &height, int &index, unsigned short int &dmx, unsigned short int &dmy);
void MorfMask (vector<int> &Mm, string &ntype, int &h, unsigned short int &npoint);
void FillColor (UBitmap &inpImg, string ncolor, int h);
void MakeGrayIm (UBitmap &inpImg);
//---------------------------------------------------------------------------
#endif