Skip to content

Instantly share code, notes, and snippets.

@masazdream
Created February 16, 2014 05:02
Show Gist options
  • Select an option

  • Save masazdream/9029581 to your computer and use it in GitHub Desktop.

Select an option

Save masazdream/9029581 to your computer and use it in GitHub Desktop.
opencvを使った画像の入出力 Header
#ifndef IMAGE_STREAM_H_
#define IMAGE_STREAM_H_
/*
* ImageStream.hpp
*
* Created on: Jun 1, 2013
* Author: root
*/
#include <cv.h>
#include <cvaux.h>
#include <highgui.h>
using namespace cv;
#ifndef SPRIXIMAGESTREAM_H_
#define SPRIXIMAGESTREAM_H_
void output_keypoints_on_image(Mat img, vector<KeyPoint> key_points,
string title);
int cv_output_file(InputArray src, string fileName);
string int_to_string(int number);
#endif //IMAGE_STREAM_H_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment