ThreeB 1.1
|
00001 /* 00002 This file is part of B-cubed. 00003 00004 Copyright (C) 2009, 2010, 2011, Edward Rosten and Susan Cox 00005 00006 B-cubed is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Lesser General Public 00008 License as published by the Free Software Foundation; either 00009 version 3.0 of the License, or (at your option) any later version. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Lesser General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program. If not, see <http://www.gnu.org/licenses/> 00018 */ 00019 00020 #ifndef STORM_INCLUDE_STORM_IMAGERY_H 00021 #define STORM_INCLUDE_STORM_IMAGERY_H 00022 #include <cvd/image.h> 00023 #include <cvd/byte.h> 00024 #include <utility> 00025 #include <vector> 00026 00027 //! @cond Doxygen_Suppress 00028 std::vector<CVD::Image<float> > load_and_preprocess_images2(const std::vector<std::string>& names); 00029 std::vector<CVD::Image<float> > load_and_preprocess_images(const std::vector<std::string>& names); 00030 CVD::Image<float> preprocess_image(const CVD::Image<float>&); 00031 std::pair<float, float> mean_and_variance(const std::vector<CVD::Image<float> >& images); 00032 std::vector<CVD::Image<float> > load_and_normalize_images(const std::vector<std::string>& files); 00033 //! @endcond 00034 #endif 00035 00036 00037