Classes | Namespaces | Enumerations | Functions
image.h File Reference
#include <algorithm>
#include <numeric>
#include <stdexcept>
#include <vector>
#include <opencv2/core.hpp>
#include "datatype.h"
#include "hal.h"
#include "iterators.h"
#include "datatype_matrix.h"
#include "type_promotion.h"
#include "standard_errors.h"
#include "iterators_impl.inc.h"

Go to the source code of this file.

Classes

class  ecvl::MetaData
 
class  ecvl::View< DT >
 
class  ecvl::ConstView< DT >
 
class  ecvl::Image
 Image class. More...
 
class  ecvl::View< DT >
 
class  ecvl::ConstView< DT >
 
class  ecvl::ContiguousView< DT >
 
class  ecvl::ConstContiguousView< DT >
 
class  ecvl::ContiguousViewXYC< DT >
 
class  ecvl::ConstContiguousViewXYC< DT >
 

Namespaces

 ecvl
 

Enumerations

enum  ecvl::ColorType {
  ecvl::ColorType::none, ecvl::ColorType::GRAY, ecvl::ColorType::RGB, ecvl::ColorType::RGBA,
  ecvl::ColorType::BGR, ecvl::ColorType::HSV, ecvl::ColorType::YCbCr
}
 Enum class representing the ECVL supported color spaces. More...
 

Functions

template<typename T >
int ecvl::vsize (const std::vector< T > &v)
 
void ecvl::RearrangeChannels (const Image &src, Image &dst, const std::string &channels)
 Changes the order of the Image dimensions. More...
 
void ecvl::RearrangeChannels (const Image &src, Image &dst, const std::string &channels, DataType new_type)
 Same as RearrangeChannels(), with the chance to specify the DataType of the output Image. More...
 
void ecvl::CopyImage (const Image &src, Image &dst, DataType new_type=DataType::none)
 Copies the source Image into the destination Image. More...
 
void ecvl::CopyImage (const Image &src, Image &dst, DataType new_type, const std::string &channels)
 Same as CopyImage(), with the chance to specify the channels order of the output Image. More...
 
void ecvl::ShallowCopyImage (const Image &src, Image &dst)
 Performs a shallow copy of the source Image into the destination. More...
 
void ecvl::ConvertTo (const Image &src, Image &dst, DataType dtype, bool saturate=true)
 Convert Image to another DataType. More...