Skip to content

Instantly share code, notes, and snippets.

@ts-3156
Created June 27, 2011 09:26
Show Gist options
  • Save ts-3156/1048565 to your computer and use it in GitHub Desktop.
Save ts-3156/1048565 to your computer and use it in GitHub Desktop.
//
// 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