SLIP  1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Typedefs | Functions
GrayscaleImage.hpp File Reference

Provides a class to manipulate grayscale images. More...

#include <iostream>
#include <iterator>
#include <cassert>
#include <numeric>
#include <cmath>
#include <string>
#include <cstddef>
#include "Matrix.hpp"
#include "stride_iterator.hpp"
#include "iterator2d_box.hpp"
#include "iterator2d_range.hpp"
#include "apply.hpp"
#include "io_tools.hpp"
#include <boost/serialization/access.hpp>
#include <boost/serialization/split_member.hpp>
#include <boost/serialization/version.hpp>
Include dependency graph for GrayscaleImage.hpp:

Go to the source code of this file.

Classes

class  slip::stride_iterator< T >
 
class  slip::iterator2d_box< T >
 This is some iterator to iterate a 2d container into a slip::Box2d area defined by the indices of the 2d container. More...
 
class  slip::const_iterator2d_box< T >
 This is some iterator to iterate a 2d container into a Box area defined by the indices of the 2d container. More...
 
class  slip::const_iterator2d_range< T >
 This is some iterator to iterate a 2d container into two Range defined by the indices and strides of the 2d container. More...
 
class  slip::DPoint2d< T >
 Difference of Point2D class, specialization of DPoint<CoordType,DIM> with DIM = 2. More...
 
class  slip::Point2d< T >
 This is a point2d class, a specialized version of Point<CoordType,DIM> with DIM = 2. More...
 
class  slip::Box2d< CoordType >
 This is a Box2d class, a specialized version of slip::Box<CoordType,DIM> with DIM = 2. More...
 
class  slip::Range< T >
 This is a Range class. More...
 
class  slip::GrayscaleImage< T >
 This is a grayscaleimage class. This is a two-dimensional dynamic and generic container. This container statisfies the BidirectionnalContainer concepts of the STL. It is also an 2d extension of the RandomAccessContainer concept. That is to say the bracket element access is replaced by the double bracket element access. Data are stored using a Matrix class. It extends the interface of Matrix adding image read/write operations. These operations are done using the ImageMagick library. More...
 
class  slip::Matrix< Block >
 Numerical matrix class. This container statisfies the BidirectionnalContainer concepts of the STL. It is also an 2d extension of the RandomAccessContainer concept. That is to say the bracket element access is replaced by the double bracket element access. It extends the interface of Array2d adding arithmetical: +=, -=, *=, /=,+,-,/,*... and mathematical operators: min, max, abs, sqrt, cos, acos, sin, asin, tan, atan, exp, log, cosh, sinh, tanh, log10, sum, apply... More...
 
class  slip::GrayscaleImage< T >
 This is a grayscaleimage class. This is a two-dimensional dynamic and generic container. This container statisfies the BidirectionnalContainer concepts of the STL. It is also an 2d extension of the RandomAccessContainer concept. That is to say the bracket element access is replaced by the double bracket element access. Data are stored using a Matrix class. It extends the interface of Matrix adding image read/write operations. These operations are done using the ImageMagick library. More...
 

Namespaces

 slip
 This namespace corresponds to the kernel of the Simple Library on Image Processing (SLIP). That is to say that it contains the data structures and the algorithms needed by these data strucutres.
 

Typedefs

typedef slip::GrayscaleImage
< double > 
slip::GrayscaleImage_d
 double alias More...
 
typedef slip::GrayscaleImage
< float > 
slip::GrayscaleImage_f
 float alias More...
 
typedef slip::GrayscaleImage
< long > 
slip::GrayscaleImage_l
 long alias More...
 
typedef slip::GrayscaleImage
< unsigned long > 
slip::GrayscaleImage_ul
 unsigned long alias More...
 
typedef slip::GrayscaleImage
< short > 
slip::GrayscaleImage_s
 short alias More...
 
typedef slip::GrayscaleImage
< unsigned short > 
slip::GrayscaleImage_us
 unsigned long alias More...
 
typedef slip::GrayscaleImage< int > slip::GrayscaleImage_i
 int alias More...
 
typedef slip::GrayscaleImage
< unsigned int > 
slip::GrayscaleImage_ui
 unsigned int alias More...
 
typedef slip::GrayscaleImage
< char > 
slip::GrayscaleImage_c
 char alias More...
 
typedef slip::GrayscaleImage
< unsigned char > 
slip::GrayscaleImage_uc
 unsigned char alias More...
 

Functions

template<typename T >
std::ostream & slip::operator<< (std::ostream &out, const slip::GrayscaleImage< T > &a)
 
template<typename T >
T & slip::min (const GrayscaleImage< T > &M1)
 Returns the min element of a GrayscaleImage. More...
 
template<typename T >
T & slip::max (const GrayscaleImage< T > &M1)
 Returns the max element of a GrayscaleImage. More...
 
EqualityComparable functions
template<typename T >
bool slip::operator== (const slip::GrayscaleImage< T > &x, const slip::GrayscaleImage< T > &y)
 
template<typename T >
bool slip::operator!= (const slip::GrayscaleImage< T > &x, const slip::GrayscaleImage< T > &y)
 
LessThanComparable functions
template<typename T >
bool slip::operator< (const slip::GrayscaleImage< T > &x, const slip::GrayscaleImage< T > &y)
 
template<typename T >
bool slip::operator> (const slip::GrayscaleImage< T > &x, const slip::GrayscaleImage< T > &y)
 
template<typename T >
bool slip::operator<= (const slip::GrayscaleImage< T > &x, const slip::GrayscaleImage< T > &y)
 
template<typename T >
bool slip::operator>= (const slip::GrayscaleImage< T > &x, const slip::GrayscaleImage< T > &y)
 
Arithmetical operators
template<typename T >
GrayscaleImage< T > slip::operator+ (const GrayscaleImage< T > &M1, const GrayscaleImage< T > &M2)
 pointwise addition of two GrayscaleImage More...
 
template<typename T >
GrayscaleImage< T > slip::operator+ (const GrayscaleImage< T > &M1, const T &val)
 addition of a scalar to each element of a GrayscaleImage More...
 
template<typename T >
GrayscaleImage< T > slip::operator+ (const T &val, const GrayscaleImage< T > &M1)
 addition of a scalar to each element of a GrayscaleImage More...
 
template<typename T >
GrayscaleImage< T > slip::operator- (const GrayscaleImage< T > &M1, const GrayscaleImage< T > &M2)
 pointwise substraction of two GrayscaleImage More...
 
template<typename T >
GrayscaleImage< T > slip::operator- (const GrayscaleImage< T > &M1, const T &val)
 substraction of a scalar to each element of a GrayscaleImage More...
 
template<typename T >
GrayscaleImage< T > slip::operator- (const T &val, const GrayscaleImage< T > &M1)
 substraction of a scalar to each element of a GrayscaleImage More...
 
template<typename T >
GrayscaleImage< T > slip::operator* (const GrayscaleImage< T > &M1, const GrayscaleImage< T > &M2)
 pointwise multiplication of two GrayscaleImage More...
 
template<typename T >
GrayscaleImage< T > slip::operator* (const GrayscaleImage< T > &M1, const T &val)
 multiplication of a scalar to each element of a GrayscaleImage More...
 
template<typename T >
GrayscaleImage< T > slip::operator* (const T &val, const GrayscaleImage< T > &M1)
 multiplication of a scalar to each element of a GrayscaleImage More...
 
template<typename T >
GrayscaleImage< T > slip::operator/ (const GrayscaleImage< T > &M1, const GrayscaleImage< T > &M2)
 pointwise division of two GrayscaleImage More...
 
template<typename T >
GrayscaleImage< T > slip::operator/ (const GrayscaleImage< T > &M1, const T &val)
 division of a scalar to each element of a GrayscaleImage More...
 

Detailed Description

Provides a class to manipulate grayscale images.

Definition in file GrayscaleImage.hpp.