ivl 679
|
00001 /* This file is part of the ivl C++ library <http://image.ntua.gr/ivl>. 00002 A C++ template library extending syntax towards mathematical notation. 00003 00004 Copyright (C) 2012 Yannis Avrithis <iavr@image.ntua.gr> 00005 Copyright (C) 2012 Kimon Kontosis <kimonas@image.ntua.gr> 00006 00007 ivl is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU Lesser General Public License 00009 version 3 as published by the Free Software Foundation. 00010 00011 Alternatively, you can redistribute it and/or modify it under the terms 00012 of the GNU General Public License version 2 as published by the Free 00013 Software Foundation. 00014 00015 ivl is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00018 See the GNU General Public License for more details. 00019 00020 You should have received a copy of the GNU General Public License 00021 and a copy of the GNU Lesser General Public License along 00022 with ivl. If not, see <http://www.gnu.org/licenses/>. */ 00023 00024 00025 namespace image_details { 00026 00027 template<bool IMP, class P> 00028 struct cv 00029 { 00030 struct nimpl { }; 00031 typedef nimpl iplimage_t; 00032 00033 template<class T, class S> 00034 static void load(image<T, S>& im, const std::string filename, image_channels channels) 00035 { 00036 assert(0); 00037 } 00038 00039 template<class T, class S> 00040 static void save(const image<T, S>& im, const std::string filename) 00041 { 00042 assert(0); 00043 } 00044 00045 template <class T, class D> 00046 static void copy_from(image<T, D>& im, const iplimage_t* src) 00047 { 00048 assert(0); 00049 } 00050 00051 template <class T, class D> 00052 static void copy_to(const image<T, D>& im, iplimage_t* dest) 00053 { 00054 assert(0); 00055 } 00056 00057 template <class T, class D> 00058 static iplimage_t* ipl(const image<T, D>& im) 00059 { 00060 assert(0); 00061 return 0; 00062 } 00063 00064 }; 00065 00066 } /* namespace image_details */ 00067