#include "cv.h"
#include "highgui.h"
//尺寸变换
IplImage* doPyrDown(
IplImage* in,
int filter = IPL_GAUSSIAN_5x5) //(img,IPL_GAUSSIAN_5×5)
{
// Best to make sure input image is divisible by two.
assert(in->width % 2 == 0 && in->height
#include "cv.h"
#include "highgui.h"
//尺寸变换
IplImage* doPyrDown(
IplImage* in,
int filter = IPL_GAUSSIAN_5x5) //(img,IPL_GAUSSIAN_5×5)
{
// Best to make sure input image is divisible by two.
assert(in->width % 2 == 0 && in->height