MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Classes | Namespaces | Typedefs | Functions
mdsPixelTypes.h File Reference

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2010 by Michal Spanel
. More...

#include <MDSTk/Base/mdsTypes.h>
#include <MDSTk/Math/mdsBase.h>
#include <MDSTk/Math/mdsComplex.h>
#include "mdsImageExport.h"
#include "mdsRGBA.h"
#include "mdsPixelTypes.hxx"

Classes

class  mds::img::CRGBPixel
 RGB pixel definition. More...

Namespaces

namespace  mds
 

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel


namespace  mds::img
namespace  mds::math

Typedefs

typedef mds::math::CComplex
< float > 
mds::img::tComplexPixel
 Complex pixel definition.
typedef mds::sys::tInt16 mds::img::tDensityPixel
 Density pixel used by medical images (slices).
typedef float mds::img::tFloatPixel
 Pixel used for float images.
typedef mds::sys::tUInt16 mds::img::tPixel16
 Pixel used for grayscale 16-bit images.
typedef mds::sys::tUInt32 mds::img::tPixel32
 Pixel used for grayscale 32-bit images.
typedef mds::sys::tUInt8 mds::img::tPixel8
 Pixel used for grayscale 8-bit images.
typedef CRGBPixel mds::img::tRGBPixel
 RGB pixel of a color image.

Functions

template<>
void mds::math::cut (mds::img::tRGBPixel &x, const mds::img::tRGBPixel &a, const mds::img::tRGBPixel &b, const mds::img::tRGBPixel &n)
 Specialization of the function that remains values in the range <a, b> unchanged, othervise a new value n is assigned.
template<>
mds::img::tRGBPixel mds::math::getAbs (const mds::img::tRGBPixel &a)
 Specialization of the function that returns an absolute value.
template<>
mds::img::tRGBPixel mds::math::getMax (const mds::img::tRGBPixel &a, const mds::img::tRGBPixel &b)
 Specialization of the function that returns maximum of two values.
template<>
mds::img::tRGBPixel mds::math::getMin (const mds::img::tRGBPixel &a, const mds::img::tRGBPixel &b)
 Specialization of the function that returns minimum of two values.
template<>
void mds::math::limit (mds::img::tRGBPixel &x, const mds::img::tRGBPixel &a, const mds::img::tRGBPixel &b)
 Specialization of the function that limits value x into an interval <a, b>.
CRGBPixel mds::img::operator* (const CRGBPixel &l, double Scalar)
CRGBPixel mds::img::operator* (double Scalar, const CRGBPixel &r)
CRGBPixel mds::img::operator+ (const CRGBPixel &l, const CRGBPixel &r)
CRGBPixel mds::img::operator- (const CRGBPixel &l, const CRGBPixel &r)
CRGBPixel mds::img::operator- (const CRGBPixel &x)

Detailed Description

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2010 by Michal Spanel
.

Author: Michal Spanel, spanel@fit.vutbr.cz
Date: 2004/05/18

Id:
mdsPixelTypes.h 2092 2012-02-15 12:50:59Z spanel

Description: