~slist/qmotion/2.3

« back to all changes in this revision

Viewing changes to formatconverter.h

  • Committer: Stephane List
  • Date: 2010-12-12 14:54:49 UTC
  • Revision ID: slist@lilotux.net-20101212145449-t3p63qypyb1jsgyn
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2008, 2009, 2010 by Stephane List                       *
 
3
 *   slist@lilotux.net                                                     *
 
4
 *                                                                         *
 
5
 *   This program is free software; you can redistribute it and/or modify  *
 
6
 *   it under the terms of the GNU General Public License as published by  *
 
7
 *   the Free Software Foundation; either version 2 of the License, or     *
 
8
 *   (at your option) any later version.                                   *
 
9
 *                                                                         *
 
10
 *   This program is distributed in the hope that it will be useful,       *
 
11
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 
12
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 
13
 *   GNU General Public License for more details.                          *
 
14
 *                                                                         *
 
15
 *   You should have received a copy of the GNU General Public License     *
 
16
 *   along with this program; if not, write to the                         *
 
17
 *   Free Software Foundation, Inc.,                                       *
 
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 
19
 ***************************************************************************/
 
20
 
 
21
#ifndef FORMAT_CONVERTER_H
 
22
#define FORMAT_CONVERTER_H
 
23
 
 
24
#include <QImage>
 
25
 
 
26
#include <cv.h>
 
27
#include <highgui.h>
 
28
 
 
29
QImage Ipl2QImage(const IplImage*, bool upsideDown);
 
30
// TODO IplImage QImage2Ipl(const QImage*, bool upsideDown);
 
31
 
 
32
#endif
 
33