// // program.h // OSXTestSolution // // Created by Ryan Mickler on 10/9/15. // Copyright (c) 2015 ryan. All rights reserved. // // ignore this for now. #ifndef OSXTestSolution_program_h #define OSXTestSolution_program_h // here is all the headers for our program. #include "opencv2/core/core.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include #include #include using namespace cv; // here is all the method definitions for all our of worksheets. //int worksheetone(Mat& src); int worksheettwo(Mat& src); int worksheetthree(Mat& src); int worksheetfour(Mat& src); int worksheetfive(Mat& src); int worksheetsix(Mat& src); int worksheetseven(Mat& src); int worksheeteight(Mat& src); int worksheetnine(Mat& src); int worksheetten(Mat& src); int worksheeteleven(Mat& src); int worksheettwelve(Mat& src); int worksheetthirteen(Mat& src); int worksheetfourteen(Mat& src); // a helper method. void rearrange( Mat& dftimage); // a helper method void rotate(cv::Mat& src, double angle, cv::Mat& dst); // a helper method to produce magnitude images. cv::Mat computeMagnitudeImage(Mat& complexImage); // a helper method that embeds a real image into a complex one as the real channel // also pads the image for fourier transform optimization. cv::Mat embedInComplexImage(Mat& realImage); #endif