Created
June 27, 2011 09:26
-
-
Save ts-3156/1048565 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Filter.h | |
// | |
#pragma once | |
#include "opencv2/opencv.hpp" | |
class Filter | |
{ | |
public: | |
Filter(void); | |
~Filter(void); | |
IplImage* loadImage(char*, int); | |
void originalKernel(char*); | |
void gaussian(char*); | |
void canny(char*); | |
void equalizeHist(char*); | |
void apply(char*); | |
void showHist(char*); | |
void gamma(char*); | |
void showChannel(char*); | |
}; | |
// | |
// Filter.cpp | |
// | |
#include "StdAfx.h" | |
#include "Filter.h" | |
Filter::Filter(void) | |
{ | |
} | |
Filter::~Filter(void) | |
{ | |
} | |
IplImage* Filter::loadImage(char* file_name, int iscolor) | |
{ | |
// code... | |
} | |
void Filter::originalKernel(char* file_name) | |
{ | |
// code... | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment