#include <mia/core/attributes.hh>
#include <mia/core/pixeltype.hh>
#include <mia/core/filter.hh>
#include <mia/core/msgstream.hh>
#include <mia/core/tools.hh>
#include <mia/core/type_traits.hh>
#include <mia/2d/vectorfield.hh>
Go to the source code of this file.
Data Structures | |
class | C2DImage |
This is the base class for 2D images that can hold generic pixel data. More... | |
class | CImageComparePrinter |
a class to print out the intensity values of two images to compare them More... | |
class | CopyC2DImageToP2DImage |
functor to copy an image into paointer representation More... | |
struct | FConvert2DImageToPixeltypeO< O > |
functor to convert an image with an abitrary pixel type to single floating point pixels More... | |
class | T2DImage< T > |
This is the template version of a 2D image that is used for holding real data. More... | |
Macros | |
#define | ATTR_IMAGE_KMEANS_CLASSES "kmeans" |
Typedefs | |
typedef T2DImage< bool > | C2DBitImage |
2D image with binary values More... | |
typedef T2DImage< double > | C2DDImage |
2D image with double precsion floating point values More... | |
typedef T2DImage< float > | C2DFImage |
2D image with single precsion floating point values More... | |
typedef std::map< std::string, C2DImageSeriesGroup > | C2DImageGroupedSeries |
typedef std::vector< P2DImage > | C2DImageSeries |
helper type for image series More... | |
typedef std::vector< C2DImageSeries > | C2DImageSeriesGroup |
typedef T2DImage< int8_t > | C2DSBImage |
2D image with signed 8 bit integer values More... | |
typedef T2DImage< int32_t > | C2DSIImage |
2D image with signed 32 bit integer values More... | |
typedef T2DImage< int64_t > | C2DSLImage |
2D image with signed 64 bit integer values More... | |
typedef T2DImage< int16_t > | C2DSSImage |
2D image with signed 16 bit integer values More... | |
typedef T2DImage< uint8_t > | C2DUBImage |
2D image with unsigned 8 bit integer values More... | |
typedef T2DImage< uint32_t > | C2DUIImage |
2D image with unsigned 32 bit integer values More... | |
typedef T2DImage< uint64_t > | C2DULImage |
2D image with unsigned 64 bit integer values More... | |
typedef T2DImage< uint16_t > | C2DUSImage |
2D image with unsigned 16 bit integer values More... | |
typedef FConvert2DImageToPixeltypeO< float > | FCopy2DImageToFloatRepn |
short name for 2DImage to float pixel repn copy functor More... | |
typedef C2DImage::Pointer | P2DImage |
Shared pointer representation of the 2D Image. More... | |
typedef std::shared_ptr< C2DImageSeries > | P2DImageSeries |
Functions | |
EXPORT_2D C2DFVectorfield | get_gradient (const C2DImage &image) |
bool | operator!= (const C2DImage &a, const C2DImage &b) |
EXPORT_2D bool | operator== (const C2DImage &a, const C2DImage &b) |
#define ATTR_IMAGE_KMEANS_CLASSES "kmeans" |
Definition at line 35 of file 2d/image.hh.
typedef T2DImage<bool> C2DBitImage |
2D image with binary values
Definition at line 419 of file 2d/image.hh.
2D image with double precsion floating point values
Definition at line 449 of file 2d/image.hh.
2D image with single precsion floating point values
Definition at line 446 of file 2d/image.hh.
typedef std::map<std::string, C2DImageSeriesGroup> C2DImageGroupedSeries |
Definition at line 127 of file 2d/image.hh.
typedef std::vector<P2DImage> C2DImageSeries |
helper type for image series
Definition at line 122 of file 2d/image.hh.
typedef std::vector<C2DImageSeries> C2DImageSeriesGroup |
Definition at line 126 of file 2d/image.hh.
typedef T2DImage<int8_t> C2DSBImage |
2D image with signed 8 bit integer values
Definition at line 422 of file 2d/image.hh.
typedef T2DImage<int32_t> C2DSIImage |
2D image with signed 32 bit integer values
Definition at line 434 of file 2d/image.hh.
typedef T2DImage<int64_t> C2DSLImage |
2D image with signed 64 bit integer values
Definition at line 440 of file 2d/image.hh.
typedef T2DImage<int16_t> C2DSSImage |
2D image with signed 16 bit integer values
Definition at line 428 of file 2d/image.hh.
typedef T2DImage<uint8_t> C2DUBImage |
2D image with unsigned 8 bit integer values
Definition at line 425 of file 2d/image.hh.
typedef T2DImage<uint32_t> C2DUIImage |
2D image with unsigned 32 bit integer values
Definition at line 437 of file 2d/image.hh.
typedef T2DImage<uint64_t> C2DULImage |
2D image with unsigned 64 bit integer values
Definition at line 443 of file 2d/image.hh.
typedef T2DImage<uint16_t> C2DUSImage |
2D image with unsigned 16 bit integer values
Definition at line 431 of file 2d/image.hh.
typedef FConvert2DImageToPixeltypeO<float> FCopy2DImageToFloatRepn |
short name for 2DImage to float pixel repn copy functor
Since copy-conversion to a floating pixel type image is used often we provide here a typedef for the functor.
Definition at line 521 of file 2d/image.hh.
typedef C2DImage::Pointer P2DImage |
Shared pointer representation of the 2D Image.
Definition at line 119 of file 2d/image.hh.
typedef std::shared_ptr<C2DImageSeries> P2DImageSeries |
Definition at line 124 of file 2d/image.hh.
EXPORT_2D C2DFVectorfield get_gradient | ( | const C2DImage & | image | ) |
Evaluate the gradient of an image using finite differences
Referenced by T2DImage< float >::end_range(), and operator!=().
Evaluate if two images are not equal in size, pixel type or all its pixels. Meta data is not considered, nor is the pixel size.
Definition at line 392 of file 2d/image.hh.
References EXPORT_2D, and get_gradient().
Evaluate if two images are equal in size, pixel type and all its pixels. Meta data is not considered, nor is the pixel size
a | |
b |
Referenced by CImageComparePrinter::operator()().