orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
colourconversions.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2008 Alex Brooks, Ben Upcroft, Alex Makarenko 00005 * 00006 * This copy of Orca is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 00011 #ifndef ORCA_IMAGE_COLOURCONVERSIONS_H 00012 #define ORCA_IMAGE_COLOURCONVERSIONS_H 00013 00014 #include <opencv/cv.h> 00015 00016 #include <orca/camera.h> 00017 #include <orca/image.h> 00018 00019 #ifdef USE_QT 00020 #include <QImage> 00021 #endif 00022 00023 namespace orcaimage{ 00024 00025 #ifdef USE_QT 00026 00027 void cvtToQImage( QImage* image, const orca::ImageDataPtr src, const orca::ImageDescriptionPtr descr ); 00028 #endif 00029 00030 #ifdef USE_OPENCV 00031 00032 void cvtToRgb( IplImage* dest, const orca::ImageDataPtr src, const orca::ImageDescriptionPtr descr ); 00033 00035 void cvtToBgr( IplImage* dest, const orca::ImageDataPtr src, const orca::ImageDescriptionPtr descr ); 00036 #endif 00037 00038 } // namespace 00039 00040 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)