-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfilters.h
More file actions
12 lines (11 loc) · 939 Bytes
/
filters.h
File metadata and controls
12 lines (11 loc) · 939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
#include <windows.h>
BYTE* LoadBMP(int* width, int* height, long* size, LPCTSTR bmpfile);
bool SaveBMP(BYTE* Buffer, int width, int height, long paddedsize, LPCTSTR bmpfile);
BYTE* ConvertBMPToIntensity(const BYTE* Buffer, int width, int height);
BYTE* ConvertIntensityToBMP(const BYTE* Buffer, int width, int height, long* newsize);
BYTE* EdgeDetection(const BYTE* intensityBuffer, const int width, const int height, float *);
BYTE* NonMaximum(const BYTE* edgeBuffer, const float *angles, const int width, const int height);
void DoubleThresholding(BYTE * Buffer, const int width, const int height, float * angles, int, int);
BYTE* HoughTransformLine(const BYTE *EdgeBinary, const int width, const int height, int peakCount);
BYTE* ConvertIntensityToBMP2(const BYTE* Buffer, bool* coloredBuffer, int width, int height, long* newsize);
bool* Colorization(const BYTE* Hough_buffer, const int width, const int height);