Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
Bial Namespace Reference

Adjacency relation with indexes following gray code sequency.
Future add-on's: none. More...

Namespaces

 AdjacencyType
 
 Binary
 
 Bit
 Gray code based functions.
 
 Brain
 
 ColorSpace
 
 Curve
 
 Edge
 
 FeatureResize
 
 FileFeature
 
 Filtering
 
 Geometrics
 
 Gradient
 Computes image gradients.
 
 Heart
 
 Hough
 
 ImageInterpolation
 
 ImageOp
 
 Intensity
 Image intensity manipulation class.
 
 KernelType
 
 MatrixOp
 
 Morphology
 Morphological opperations over images.
 
 OPF
 
 SampleType
 
 Segmentation
 Image segmentation methods.
 
 SignalOp
 
 SignalType
 
 Sorting
 Extensions for sorting methods.
 
 Statistics
 
 Transform
 

Classes

class  Adjacency
 Adjacency relation and forward iteratior related to a matrix. More...
 
class  AdjacencyIterator
 Adjacency iterator. More...
 
class  Array
 A array that calls almost all std::array functions (C++11 standard). More...
 
class  BBox
 The BBox class is a Bounding Box with 8 vertices, and can be represented by 2 points (6coordinates). More...
 
class  Box
 Box Figure class. More...
 
class  BucketQueue
 Standard bucket queue class, that may work with both integer or real values. More...
 
class  Cell
 The Cell class is used in MarchingCubes algorithm to describe a single marching cube data. More...
 
class  ChessBoardDistanceFunction
 
class  Circle
 
class  CityBlockDistanceFunction
 
class  ClusteringIFT
 
union  Color
 
class  Common
 Commonly used macros, types, static variables and functions. More...
 
class  ConnPathFunction
 
class  DegeneratedIFT
 
class  DFIDE
 
class  DicomHeader
 
class  DifferentialGeometry
 The DifferentialGeometry class is a parametric representation of the Shape geometry. More...
 
class  DiffPathFunction
 
class  DiffusionFunction
 Diffusion functions to compute annisotropic filtering and other algorithms. More...
 
class  Display
 
class  DistanceFunction
 
class  EdgeMaxPathFunction
 
class  EuclideanDistanceFunction
 
class  FastTransform
 
class  Feature
 Feature vector class. It is essentialy a matrix where, the first dimention refers to the feature and the other dimension to the element. More...
 
class  FeatureDistanceFunction
 
class  Figure
 
class  FuzzyCMeans
 
class  GaussianDiffusionFunction
 
class  GDCM
 
class  GeodesicDistancePathFunction
 
class  GeodesicRestrictionPathFunction
 
class  Graph
 
class  GraphAdjacency
 Graph Operator classes. Used to compute OPF. May use Knn, LSH, etc. More...
 
class  gzstreambase
 
class  gzstreambuf
 
class  HierarchicalGraph
 
class  HierarchicalPathFunction
 
struct  HoughDecreaseCompare
 Class is used to compare elements in decreasing order to sort hough circle candidates. More...
 
struct  HoughIncreaseCompare
 Class is used to compare elements in increasing order to sort hough circle candidates. More...
 
class  IdentityNode
 
class  igzstream
 
class  Image
 The Image class is used to handle N-Dimensional images, and has support to Read and Write image files. More...
 
class  ImageIFT
 
class  InfBucketQueue
 
class  Integral
 A class to handle integral image. More...
 
class  Kernel
 Kernel and forward iteratior related to a matrix. More...
 
class  KernelIterator
 
class  KnnGraphAdjacency
 
class  Line
 
class  LinearInterpolation
 
class  LocalMaxPathFunction
 
class  LSHGraphAdjacency
 
class  MarchingCubes
 Algorithm proposed by Lorensen and Cline to extract triangle meshes from isosurfaces. More...
 
class  Matrix
 dimensional matrix handeling. When acessed by (x, y), or (x, y, z) operator, index x corresponds to the index of the column, and index y corresponds to the index of the row. This standard comes from text printing order and image display and storage in most of the computer systems. More...
 
class  MaxPathFunction
 
class  MaxSumPathFunction
 
class  MinimumSpanningTree
 Minimum spanning three algorithm. More...
 
class  MinPathFunction
 
class  MultiImage
 The MultiImage class may have only one of the following image types: int, float, Color, or RealColor. More...
 
class  NearestInterpolation
 
class  NiftiHeader
 Magnetic Resonance Image class. More...
 
class  Normal
 The Normal class is the geometric representation of a Normal in 3D space.
A surface normal (or just normal) is a vector that is perpendicular to a surface at a particular position.
It can be defined as the cross product of any two nonparallel vectors that are tangent to the surface at a point.
The implementations of Normal3D and Vector3D are very similar. Like vectors, normals are represented by three floats x, y, and z;
they can be added and subtracted to compute new normals; and they can be scaled and normalized.
However, a normal cannot be added to a point, and one cannot take the cross product of two normals. More...
 
class  ogzstream
 
class  OrientedExternPathFunction
 
class  OrientedInternPathFunction
 
class  PathFunction
 Path function to compute the initial path-values and propagated path-values. More...
 
class  PixelInterpolation
 Geometric transforms that change image spatially. More...
 
class  Plotting
 Plotting algorithms. More...
 
class  PNMHeader
 PNM Header class. More...
 
class  Point
 
class  Point3D
 The Point3D class is a Geometric representation of a point in 3D space.
A point is a zero­dimensional location in 3D space. More...
 
class  PowerDiffusionFunction
 
class  PreEuclideanDistanceFunction
 
class  RandomQueue
 A random-acess queue. Its size is fixed. As soon as it gets full, the first inserted element is automatically replaced by the next inserted element.
It is useful to find the median element as walking through signal or image data, e.g. MedianFilter method of Signal class. Insertion and removal are made in limiar time with respect to the queue size.
Access to ordered keys by position is made in constant time. More...
 
class  Ray
 The Ray class is a mathematic representation of a light ray.
A ray is a semi­infinite line specified by its origin and direction. More...
 
class  RealColor
 Class RealColor is used to handle multi-channels in pixels with floating point values. More...
 
class  RobustDiffusionFunction
 
class  Sample
 Methods for sampling elements. More...
 
class  Sequence
 
class  Shape
 
class  Signal
 Signal handeling declaration. More...
 
class  SquareEuclideanDistanceFunction
 
class  SumPathFunction
 
class  Superpixel
 
class  Table
 
class  TableCell
 TableCell is the data type that composes the Table class cells. More...
 
class  TableColumn
 
class  TElementId
 DICOM DATA ELEMENT. More...
 
class  TGroupId
 DICOM DATA BLOCK. More...
 
class  Transform3D
 The Transform3D class holds affine matrices and is used to apply geometric transformations over cartesian coordinates.
The affine transformation multiplies the coordinates vector to the affine matrix. More...
 
class  Triangle
 Simple triangle Shape, used in TriangleMesh. More...
 
class  TriangleMesh
 
class  Vector
 
class  Vector3D
 The Vector3D class is a Geometric representation of a vector direction in 3D space. More...
 
class  Vector< bool >
 
class  WeightNode
 

Enumerations

enum  BucketState : char { BucketState::NOT_VISITED = 0, BucketState::INSERTED = 1, BucketState::UPDATED = 2, BucketState::REMOVED = 3 }
 
enum  DistanceFunctionType : char {
  DistanceFunctionType::Euclidean, DistanceFunctionType::PreEuclidean, DistanceFunctionType::SquareEuclidean, DistanceFunctionType::CityBlock,
  DistanceFunctionType::ChessBoard
}
 
enum  MRIModality : char { MRIModality::UNKNOWN = 0, MRIModality::T1 = 1, MRIModality::T2 = 2, MRIModality::PD = 3 }
 MRI modality. More...
 
enum  MultiImageType : char {
  MultiImageType::none, MultiImageType::int_img, MultiImageType::flt_img, MultiImageType::clr_img,
  MultiImageType::rcl_img
}
 The MultiImageType class is used to identify which image type is open in MultiImage. More...
 
enum  NiftiType : short {
  NiftiType::UINT8 = 2, NiftiType::INT16 = 4, NiftiType::INT32 = 8, NiftiType::FLOAT32 = 16,
  NiftiType::FLOAT64 = 64, NiftiType::INT8 = 256, NiftiType::UINT16 = 512, NiftiType::UINT32 = 768,
  NiftiType::INT64 = 1024, NiftiType::UINT64 = 1280
}
 
enum  NiftiIntent : short {
  NiftiIntent::NONE = 0, NiftiIntent::CORREL = 2, NiftiIntent::TTEST = 3, NiftiIntent::FTEST = 4,
  NiftiIntent::ZSCORE = 5, NiftiIntent::CHISQ = 6, NiftiIntent::BETA = 7, NiftiIntent::BINOM = 8,
  NiftiIntent::GAMMA = 9, NiftiIntent::POISSON = 10, NiftiIntent::NORMAL = 11, NiftiIntent::FTEST_NONC = 12,
  NiftiIntent::CHISQ_NONC = 13, NiftiIntent::LOGISTIC = 14, NiftiIntent::LAPLACE = 15, NiftiIntent::UNIFORM = 16,
  NiftiIntent::TTEST_NONC = 17, NiftiIntent::WEIBULL = 18, NiftiIntent::CHI = 19, NiftiIntent::INVGAUSS = 20,
  NiftiIntent::EXTVAL = 21, NiftiIntent::PVAL = 22, NiftiIntent::LOGPVAL = 23, NiftiIntent::LOG10PVAL = 24,
  NiftiIntent::FIRST_STAT = 2, NiftiIntent::LAST_STAT = 24, NiftiIntent::ESTIMATE = 1001, NiftiIntent::LABEL = 1002,
  NiftiIntent::NEURONAME = 1003, NiftiIntent::GENMATRIX = 1004, NiftiIntent::SYMMATRIX = 1005, NiftiIntent::DISPVECT = 1006,
  NiftiIntent::VECTOR = 1007, NiftiIntent::POINTSET = 1008, NiftiIntent::TRIANGLE = 1009, NiftiIntent::QUATERNION = 1010,
  NiftiIntent::DIMLESS = 1011, NiftiIntent::TIME_SERIES = 2001, NiftiIntent::NODE_INDEX = 2002, NiftiIntent::RGB_VECTOR = 2003,
  NiftiIntent::RGBA_VECTOR = 2004, NiftiIntent::SHAPE = 2005
}
 NIFTI1_INTENT: nifti1 intent codes, to describe intended meaning of dataset contents. More...
 
enum  NiftiXForm : short {
  NiftiXForm::UNKNOWN = 0, NiftiXForm::SCANNER_ANAT = 1, NiftiXForm::ALIGNED_ANAT = 2, NiftiXForm::TALAIRACH = 3,
  NiftiXForm::MNI_152 = 4
}
 NIFTI1_XFORM_CODES: nifti1 xform codes to describe the "standard" x,y,z coordinate system. More...
 
enum  NiftiUnit : char {
  NiftiUnit::UNKNOWN = 0, NiftiUnit::METER = 1, NiftiUnit::MM = 2, NiftiUnit::MICRON = 3,
  NiftiUnit::SEC = 8, NiftiUnit::MSEC = 16, NiftiUnit::USEC = 24, NiftiUnit::HZ = 32,
  NiftiUnit::PPM = 40, NiftiUnit::RADS = 48
}
 NIFTI1_UNITS: nifti1 units codes to describe the unit of measurement for each dimension of the dataset. More...
 
enum  NiftiSlice : char {
  NiftiSlice::UNKNOWN = 0, NiftiSlice::SEQ_INC = 1, NiftiSlice::SEQ_DEC = 2, NiftiSlice::ALT_INC = 3,
  NiftiSlice::ALT_DEC = 4, NiftiSlice::ALT_INC2 = 5, NiftiSlice::ALT_DEC2 = 6
}
 NIFTI1_SLICE_ORDER: nifti1 slice order codes, describing the acquisition order of the slices. More...
 
enum  TableCellType : char { TableCellType::INT = 0, TableCellType::FLT = 1, TableCellType::STR = 2 }
 

Functions

template<class O >
O & operator<< (O &os, const Adjacency &adj)
 Prints the adjacency relation in a friendly way. More...
 
template<class D >
AdjacencyIterator begin (const Adjacency &adj, const Vector< D > &vct, size_t pixel_index)
 returns an iterator to first valid adjacent element. More...
 
template<class D >
AdjacencyIterator end (const Adjacency &adj, const Vector< D > &vct, size_t pixel_index)
 Returns an iterator to position after the end of elements. More...
 
template<class D >
AdjacencyIterator begin (const Adjacency &adj, const Matrix< D > &mtx, size_t pixel_index)
 returns an iterator to first valid adjacent element. More...
 
template<class D >
AdjacencyIterator end (const Adjacency &adj, const Matrix< D > &mtx, size_t pixel_index)
 Returns an iterator to position after the end of elements. More...
 
template<class D >
AdjacencyIterator begin (const Adjacency &adj, const Image< D > &img, size_t pixel_index)
 returns an iterator to first valid adjacent element. More...
 
template<class D >
AdjacencyIterator end (const Adjacency &adj, const Image< D > &img, size_t pixel_index)
 Returns an iterator to position after the end of elements. More...
 
template<class D , size_t S>
bool operator== (const Array< D, S > &lhs, const Array< D, S > &rhs)
 Operators. More...
 
template<class D , size_t S>
bool operator!= (const Array< D, S > &lhs, const Array< D, S > &rhs)
 
template<class D , size_t S>
bool operator< (const Array< D, S > &lhs, const Array< D, S > &rhs)
 
template<class D , size_t S>
bool operator<= (const Array< D, S > &lhs, const Array< D, S > &rhs)
 
template<class D , size_t S>
bool operator> (const Array< D, S > &lhs, const Array< D, S > &rhs)
 
template<class D , size_t S>
bool operator>= (const Array< D, S > &lhs, const Array< D, S > &rhs)
 
template<class D , size_t S>
void swap (Array< D, S > &x, Array< D, S > &y)
 
template<size_t I, class D , size_t S>
D & get (Array< D, S > &arr) noexcept
 Returns a reference to I'th element of the array. More...
 
template<size_t I, class D , size_t S>
D && get (Array< D, S > &&arr) noexcept
 
template<size_t I, class D , size_t S>
const D & get (const Array< D, S > &arr) noexcept
 
template<class D , size_t S, class O >
O & operator<< (O &os, const Array< D, S > &vec)
 
Color operator+ (const Color &clr1, const Color &clr2)
 Computes the sum of the colors and returns the result. More...
 
Coloroperator+= (Color &clr1, const Color &clr2)
 Computes the sum of the colors, assigns the result to clr1, and returns the result. More...
 
Color operator- (const Color &clr1, const Color &clr2)
 Computes the difference of the colors and returns the result. More...
 
Coloroperator-= (Color &clr1, const Color &clr2)
 Computes the difference between input colors, assigns the result to clr1, and returns the result. More...
 
Color operator* (const Color &clr1, const Color &clr2)
 Computes the product of the colors and returns the result. More...
 
Coloroperator*= (Color &clr1, const Color &clr2)
 Computes the product between input colors, assigns the result to clr1, and returns the result. More...
 
Color operator/ (const Color &clr1, const Color &clr2)
 Computes the quotient of the colors and returns the result. More...
 
Coloroperator/= (Color &clr1, const Color &clr2)
 Computes the quotient between input colors, assigns the result to clr1, and returns the result. More...
 
bool operator== (const Color &clr1, const Color &clr2)
 Compares two colors and returns true if they are equal. More...
 
bool operator!= (const Color &clr1, const Color &clr2)
 Compares two colors and returns true if they are different. More...
 
Color operator+ (const Color &clr, double scalar)
 Computes the sum of the scalar to input color channel values and returns the result. More...
 
Color operator+ (double scalar, const Color &clr)
 
Coloroperator+= (Color &clr, double scalar)
 Computes the sum of the scalar to input color channel values and assigns the result to clr. More...
 
Color operator- (const Color &clr, double scalar)
 Computes the differente between scalar and input color channel values and returns the result. More...
 
Color operator- (double scalar, const Color &clr)
 
Coloroperator-= (Color &clr, double scalar)
 Computes the difference between the scalar and input color channel values and assigns the result to clr. More...
 
Color operator* (const Color &clr, double scalar)
 Computes the product of the scalar and input color channel values and returns the result. More...
 
Color operator* (double scalar, const Color &clr)
 
Coloroperator*= (Color &clr, double scalar)
 Computes the product of the scalar and input color channel values and assigns the result to clr. More...
 
Color operator/ (const Color &clr, double scalar)
 Computes the quotient between the scalar and the input color channel values and returns the result. More...
 
Color operator/ (double scalar, const Color &clr)
 
Coloroperator/= (Color &clr, double scalar)
 Computes the quotient between the scalar and the input color channel values and assigns the result to clr. More...
 
template<class O >
O & operator<< (O &os, const Color &clr)
 Prints the color in a friendly way. More...
 
template<class D >
Feature< D > ColorFeature (const Image< Color > &src, const Adjacency &adj)
 Assings the values from the neighborhoods of each pixel from image src to a feature vector. More...
 
template<class D >
void ColorFeatureThread (const Image< Color > &src, const Adjacency &adj_rel, Feature< D > &res, size_t thread, size_t total_threads)
 Multi-thread implementation of ColorFeature. More...
 
template<class D >
Feature< D > ColorMedianFeature (const Image< Color > &src, const Adjacency &adj_rel, float proportion=0.6)
 Assings a median values from the neighborhoods of each pixel from image src to a feature vector. More...
 
template<class D >
Feature< D > ColorMedianFeature (const Image< Color > &src, const Image< D > &msk, const Adjacency &adj_rel, float proportion=0.6)
 Assings a median values from the neighborhoods of each pixel from image src, restricted by a mask msk to a feature vector. More...
 
template<class D >
void ColorMedianFeatureThread (const Image< Color > &src, const Adjacency &adj_rel, Feature< D > &res, size_t thread, size_t total_threads)
 Multi-thread implementation of ColorMedianFeature. More...
 
bool Equals (float value, float other, float factor)
 Useful function to compare floating point numbers. More...
 
bool Equals (double value, double other, double factor)
 
float Radians (float angle)
 Useful function to convert degrees ro radians. More...
 
double Radians (double angle)
 
float Degrees (float rad)
 Useful function to convert radians to degrees. More...
 
double Degrees (double rad)
 
FILE * Bial_popen (const char *command, const char *type)
 Same as popen for Linux and Apple, and _popen for Windows. More...
 
int Bial_pclose (FILE *stream)
 Same as pclose for Linux and Apple, and _pclose for Windows. More...
 
std::string DirectoryExistsCommand (const std::string &dirname)
 Generates a command for terminal to check if directory exists. More...
 
std::string FileDirectoryListCommand (const std::string &dirname)
 Generates a command for terminal to list files and directories in given directory. More...
 
std::string DirectoryListCommand (const std::string &dirname)
 Generates a command for terminal to list subdirectories in given directory. More...
 
std::string FileListCommand (const std::string &dirname)
 Generates a command for terminal to list files in given directory. More...
 
std::string FileListCommand (const std::string &dirname, const std::string &extension)
 Generates a command for terminal to list files in given directory with a given extension. More...
 
std::string MakeDirCommand (const std::string &dirname)
 Generates a command for terminal to create a directory. More...
 
template<class D >
Image< D > Correlation (const Image< D > &img, const Kernel &krn)
 Returns an image with correlation between img and krn. More...
 
template<class D >
void CorrelationThreads (const Image< D > &img, const Kernel &krn, Image< D > &res, size_t thread, size_t total_threads)
 Multithread implementation of correlation. More...
 
template<class O >
O & operator<< (O &os, const Box &obj)
 Prints object features into the output stream. More...
 
template<class O >
O & operator<< (O &os, const Circle &obj)
 Prints object features into the output stream. More...
 
Vector< float > Intersection (const Sequence &sequence, const Line &line)
 Locates the first point where the line and the sequence intersect. More...
 
Vector< float > Intersection (const Line &line1, const Line &line2)
 Computes and returns the coordinates where lines intersect each other. More...
 
template<class O >
O & operator<< (O &os, const Line &obj)
 Prints object features into the output stream. More...
 
template<class O >
O & operator<< (O &os, const Point &obj)
 Prints object features into the output stream. More...
 
template<class O >
O & operator<< (O &os, const Sequence &obj)
 Prints object features into the output stream. More...
 
template<class D >
void SVGDGraph (const Image< D > &vertex, const Adjacency &adj, const std::string &filename)
 Writes the directed graph in SVG format into a file. More...
 
template<class D >
void SVGDGraph (const Image< D > &vertex, const Vector< bool > &seed, const Adjacency &adj, const std::string &filename)
 Writes the directed graph in SVG format into a file. More...
 
template<class D >
void SVGDGraph (const Image< D > &vertex, const Vector< bool > &seed, const Image< int > &label, const Adjacency &adj, const std::string &filename)
 Writes the directed graph in SVG format into a file. More...
 
template<class D >
void SVGDForest (const Image< D > &cost, const Image< int > &pred, const Image< int > &label, const std::string &filename)
 Writes the directed graph in SVG format into a file. More...
 
template<class D , class O >
O & operator<< (O &os, const Feature< D > &ftr)
 
template<class D >
static void WriteBMP (const Image< D > &img, const std::string &filename)
 Open a BMP file to write 'this' content. More...
 
template<class D >
void WriteBMP (const Image< D > &img, const std::string &filename)
 Open a BMP file to write 'this' content. More...
 
template<>
void WriteBMP (const Image< Color > &img, const std::string &filename)
 
template<class D >
static Image< D > ReadDicom (const std::string &filename)
 Open a Dicom file for reading and returns it. More...
 
template<class D >
Image< D > ReadDicom (const std::string &filename)
 Open a Dicom file for reading and returns it. More...
 
template<>
Image< ColorReadDicom (const std::string &filename)
 Open a Dicom file for reading and returns it. More...
 
static bool Supported (const std::string &filename)
 Returns true for supported images. Return false for folders. More...
 
template<class D >
static Image< D > Read (const std::string &filename)
 Read an image from an input file and returns it. More...
 
template<class D >
static Vector< Image< D > > ReadDir (const std::string &dirname)
 Reads all supported images contained in the directory and return them in a vector of images. More...
 
template<class D >
static void Write (const Image< D > &img, const std::string &filename)
 Write the input image to a file with given name. More...
 
template<class D >
static void Write (const Image< D > &img, const std::string &filename, const std::string &headername)
 Write the input image to a file with given name. Also, includes the header read from given header name. More...
 
template<class D >
Vector< Image< D > > ReadDir (const std::string &dirname)
 Reads all supported images contained in the directory and return them in a vector of images. More...
 
template<class D >
Image< D > Read (const std::string &filename)
 Reads data from file and initializes a Feature vector with it. More...
 
template<>
Image< ColorRead (const std::string &filename)
 Reads data from file and initializes a Feature vector with it. More...
 
template<class D >
void Write (const Image< D > &img, const std::string &filename)
 Write the input image to a file with given name. More...
 
template<>
void Write (const Image< Color > &img, const std::string &filename)
 
template<class D >
void Write (const Image< D > &img, const std::string &filename, const std::string &headername)
 Write the input image to a file with given name. Also, includes the header read from given header name. More...
 
template<>
void Write (const Image< Color > &img, const std::string &filename, const std::string &headername)
 
template<class D >
static Matrix< D > ReadMatrix (const std::string &filename)
 Reads matrix from file. More...
 
template<class D >
static void Write (const Matrix< D > &mtx, const std::string &filename)
 Writes matrix into file. More...
 
template<class D >
static void WriteMatrix (const Matrix< D > &mtx, const std::string &filename)
 Writes matrix into file. More...
 
template<class D >
Matrix< D > ReadMatrix (const std::string &filename)
 Reads matrix from file. More...
 
template<class D >
void WriteMatrix (const Matrix< D > &mtx, const std::string &filename)
 Writes matrix into file. More...
 
template<class D >
void Write (const Matrix< D > &mtx, const std::string &filename)
 Writes matrix into file. More...
 
template<class D >
static Image< D > ReadNifti (const std::string &filename)
 Open a Nifti file for reading and store its content in 'this'. More...
 
template<class D >
static void WriteNifti (const Image< D > &img, const std::string &filename, const NiftiHeader &hdr)
 Open a Nifti file to write the content from 'this'. More...
 
template<>
Image< ColorReadNifti (const std::string &filename)
 Open a Nifti file for reading and store its content in 'this'. More...
 
template<class D >
Image< D > ReadNifti (const std::string &filename)
 Open a Nifti file for reading and store its content in 'this'. More...
 
template<class D >
void WriteNifti (const Image< D > &img, const std::string &filename, const NiftiHeader &hdr)
 Open a Nifti file to write the content from 'this'. More...
 
template<>
void WriteNifti (const Image< Color > &img, const std::string &filename, const NiftiHeader &hdr)
 
template<class D >
static Image< D > ReadPBM (const std::string &filename)
 Reads a PBM file and returns its contents. More...
 
template<class D >
static Image< D > ReadPGM (const std::string &filename)
 Reads a PGM file and returns its contents. More...
 
template<class D >
static Image< D > ReadPPM (const std::string &filename)
 Reads a PPM file and returns its contents. More...
 
template<class D >
static Image< D > ReadPNM (const std::string &filename)
 Reads a PNM file and returns its contents. More...
 
template<class D >
static void WritePBM (const Image< D > &img, const std::string &filename, const PNMHeader &hdr=PNMHeader(), const bool binary=true)
 Open a PBM file to write 'this' content. More...
 
template<class D >
static void WritePGM (const Image< D > &img, const std::string &filename, const PNMHeader &hdr=PNMHeader(), const bool binary=false)
 Open a PGM file to write 'this' content. More...
 
template<class D >
static void WritePPM (const Image< D > &img, const std::string &filename, const PNMHeader &hdr=PNMHeader(), const bool binary=true)
 Open a PPM file to write 'this' content. More...
 
template<class D >
static void WritePNM (const Image< D > &img, const std::string &filename, const PNMHeader &hdr=PNMHeader(), const bool binary=true)
 Open a PNM file to write 'this' content. More...
 
template<class D >
Image< D > ReadPBM (const std::string &filename)
 Reads a PBM file and returns its contents. More...
 
template<>
Image< ColorReadPBM (const std::string &filename)
 Reads a PBM file and returns its contents. More...
 
template<class D >
Image< D > ReadPGM (const std::string &filename)
 Reads a PGM file and returns its contents. More...
 
template<>
Image< ColorReadPGM (const std::string &filename)
 Reads a PGM file and returns its contents. More...
 
template<class D >
Image< D > ReadPPM (const std::string &filename)
 Reads a PPM file and returns its contents. More...
 
template<>
Image< ColorReadPPM (const std::string &filename)
 Reads a PPM file and returns its contents. More...
 
template<class D >
Image< D > ReadPNM (const std::string &filename)
 Reads a PNM file and returns its contents. More...
 
template<>
Image< ColorReadPNM (const std::string &filename)
 Reads a PNM file and returns its contents. More...
 
template<class D >
void WritePBM (const Image< D > &img, const std::string &filename, const PNMHeader &, const bool binary)
 Open a PBM file to write 'this' content. More...
 
template<>
void WritePBM (const Image< Color > &img, const std::string &filename, const PNMHeader &hdr, const bool binary)
 
template<class D >
void WritePGM (const Image< D > &img, const std::string &filename, const PNMHeader &, const bool binary)
 Open a PGM file to write 'this' content. More...
 
template<>
void WritePGM (const Image< Color > &img, const std::string &filename, const PNMHeader &hdr, const bool binary)
 
template<class D >
void WritePPM (const Image< D > &img, const std::string &filename, const PNMHeader &hdr, const bool binary)
 Open a PPM file to write 'this' content. More...
 
template<>
void WritePPM (const Image< Color > &img, const std::string &filename, const PNMHeader &, const bool binary)
 
template<class D >
void WritePNM (const Image< D > &img, const std::string &filename, const PNMHeader &hdr, const bool binary)
 Open a PNM file to write 'this' content. More...
 
template<>
void WritePNM (const Image< Color > &img, const std::string &filename, const PNMHeader &hdr, const bool binary)
 
template<class D >
static Image< D > ReadScene (const std::string &filename)
 Open a Scene file for reading and returns it. More...
 
template<class D >
static void WriteScene (const Image< D > &img, const std::string &filename)
 Open a Scene file to write 'this' content. More...
 
template<class D >
Image< D > ReadScene (const std::string &filename)
 Open a Scene file for reading and returns it. More...
 
template<>
Image< ColorReadScene (const std::string &filename)
 Open a Scene file for reading and returns it. More...
 
template<class D >
void WriteScene (const Image< D > &img, const std::string &filename)
 Open a Scene file to write 'this' content. More...
 
template<>
void WriteScene (const Image< Color > &img, const std::string &filename)
 
void Write (const Signal &sgn, const std::string &filename)
 Writes signal containts file. It writes a pair composed by frequency and value per line. More...
 
double Lerp (double t, double v1, double v2)
 Simple linear interpolation. More...
 
Vector3D operator* (double s, const Vector3D &vec)
 
Point3D operator* (double s, const Point3D &p)
 
Normal operator* (double s, const Normal &norm)
 
double Dot (const Vector3D &v1, const Vector3D &v2)
 
double Dot (const Normal &n1, const Normal &n2)
 
double Dot (const Normal &n1, const Vector3D &v2)
 
double Dot (const Vector3D &v1, const Normal &n2)
 
double AbsDot (const Vector3D &v1, const Vector3D &v2)
 
double AbsDot (const Normal &n1, const Normal &n2)
 
double AbsDot (const Normal &n1, const Vector3D &v2)
 
double AbsDot (const Vector3D &v1, const Normal &n2)
 
Vector3D Cross (const Vector3D &v1, const Vector3D &v2)
 
void CoordinateSystem (const Vector3D &v1, Vector3D *v2, Vector3D *v3)
 
double Distance (const Point3D &p1, const Point3D &p2)
 
double DistanceSquared (const Point3D &p1, const Point3D &p2)
 
Normal FaceForward (const Normal &n, const Vector3D &v)
 
template<class O >
O & operator<< (O &os, const Vector3D &vec)
 
template<class O >
O & operator<< (O &os, const Point3D &pt)
 
template<class O >
O & operator<< (O &os, const Normal &norm)
 
template<class O >
O & operator<< (O &os, const Ray &ray)
 
template<class O >
O & operator<< (O &os, const BBox &box)
 
template<class O >
O & operator<< (O &os, const Transform3D &tr)
 
template<class D , class O >
O & operator<< (O &os, const Image< D > &img)
 Prints the image in a friendly way. More...
 
template<class D >
Image< D > operator+ (const Image< D > &img1, const Image< D > &img2)
 Computes the sum of the images and returns the result. More...
 
template<class D >
Image< D > & operator+= (Image< D > &img1, const Image< D > &img2)
 Computes the sum of the images, assigns the result to img1, and returns the result. More...
 
template<class D >
Image< D > operator- (const Image< D > &img1, const Image< D > &img2)
 Computes the difference of the images and returns the result. More...
 
template<class D >
Image< D > & operator-= (Image< D > &img1, const Image< D > &img2)
 Computes the difference between input images, assigns the result to img1, and returns the result. More...
 
template<class D >
Image< D > operator* (const Image< D > &img1, const Image< D > &img2)
 Computes the product of the images and returns the result. More...
 
template<class D >
Image< D > & operator*= (Image< D > &img1, const Image< D > &img2)
 Computes the product between input images, assigns the result to img1, and returns the result. More...
 
template<class D >
Image< D > operator/ (const Image< D > &img1, const Image< D > &img2)
 Computes the quotient of the images and returns the result. More...
 
template<class D >
Image< D > & operator/= (Image< D > &img1, const Image< D > &img2)
 Computes the quotient between input images, assigns the result to img1, and returns the result. More...
 
template<class D >
Image< D > operator+ (const Image< D > &img, double scalar)
 Computes the sum of the scalar to input image pixel values and returns the result. More...
 
template<class D >
Image< D > operator+ (double scalar, const Image< D > &img)
 
template<class D >
Image< D > & operator+= (Image< D > &img, double scalar)
 Computes the sum of the scalar to input image pixel values and assigns the result to img. More...
 
template<class D >
Image< D > operator- (const Image< D > &img, double scalar)
 Computes the differente between scalar and input image pixel values and returns the result. More...
 
template<class D >
Image< D > operator- (double scalar, const Image< D > &img)
 
template<class D >
Image< D > & operator-= (Image< D > &img, double scalar)
 Computes the difference between the scalar and input image pixel values and assigns the result to img. More...
 
template<class D >
Image< D > operator* (const Image< D > &img, double scalar)
 Computes the product of the scalar and input image pixel values and returns the result. More...
 
template<class D >
Image< D > operator* (double scalar, const Image< D > &img)
 
template<class D >
Image< D > & operator*= (Image< D > &img, double scalar)
 Computes the product of the scalar and input image pixel values and assigns the result to img. More...
 
template<class D >
Image< D > operator/ (const Image< D > &img, double scalar)
 Computes the quotient between the scalar and the input image pixel values and returns the result. More...
 
template<class D >
Image< D > operator/ (double scalar, const Image< D > &img)
 
template<class D >
Image< D > & operator/= (Image< D > &img, double scalar)
 Computes the quotient between the scalar and the input image pixel values and assigns the result to img. More...
 
template<class D >
Image< D > Abs (const Image< D > &img)
 Computes the absolute value of image pixel values as return an image with the result. More...
 
template<class O >
O & operator<< (O &os, const Kernel &knl)
 
template<class D , class O >
O & operator<< (O &os, const Matrix< D > &mat)
 Prints the matrix in a friendly way. More...
 
template<class D >
Feature< D > MedianFeature (const Matrix< D > &src, const Adjacency &adj, float proportion=0.6)
 Assings a median values from the neighborhoods of each pixel from matrix src to a feature vector. More...
 
template<class D >
Feature< D > MedianFeature (const Matrix< D > &src, const Matrix< D > &msk, const Adjacency &adj, float proportion=0.6)
 Assings a median values from the neighborhoods of each pixel from matrix src, restricted by a mask msk to a feature vector. More...
 
template<class D >
void MedianFeatureThread (const Matrix< D > &src, const Adjacency &adj_rel, Feature< D > &res, size_t thread, size_t total_threads)
 Multi-thread implementation of MedianFeature. More...
 
template<class D >
Feature< D > MedianFeature (const Image< D > &src, const Adjacency &adj, float proportion=0.6)
 Assings a median values from the neighborhoods of each pixel from image src to a feature vector. More...
 
template<class D >
Feature< D > MedianFeature (const Image< D > &src, const Image< D > &msk, const Adjacency &adj, float proportion=0.6)
 Assings a median values from the neighborhoods of each pixel from image src, restricted by a mask msk to a feature vector. More...
 
template<class O >
O & operator<< (O &os, const NiftiHeader &hdr)
 Prints the header in a friendly way. More...
 
template<class O >
O & operator<< (O &os, NiftiHeader &hdr)
 
RealColor operator+ (const RealColor &clr1, const RealColor &clr2)
 Computes the sum of the colors and returns the result. More...
 
RealColoroperator+= (RealColor &clr1, const RealColor &clr2)
 Computes the sum of the colors, assigns the result to clr1, and returns the result. More...
 
RealColor operator- (const RealColor &clr1, const RealColor &clr2)
 Computes the difference of the colors and returns the result. More...
 
RealColoroperator-= (RealColor &clr1, const RealColor &clr2)
 Computes the difference between input colors, assigns the result to clr1, and returns the result. More...
 
RealColor operator* (const RealColor &clr1, const RealColor &clr2)
 Computes the product of the colors and returns the result. More...
 
RealColoroperator*= (RealColor &clr1, const RealColor &clr2)
 Computes the product between input colors, assigns the result to clr1, and returns the result. More...
 
RealColor operator/ (const RealColor &clr1, const RealColor &clr2)
 Computes the quotient of the colors and returns the result. More...
 
RealColoroperator/= (RealColor &clr1, const RealColor &clr2)
 Computes the quotient between input colors, assigns the result to clr1, and returns the result. More...
 
bool operator== (const RealColor &clr1, const RealColor &clr2)
 Compares two colors and returns true if they are equal. More...
 
bool operator!= (const RealColor &clr1, const RealColor &clr2)
 Compares two colors and returns true if they are different. More...
 
RealColor operator+ (const RealColor &clr, double scalar)
 Computes the sum of the scalar to input color channel values and returns the result. More...
 
RealColor operator+ (double scalar, const RealColor &clr)
 
RealColoroperator+= (RealColor &clr, double scalar)
 Computes the sum of the scalar to input color channel values and assigns the result to clr. More...
 
RealColor operator- (const RealColor &clr, double scalar)
 Computes the differente between scalar and input color channel values and returns the result. More...
 
RealColor operator- (double scalar, const RealColor &clr)
 
RealColoroperator-= (RealColor &clr, double scalar)
 Computes the difference between the scalar and input color channel values and assigns the result to clr. More...
 
RealColor operator* (const RealColor &clr, double scalar)
 Computes the product of the scalar and input color channel values and returns the result. More...
 
RealColor operator* (double scalar, const RealColor &clr)
 
RealColoroperator*= (RealColor &clr, double scalar)
 Computes the product of the scalar and input color channel values and assigns the result to clr. More...
 
RealColor operator/ (const RealColor &clr, double scalar)
 Computes the quotient between the scalar and the input color channel values and returns the result. More...
 
RealColor operator/ (double scalar, const RealColor &clr)
 
RealColoroperator/= (RealColor &clr, double scalar)
 Computes the quotient between the scalar and the input color channel values and assigns the result to clr. More...
 
template<class O >
O & operator<< (O &os, const RealColor &clr)
 Prints the color in a friendly way. More...
 
template<class O >
O & operator<< (O &os, const Signal &sig)
 
template<class D >
Feature< D > SpatialFeature (const Matrix< D > &src)
 Features are the coordinates of non-zero samples in src matrix. More...
 
template<class D >
Feature< D > SpatialFeature (const Image< D > &src)
 Features are the coordinates of non-zero samples in src image. More...
 
template<class O >
O & operator<< (O &os, const Table &tbl)
 
template<class D >
bool operator== (const Vector< D > &lhs, const Vector< D > &rhs)
 Operators. More...
 
template<class D >
bool operator!= (const Vector< D > &lhs, const Vector< D > &rhs)
 
template<class D >
bool operator< (const Vector< D > &lhs, const Vector< D > &rhs)
 
template<class D >
bool operator<= (const Vector< D > &lhs, const Vector< D > &rhs)
 
template<class D >
bool operator> (const Vector< D > &lhs, const Vector< D > &rhs)
 
template<class D >
bool operator>= (const Vector< D > &lhs, const Vector< D > &rhs)
 
template<class D >
void swap (Vector< D > &x, Vector< D > &y)
 
template<class D , class O >
O & operator<< (O &os, const Vector< D > &vec)
 

Variables

int verbose
 Determines the COMMENT macro verbosity. More...
 
const double Pi = std::atan( 1.0 ) * 4.0
 

Detailed Description

Adjacency relation with indexes following gray code sequency.
Future add-on's: none.

Inverse Euclidean distance transform.

Euclidean Distance Transform.

Table class. 2 dimensional table handeling. When acessed by (x, y) operator, index x corresponds to the index of the column, and index y corresponds to the index of the row. This standard comes from text printing order and image display and storage in most of the computer systems.

BIAL_Superpixel class. Functions to call SLIC superpixel routines.

Sum path function to compute the initial path-values and propagated path-values in IFT algorithm. Used by live-wire.

Intensity standard deviation.

Basic true and false positive and negative metrics.

Observed agreement metric.

Median absolute deviation computation.

Kappa metric.

Jaccard metric.

Dice metric.

Baddeley metric.

Average image intensity.

Feature vector composed by the coordinates of valid the matrix/image elements/pixels. Valid elements/pixels have non-zero value/intensity.

Sorting algorithm that outputs the order of the original indexes after sorting.

binary search in sorted vector.

Computes otsu threshold of signals signal.

Signal normalization.

Computes median filter over the signal.

Functions to locate key points in signal such as peaks, acclivities, plateaus, etc.

Functions to compute signal hysteresis.

Signal equalization functions.

Functions to deal with empty bins in a signal. Useful to locate key points.

Computes the accumulated signal.

Signal handeling.

: Segmentation with watershed algorithm.

: Segmentation of 3D surface.

: Segmentation of a 2D image in quadrants.

: Segmentation by Otsu thresholding.

: Segmentation of 3D image into octants.

: Segmentation with minimum spanning tree.

: Segmentation by intensity thresholding.

: Segmentation by intensity hysteresis.

: Segmentation with oriented geodesic star algorithm. Combines geodesic distance and sum of arcs with orientation.

Find the connected components and select some among them.

: Segmentation of object border.

: Image background segmentation. Segments a large piece of dark pixels in the background.

Functions to sample uniformly from feature vector.

Random sampling elements from feature vector.

Methods for sampling elements.

Colorspace convertion methods. For real value color spaces.

Plotting algorithms. Plots in GnuPlot format.

Class for interpolation of pixels.

Path function to compute the initial path-values and propagated path-values in IFT algorithm.

Oriented intern Path function to compute the initial path-values and propagated path-values in IFT algorithm. Function for image segmentation with geodesic star distance. Result is normaly based on label map.

Oriented external path function to compute the initial path-values and propagated path-values in IFT algorithm. Function for image segmentation with geodesic star distance. Result is normaly based on label map.

OPF spectral clustering algorithms.

OPF spatial clustering algorithms.

OPF hierarchical clustering algorithms. NOT WORKING YET.

OPF cluster matching verification algorithms.

class used to discriminate MRI modality.

Morphological erosion over images.

Morphological dilation over images.

Min Path function to compute the initial path-values and propagated path-values in IFT algorithm. Function for segmentation. This implements OPF transforms.

Feature vector extracted from image. Gets the median intensity pixels around each valid pixel. A feature vector is generated from each valid pixel.

Max sum path function to compute the initial path-values and propagated path-values in IFT algorithm. This function is has a mixed behavior of maximum and sum path functions. It may adopt a direction.

Max Path function to compute the initial path-values and propagated path-values in IFT algorithm. Functions used by Watershed transform.

Compute the matrix transpose.

Functions to compute polar matrix.

Functions to compute matrix inverse.

Set matrix to identity or computer distance from identity.

Compute matrix determinant.

N dimensional matrix handeling. When acessed by (x, y), or (x, y, z) operator, index x corresponds to the index of the column, and index y corresponds to the index of the row. This standard comes from text printing order and image display and storage in most of the computer systems.

Local Max Path function to compute the initial path-values and propagated path-values in IFT algorithm. Used by River Bed algorithm.

Sobel kernel generator.

Round kernel generator.

Kernel iterator class.

Gaussian kernel generator.

Gabor kernel generator.

Box kernel generator.

Kernel class.

Functions to compute intensity local minima or maxima.

Image intensity manipulation functions.

Integral image construction and properties.

Image swap dimensions.

Image splitting.

Image region of interest. Minimal sub image coordinates without zero frame.

Operations to get sub-matrix.

Image merging.

Image interpolation using interpolation functions.

IFT algorithm running on Images.

Image add/remove frame.

Algorithms to check if tow images have the same dimensions and containts.

Image class declaration. Handles 2D and 3D images.

Hough transform for circles.

Creating histograms from data.

Hierarchical path function to compute the initial path-values and propagated path-values in IFT algorithm. Function used by optimum path forest clustering and classification for hierarchical implementation. Result is normaly in label map. NOT READY. DO NOT USE.

Heart segmentation functions.

Heart center of gravity estimation.

Abstract class to define graph adjacencies.

Computes sobel gradient.

Computes multiscale Canny gradient.

Operations to be executed after defining the gradient.

Computes morphological gradient, that is, open - close.

Computes Gabor gradient.

Computes directional gradient. This gradient is the contribution of the intensity differences from all adjacents.

Computes Canny gradient.

Geodesic restriction sum path function to compute the initial path-values and propagated path-values in IFT algorithm. This function is used to compute predecessor map for Geodesic Star Functions.

Image translation. Direct translation or corresponding affine transform.

Image shear. Direct shear or corresponding affine transform.

Image scaling. Direct scaling or corresponding affine transform.

Image rotation. Direct retation around coordinate system origin or corresponding affine transform.

Affine transformation.

Geometric transforms for 3D visualization and printing.

Geodesic distance path function to compute the initial path-values and propagated path-values in IFT algorithm. Used to compute the distance from a set of pixels to the rest of the image.

Image filtering methods.

Median filter.

Mean filter.

Gaussian filter.

Anisotropic diffusion filtering to remove high-frequency noise.

Functions to write signal into file.

Reading and writing scene type images.

Reading and writing from PNM, PBM, PGM, and PNM files.

Reading and writing support for Nifti files.

Reading and writing matrices.

Functions to read and write generic files and multiple files from directory.

Functions for Feature I/O.

Reading dicom files.

Writing to BMP gray images.

Functions to merge feature vectors.

Feature distance path function to compute the initial path-values and propagated path-values in IFT algorithm. Function for classification of classifiers results. Result is both in value (probabilities) and label maps.

Feature vector class. It is essentialy a matrix where, the first dimention refers to the feature and the other dimension to the element. Example: Using constructor Feature( 4, 4 ) the vector will be allocated as follows: f_0_0, f_0_1, f_0_2, f_0_3, f_1_0, f_1_1, ..., where f_i_j is the feature i of sample j.

Edge detection with Riverbed algorithm.

Edge Max Path function to compute the initial path-values and propagated path-values in IFT algorithm. Function used by optimum path foresting clustering and classification. Result is normaly in label map.

Edge detection with Livewire algorithm.

Edge detection with LazyWalk algorithm.

Functions to draw graphs in SVG file format.

Functions to draw forms in images.

Functions to draw points in images.

Functions to draw lines in images.

Functions to find intersection between forms.

'Virtual' class to draw forms in images.

Functions to draw circles in images.

Diffusion functions to compute annisotropic filtering and other algorithms.

Diff path function to compute the initial path-values and propagated path-values in IFT algorithm. Used by live-wire.

Degenerated IFT algorithm. Used for segmentation by MST method.

Image correlation.

Connected components path function to compute the initial path-values and propagated path-values in IFT algorithm. Function to label connected components in image. Result comes normaly from label map.

The Bial namespace holds all library functions.

RGB color space convertion methods.

Generates a feature vector composed by red, green, and blue median colors in the adjacency of pixels as the features. A vector is generated for each valid pixel.

CIELab color space convertion methods.

HSI color space convertion methods.

Generates a feature vector composed by red, green, and blue colors as the features. A vector is generated for each valid pixel.

Operations over color channels.

Colorspace convertion methods. For integer colors.

IFT algorithm for clustering purposes.

B-Spline implementation.

Functions to segment brain tissues into GM/WM/CSF.

Functions to strip the skull from the brain image.

Class for computing brain histogram based intensities, such as peaks, valleys, mean, minimum, and maximum.

Functions to estimate and correct inhomogeneity.

Functions to find the COG of a brain image.

Bit wise opperations over integer numbers.

Computes the complement of a binary image restricted or not to a mask.

Adjacency relation with round format.
Future add-on's: none.

Adjacency relation for marching cubes algorithm.
Future add-on's: none.

Adjacency iterator class used as a forward iteratior for adjacency relation.
Future add-on's: none.

Date
2012/Jul/05
2012/Oct/18
2013/Aug/27
: 2014/Jan/07
2012/Sep/19 Content: ChessBoard distance function.
2012/Sep/19 Content: Distance function abstract class to compute the distance between array elements.
2012/Sep/08
: 2015/Oct/06
: 2013/Oct/29
2012/Jun/26
2012/Sep/19
2013/Jul/12
2012/Sep/19 Content: Distance function interface for generic algorithm implementation.
2014/Mar/14
2015/Apr/07
2012/Sep/19 Content: Euclidean distance function.
2013/Aug/08
Warning
Very basic support. Only writing to gray images yet.
Date
2013/Aug/08
Warning
Only a small set of dicom files may open correctly. Probably not even possible to implement all.
Date
2013/Aug/08
2012/Sep/11
2012/Sep/21
2012/Sep/26
2013/12/12
2012/Sep/26 Content: Hierarchical Graph for clustering.
2014/Apr/07
2015/Aug/21
2016/Sep/15
2012/Jun/21
2013/Nov/19
2012/Sep/26 Content: Knn graph adjacency.
2012/Sep/26 Content: LSH graph adjacency.
2014/Apr/16
2015/Jan/12
2012/Sep/19 Content: Euclidean distance function with square distances pre computed.
2012/Sep/27
2016/Jun/27
2013/Sep/04
2012/Dec/04
2015/Sep/22
2014/Jan/07

Enumeration Type Documentation

enum Bial::BucketState : char
strong
Enumerator
NOT_VISITED 
INSERTED 
UPDATED 
REMOVED 

Definition at line 28 of file BucketQueueElements.hpp.

enum Bial::DistanceFunctionType : char
strong
Enumerator
Euclidean 
PreEuclidean 
SquareEuclidean 
CityBlock 
ChessBoard 

Definition at line 19 of file DFIDE.hpp.

enum Bial::MRIModality : char
strong

MRI modality.

Enumerator
UNKNOWN 
T1 
T2 
PD 

Definition at line 17 of file MRIModality.hpp.

enum Bial::MultiImageType : char
strong

The MultiImageType class is used to identify which image type is open in MultiImage.

Enumerator
none 
int_img 
flt_img 
clr_img 
rcl_img 

Definition at line 23 of file MultiImage.hpp.

enum Bial::NiftiIntent : short
strong

NIFTI1_INTENT: nifti1 intent codes, to describe intended meaning of dataset contents.

Enumerator
NONE 
CORREL 
TTEST 
FTEST 
ZSCORE 
CHISQ 
BETA 
BINOM 
GAMMA 
POISSON 
NORMAL 
FTEST_NONC 
CHISQ_NONC 
LOGISTIC 
LAPLACE 
UNIFORM 
TTEST_NONC 
WEIBULL 
CHI 
INVGAUSS 
EXTVAL 
PVAL 
LOGPVAL 
LOG10PVAL 
FIRST_STAT 
LAST_STAT 
ESTIMATE 
LABEL 
NEURONAME 
GENMATRIX 
SYMMATRIX 
DISPVECT 
VECTOR 
POINTSET 
TRIANGLE 
QUATERNION 
DIMLESS 
TIME_SERIES 
NODE_INDEX 
RGB_VECTOR 
RGBA_VECTOR 
SHAPE 

Definition at line 54 of file NiftiHeader.hpp.

enum Bial::NiftiSlice : char
strong

NIFTI1_SLICE_ORDER: nifti1 slice order codes, describing the acquisition order of the slices.

Enumerator
UNKNOWN 
SEQ_INC 
SEQ_DEC 
ALT_INC 
ALT_DEC 
ALT_INC2 
ALT_DEC2 

Definition at line 235 of file NiftiHeader.hpp.

enum Bial::NiftiType : short
strong
Enumerator
UINT8 
INT16 
INT32 
FLOAT32 
FLOAT64 
INT8 
UINT16 
UINT32 
INT64 
UINT64 

Definition at line 40 of file NiftiHeader.hpp.

enum Bial::NiftiUnit : char
strong

NIFTI1_UNITS: nifti1 units codes to describe the unit of measurement for each dimension of the dataset.

Enumerator
UNKNOWN 
METER 
MM 
MICRON 
SEC 
MSEC 
USEC 
HZ 
PPM 
RADS 

Definition at line 221 of file NiftiHeader.hpp.

enum Bial::NiftiXForm : short
strong

NIFTI1_XFORM_CODES: nifti1 xform codes to describe the "standard" x,y,z coordinate system.

Enumerator
UNKNOWN 
SCANNER_ANAT 
ALIGNED_ANAT 
TALAIRACH 
MNI_152 

Definition at line 212 of file NiftiHeader.hpp.

enum Bial::TableCellType : char
strong
Enumerator
INT 
FLT 
STR 

Definition at line 21 of file Table.hpp.

Function Documentation

template<class D >
Image< D > Bial::Abs ( const Image< D > &  img)

Computes the absolute value of image pixel values as return an image with the result.

Date
2013/Nov/06
Parameters
imginput image.
Returns
Image whose pixel values are the absolute value of the input image pixel values.
Warning
none.
template<class D >
AdjacencyIterator Bial::begin ( const Adjacency adj,
const Vector< D > &  vct,
size_t  pixel_index 
)

returns an iterator to first valid adjacent element.

Date
2015/Jul/03
Parameters
adjAn adjacency relation.
vctA vector with the dimensions of the image or matrix.
pixel_indexThe pixel for which the adjacents must be looked to.
Returns
Iterator to first valid adjacent element.
Warning
none.
template<class D >
AdjacencyIterator Bial::begin ( const Adjacency adj,
const Matrix< D > &  mtx,
size_t  pixel_index 
)

returns an iterator to first valid adjacent element.

Date
2012/Sep/24
Parameters
adjAn adjacency relation.
mtxA matrix for data dimensions.
pixel_indexThe pixel for which the adjacents must be looked to.
Returns
Iterator to first valid adjacent element.
Warning
none.
template<class D >
AdjacencyIterator Bial::begin ( const Adjacency adj,
const Image< D > &  img,
size_t  pixel_index 
)

returns an iterator to first valid adjacent element.

Date
2014/Apr/14
Parameters
adjAn adjacency relation.
imgA matrix for data dimensions.
pixel_indexThe pixel for which the adjacents must be looked to.
Returns
Iterator to first valid adjacent element.
Warning
none.
template<class D >
Feature< D > Bial::ColorFeature ( const Image< Color > &  src,
const Adjacency adj 
)

Assings the values from the neighborhoods of each pixel from image src to a feature vector.

Date
2014/May/01
Parameters
srcInput source image to extract features.
adjAdjacency relation of each pixel.
Returns
A median feature vector.
Warning
none.
template<class D >
void Bial::ColorFeatureThread ( const Image< Color > &  src,
const Adjacency adj_rel,
Feature< D > &  res,
size_t  thread,
size_t  total_threads 
)

Multi-thread implementation of ColorFeature.

Date
2014/May/01
Parameters
srcInput source image to extract features.
adj_relAdjacency relation of each pixel.
resResulting feature vector.
threadThread number.
total_threadsNumber of threads.
Returns
none.
Warning
none.
template<class D >
Feature< D > Bial::ColorMedianFeature ( const Image< Color > &  src,
const Adjacency adj_rel,
float  proportion = 0.6 
)

Assings a median values from the neighborhoods of each pixel from image src to a feature vector.

Date
2014/May/16
Parameters
srcInput source image to extract features.
adj_relAdjacency relation of each pixel.
proportionProportion of the pixels in adj to be taken. In ]0.0,1.0].
Returns
A median feature vector of all colors.
Warning
none.
template<class D >
Feature< D > Bial::ColorMedianFeature ( const Image< Color > &  src,
const Image< D > &  msk,
const Adjacency adj_rel,
float  proportion = 0.6 
)

Assings a median values from the neighborhoods of each pixel from image src, restricted by a mask msk to a feature vector.

Date
2014/May/16
Parameters
srcInput source image to extract features.
mskInput mask image that restricts the extracting feature pixels.
adj_relAdjacency relation of each pixel.
proportionProportion of the pixels in adj to be taken. In ]0.0,1.0].
Returns
A median feature vector of all colors.
Warning
Image element p is not considered if msk[ p ] == 0.
template<class D >
void Bial::ColorMedianFeatureThread ( const Image< Color > &  src,
const Adjacency adj_rel,
Feature< D > &  res,
size_t  thread,
size_t  total_threads 
)

Multi-thread implementation of ColorMedianFeature.

Date
2014/May/16
Parameters
srcInput source image to extract features.
adj_relAdjacency relation of each pixel.
resResulting feature vector.
threadThread number.
total_threadsNumber of threads.
Returns
none.
Warning
none.
template<class D >
Image< D > Bial::Correlation ( const Image< D > &  img,
const Kernel krn 
)

Returns an image with correlation between img and krn.

Date
2013/Nov/21
Parameters
imgInput image.
krnA kernel.
Returns
Image with correlation between img and krn.
Warning
none.
template<class D >
void Bial::CorrelationThreads ( const Image< D > &  img,
const Kernel krn,
Image< D > &  res,
size_t  thread,
size_t  total_threads 
)

Multithread implementation of correlation.

Date
2013/Nov/26
Parameters
imgInput image.
krnA kernel.
resResulting image.
threadnumber of the thread.
total_threadstotal number of threads.
Returns
none.
Warning
none.
template<class D >
AdjacencyIterator Bial::end ( const Adjacency adj,
const Vector< D > &  vct,
size_t  pixel_index 
)

Returns an iterator to position after the end of elements.

Date
2015/Jul/03
Parameters
adjAn adjacency relation.
vctA vector with the dimensions of the image or matrix.
pixel_indexThe pixel for which the adjacents must be looked to.
Returns
Iterator to position after the end of elements.
Warning
none.
template<class D >
AdjacencyIterator Bial::end ( const Adjacency adj,
const Matrix< D > &  mtx,
size_t  pixel_index 
)

Returns an iterator to position after the end of elements.

Date
2012/Sep/24
Parameters
adjAn adjacency relation.
mtxA matrix for data dimensions.
pixel_indexThe pixel for which the adjacents must be looked to.
Returns
Iterator to position after the end of elements.
Warning
none.
template<class D >
AdjacencyIterator Bial::end ( const Adjacency adj,
const Image< D > &  img,
size_t  pixel_index 
)

Returns an iterator to position after the end of elements.

Date
2014/Apr/14
Parameters
adjAn adjacency relation.
imgA matrix for data dimensions.
pixel_indexThe pixel for which the adjacents must be looked to.
Returns
Iterator to position after the end of elements.
Warning
none.
template<size_t I, class D , size_t S>
D & Bial::get ( Array< D, S > &  arr)
noexcept

Returns a reference to I'th element of the array.

Date
2015/Apr/22
Parameters
arran array.
Returns
Reference to I'th element of the array.
Warning
none.

Definition at line 1447 of file Array.hpp.

template<size_t I, class D , size_t S>
D && Bial::get ( Array< D, S > &&  arr)
noexcept

Definition at line 1452 of file Array.hpp.

template<size_t I, class D , size_t S>
const D & Bial::get ( const Array< D, S > &  arr)
noexcept

Definition at line 1457 of file Array.hpp.

Vector< float > Bial::Intersection ( const Sequence sequence,
const Line line 
)

Locates the first point where the line and the sequence intersect.

Date
2015/Jul/08
Parameters
sequenceA sequence.
linePixels of a line.
Returns
A vector with the coordinates of the first intersection with the line. Returns empty vector, if it they don't intersect.
Warning
none.
Vector< float > Bial::Intersection ( const Line line1,
const Line line2 
)

Computes and returns the coordinates where lines intersect each other.

Date
2015/Jul/08
Parameters
line1,line2Lines to be checked for intersection.
Returns
A vector with the coordinates where the lines intersect each other. Returns empty vector if they are parallel.
Warning
none.
template<class D >
Feature< D > Bial::MedianFeature ( const Matrix< D > &  src,
const Adjacency adj,
float  proportion = 0.6 
)

Assings a median values from the neighborhoods of each pixel from matrix src to a feature vector.

Date
2012/Jun/29
Parameters
srcInput source matrix to extract features.
adjAdjacency relation of each pixel.
proportionProportion of the pixels in adj to be taken. In ]0.0,1.0].
Returns
A median feature vector.
Warning
none.
template<class D >
Feature< D > Bial::MedianFeature ( const Matrix< D > &  src,
const Matrix< D > &  msk,
const Adjacency adj,
float  proportion = 0.6 
)

Assings a median values from the neighborhoods of each pixel from matrix src, restricted by a mask msk to a feature vector.

Date
2012/Jun/29
Parameters
srcInput source matrix to extract features.
mskInput mask matrix that restricts the extracting feature pixels.
adjAdjacency relation of each pixel.
proportionProportion of the pixels in adj to be taken. In ]0.0,1.0].
Returns
A median feature vector.
Warning
Matrix element p is not considered if msk[ p ] == 0.
template<class D >
Feature< D > Bial::MedianFeature ( const Image< D > &  src,
const Adjacency adj,
float  proportion = 0.6 
)

Assings a median values from the neighborhoods of each pixel from image src to a feature vector.

Date
2014/Apr/16
Parameters
srcInput source image to extract features.
adjAdjacency relation of each pixel.
proportionProportion of the pixels in adj to be taken. In ]0.0,1.0].
Returns
A median feature vector.
Warning
none.
template<class D >
Feature< D > Bial::MedianFeature ( const Image< D > &  src,
const Image< D > &  msk,
const Adjacency adj,
float  proportion = 0.6 
)

Assings a median values from the neighborhoods of each pixel from image src, restricted by a mask msk to a feature vector.

Date
2014/Apr/16
Parameters
srcInput source image to extract features.
mskInput mask image that restricts the extracting feature pixels.
adjAdjacency relation of each pixel.
proportionProportion of the pixels in adj to be taken. In ]0.0,1.0].
Returns
A median feature vector.
Warning
Image element p is not considered if msk[ p ] == 0.
template<class D >
void Bial::MedianFeatureThread ( const Matrix< D > &  src,
const Adjacency adj_rel,
Feature< D > &  res,
size_t  thread,
size_t  total_threads 
)

Multi-thread implementation of MedianFeature.

Date
2013/Nov/28
Parameters
srcInput source matrix to extract features.
adj_relAdjacency relation of each pixel.
resResulting feature vector.
threadThread number.
total_threadsNumber of threads.
Returns
none.
Warning
none.
bool Bial::operator!= ( const RealColor clr1,
const RealColor clr2 
)

Compares two colors and returns true if they are different.

Date
2015/Oct/20
Parameters
otherOther color.
Returns
true if clr1 is different of clr2.
Warning
none.
bool Bial::operator!= ( const Color clr1,
const Color clr2 
)

Compares two colors and returns true if they are different.

Date
2015/Oct/06
Parameters
otherOther color.
Returns
true if clr1 is different of clr2.
Warning
none.
template<class D , size_t S>
bool Bial::operator!= ( const Array< D, S > &  lhs,
const Array< D, S > &  rhs 
)

Definition at line 1277 of file Array.hpp.

template<class D >
bool Bial::operator!= ( const Vector< D > &  lhs,
const Vector< D > &  rhs 
)

Definition at line 4004 of file Vector.hpp.

RealColor Bial::operator* ( const RealColor clr1,
const RealColor clr2 
)

Computes the product of the colors and returns the result.

Date
2015/Oct/06
Parameters
clr1,clr2Input colors.
Returns
Product of the input colors element by element.
Warning
none.
Color Bial::operator* ( const Color clr1,
const Color clr2 
)

Computes the product of the colors and returns the result.

Date
2015/Oct/06
Parameters
clr1,clr2Input colors.
Returns
Product of the input colors element by element.
Warning
none.
RealColor Bial::operator* ( const RealColor clr,
double  scalar 
)

Computes the product of the scalar and input color channel values and returns the result.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Multiplies the scalar to input color channel values.
Warning
none.
RealColor Bial::operator* ( double  scalar,
const RealColor clr 
)
Color Bial::operator* ( const Color clr,
double  scalar 
)

Computes the product of the scalar and input color channel values and returns the result.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Multiplies the scalar to input color channel values.
Warning
none.
Color Bial::operator* ( double  scalar,
const Color clr 
)
template<class D >
Image< D > Bial::operator* ( const Image< D > &  img1,
const Image< D > &  img2 
)

Computes the product of the images and returns the result.

Date
2012/Jul/02
Parameters
img1,img2Input images.
Returns
Product of the input images element by element.
Warning
Images must have the same dimensions.
template<class D >
Image< D > Bial::operator* ( const Image< D > &  img,
double  scalar 
)

Computes the product of the scalar and input image pixel values and returns the result.

Date
2012/Jul/02
Parameters
scalara scalar.
imgInput image.
Returns
Multiplies the scalar to input image pixel values.
Warning
none.
template<class D >
Image< D > Bial::operator* ( double  scalar,
const Image< D > &  img 
)
RealColor& Bial::operator*= ( RealColor clr1,
const RealColor clr2 
)

Computes the product between input colors, assigns the result to clr1, and returns the result.

Date
2015/Oct/06
Parameters
otherOther color.
Returns
Reference to clr1.
Warning
none.
Color& Bial::operator*= ( Color clr1,
const Color clr2 
)

Computes the product between input colors, assigns the result to clr1, and returns the result.

Date
2015/Oct/06
Parameters
otherOther color.
Returns
Reference to clr1.
Warning
none.
RealColor& Bial::operator*= ( RealColor clr,
double  scalar 
)

Computes the product of the scalar and input color channel values and assigns the result to clr.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Reference to clr.
Warning
none.
Color& Bial::operator*= ( Color clr,
double  scalar 
)

Computes the product of the scalar and input color channel values and assigns the result to clr.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Reference to clr.
Warning
none.
template<class D >
Image< D >& Bial::operator*= ( Image< D > &  img1,
const Image< D > &  img2 
)

Computes the product between input images, assigns the result to img1, and returns the result.

Date
2012/Jul/02
Parameters
otherOther image.
Returns
Reference to img1.
Warning
Images must have the same dimensions.
template<class D >
Image< D >& Bial::operator*= ( Image< D > &  img,
double  scalar 
)

Computes the product of the scalar and input image pixel values and assigns the result to img.

Date
2012/Jul/02
Parameters
scalara scalar.
imgInput image.
Returns
Reference to img.
Warning
none.
RealColor Bial::operator+ ( const RealColor clr1,
const RealColor clr2 
)

Computes the sum of the colors and returns the result.

Date
2015/Oct/06
Parameters
clr1,clr2Input colors.
Returns
Sum the input colors element by element.
Warning
none.
Color Bial::operator+ ( const Color clr1,
const Color clr2 
)

Computes the sum of the colors and returns the result.

Date
2015/Oct/06
Parameters
clr1,clr2Input colors.
Returns
Sum the input colors element by element.
Warning
none.
RealColor Bial::operator+ ( const RealColor clr,
double  scalar 
)

Computes the sum of the scalar to input color channel values and returns the result.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Sums scalar to input color channel values.
Warning
none.
RealColor Bial::operator+ ( double  scalar,
const RealColor clr 
)
Color Bial::operator+ ( const Color clr,
double  scalar 
)

Computes the sum of the scalar to input color channel values and returns the result.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Sums scalar to input color channel values.
Warning
none.
Color Bial::operator+ ( double  scalar,
const Color clr 
)
template<class D >
Image< D > Bial::operator+ ( const Image< D > &  img1,
const Image< D > &  img2 
)

Computes the sum of the images and returns the result.

Date
2012/Jul/02
Parameters
img1,img2Input images.
Returns
Sum the input images element by element.
Warning
Images must have the same dimensions.
template<class D >
Image< D > Bial::operator+ ( const Image< D > &  img,
double  scalar 
)

Computes the sum of the scalar to input image pixel values and returns the result.

Date
2012/Jul/02
Parameters
scalara scalar.
imgInput image.
Returns
Sums scalar to input image pixel values.
Warning
none.
template<class D >
Image< D > Bial::operator+ ( double  scalar,
const Image< D > &  img 
)
RealColor& Bial::operator+= ( RealColor clr1,
const RealColor clr2 
)

Computes the sum of the colors, assigns the result to clr1, and returns the result.

Date
2015/Oct/06
Parameters
clr1,clr2Input colors.
Returns
Reference to clr1.
Warning
none.
Color& Bial::operator+= ( Color clr1,
const Color clr2 
)

Computes the sum of the colors, assigns the result to clr1, and returns the result.

Date
2015/Oct/06
Parameters
clr1,clr2Input colors.
Returns
Reference to clr1.
Warning
none.
RealColor& Bial::operator+= ( RealColor clr,
double  scalar 
)

Computes the sum of the scalar to input color channel values and assigns the result to clr.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Reference to clr.
Warning
none.
Color& Bial::operator+= ( Color clr,
double  scalar 
)

Computes the sum of the scalar to input color channel values and assigns the result to clr.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Reference to clr.
Warning
none.
template<class D >
Image< D >& Bial::operator+= ( Image< D > &  img1,
const Image< D > &  img2 
)

Computes the sum of the images, assigns the result to img1, and returns the result.

Date
2012/Jul/02
Parameters
img1,img2Input images.
Returns
Reference to img1.
Warning
Images must have the same dimensions.
template<class D >
Image< D >& Bial::operator+= ( Image< D > &  img,
double  scalar 
)

Computes the sum of the scalar to input image pixel values and assigns the result to img.

Date
2012/Jul/02
Parameters
scalara scalar.
imgInput image.
Returns
Reference to img.
Warning
none.
RealColor Bial::operator- ( const RealColor clr1,
const RealColor clr2 
)

Computes the difference of the colors and returns the result.

Date
2015/Oct/06
Parameters
clr1,clr2Input colors.
Returns
Difference of the input colors element by element.
Warning
none.
Color Bial::operator- ( const Color clr1,
const Color clr2 
)

Computes the difference of the colors and returns the result.

Date
2015/Oct/06
Parameters
clr1,clr2Input colors.
Returns
Difference of the input colors element by element.
Warning
none.
RealColor Bial::operator- ( const RealColor clr,
double  scalar 
)

Computes the differente between scalar and input color channel values and returns the result.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Subtracts scalar from input color channel values, or vice-versa.
Warning
none.
RealColor Bial::operator- ( double  scalar,
const RealColor clr 
)
Color Bial::operator- ( const Color clr,
double  scalar 
)

Computes the differente between scalar and input color channel values and returns the result.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Subtracts scalar from input color channel values, or vice-versa.
Warning
none.
Color Bial::operator- ( double  scalar,
const Color clr 
)
template<class D >
Image< D > Bial::operator- ( const Image< D > &  img1,
const Image< D > &  img2 
)

Computes the difference of the images and returns the result.

Date
2012/Jul/02
Parameters
img1,img2Input images.
Returns
Difference of the input images element by element.
Warning
Images must have the same dimensions.
template<class D >
Image< D > Bial::operator- ( const Image< D > &  img,
double  scalar 
)

Computes the differente between scalar and input image pixel values and returns the result.

Date
2012/Jul/02
Parameters
scalara scalar.
imgInput image.
Returns
Subtracts scalar from input image pixel values, or vice-versa.
Warning
none.
template<class D >
Image< D > Bial::operator- ( double  scalar,
const Image< D > &  img 
)
RealColor& Bial::operator-= ( RealColor clr1,
const RealColor clr2 
)

Computes the difference between input colors, assigns the result to clr1, and returns the result.

Date
2015/Oct/06
Parameters
otherOther color.
Returns
Reference to clr1.
Warning
none.
Color& Bial::operator-= ( Color clr1,
const Color clr2 
)

Computes the difference between input colors, assigns the result to clr1, and returns the result.

Date
2015/Oct/06
Parameters
otherOther color.
Returns
Reference to clr1.
Warning
none.
RealColor& Bial::operator-= ( RealColor clr,
double  scalar 
)

Computes the difference between the scalar and input color channel values and assigns the result to clr.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Reference to clr.
Warning
none.
Color& Bial::operator-= ( Color clr,
double  scalar 
)

Computes the difference between the scalar and input color channel values and assigns the result to clr.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Reference to clr.
Warning
none.
template<class D >
Image< D >& Bial::operator-= ( Image< D > &  img1,
const Image< D > &  img2 
)

Computes the difference between input images, assigns the result to img1, and returns the result.

Date
2012/Jul/02
Parameters
otherOther image.
Returns
Reference to img1.
Warning
Images must have the same dimensions.
template<class D >
Image< D >& Bial::operator-= ( Image< D > &  img,
double  scalar 
)

Computes the difference between the scalar and input image pixel values and assigns the result to img.

Date
2012/Jul/02
Parameters
scalara scalar.
imgInput image.
Returns
Reference to img.
Warning
none.
RealColor Bial::operator/ ( const RealColor clr1,
const RealColor clr2 
)

Computes the quotient of the colors and returns the result.

Date
2015/Oct/06
Parameters
clr1,clr2Input colors.
Returns
Quotient of the input colors element by element.
Warning
none.
Color Bial::operator/ ( const Color clr1,
const Color clr2 
)

Computes the quotient of the colors and returns the result.

Date
2015/Oct/06
Parameters
clr1,clr2Input colors.
Returns
Quotient of the input colors element by element.
Warning
none.
RealColor Bial::operator/ ( const RealColor clr,
double  scalar 
)

Computes the quotient between the scalar and the input color channel values and returns the result.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Divides the scalar by the input color channel values, or vice-versa.
Warning
none.
RealColor Bial::operator/ ( double  scalar,
const RealColor clr 
)
Color Bial::operator/ ( const Color clr,
double  scalar 
)

Computes the quotient between the scalar and the input color channel values and returns the result.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Divides the scalar by the input color channel values, or vice-versa.
Warning
none.
Color Bial::operator/ ( double  scalar,
const Color clr 
)
template<class D >
Image< D > Bial::operator/ ( const Image< D > &  img1,
const Image< D > &  img2 
)

Computes the quotient of the images and returns the result.

Date
2012/Jul/02
Parameters
img1,img2Input images.
Returns
Quotient of the input images element by element.
Warning
Images must have the same dimensions.
template<class D >
Image< D > Bial::operator/ ( const Image< D > &  img,
double  scalar 
)

Computes the quotient between the scalar and the input image pixel values and returns the result.

Date
2012/Jul/02
Parameters
scalara scalar.
imgInput image.
Returns
Divides the scalar by the input image pixel values, or vice-versa.
Warning
none.
template<class D >
Image< D > Bial::operator/ ( double  scalar,
const Image< D > &  img 
)
RealColor& Bial::operator/= ( RealColor clr1,
const RealColor clr2 
)

Computes the quotient between input colors, assigns the result to clr1, and returns the result.

Date
2015/Oct/06
Parameters
otherOther color.
Returns
Reference to clr1.
Warning
none.
Color& Bial::operator/= ( Color clr1,
const Color clr2 
)

Computes the quotient between input colors, assigns the result to clr1, and returns the result.

Date
2015/Oct/06
Parameters
otherOther color.
Returns
Reference to clr1.
Warning
none.
RealColor& Bial::operator/= ( RealColor clr,
double  scalar 
)

Computes the quotient between the scalar and the input color channel values and assigns the result to clr.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Reference to clr.
Warning
none.
Color& Bial::operator/= ( Color clr,
double  scalar 
)

Computes the quotient between the scalar and the input color channel values and assigns the result to clr.

Date
2015/Oct/21
Parameters
scalara scalar.
clrInput color.
Returns
Reference to clr.
Warning
none.
template<class D >
Image< D >& Bial::operator/= ( Image< D > &  img1,
const Image< D > &  img2 
)

Computes the quotient between input images, assigns the result to img1, and returns the result.

Date
2012/Jul/02
Parameters
otherOther image.
Returns
Reference to img1.
Warning
Images must have the same dimensions.
template<class D >
Image< D >& Bial::operator/= ( Image< D > &  img,
double  scalar 
)

Computes the quotient between the scalar and the input image pixel values and assigns the result to img.

Date
2012/Jul/02
Parameters
scalara scalar.
imgInput image.
Returns
Reference to img.
Warning
none.
template<class D , size_t S>
bool Bial::operator< ( const Array< D, S > &  lhs,
const Array< D, S > &  rhs 
)

Definition at line 1296 of file Array.hpp.

template<class D >
bool Bial::operator< ( const Vector< D > &  lhs,
const Vector< D > &  rhs 
)

Definition at line 4031 of file Vector.hpp.

template<class O >
O& Bial::operator<< ( O &  os,
const Point obj 
)

Prints object features into the output stream.

Date
2015/Jul/08
Parameters
osAn output stream class.
objThe object to be written into the output stream.
Returns
the output stream.
Warning
none.
template<class O >
O& Bial::operator<< ( O &  os,
const Box obj 
)

Prints object features into the output stream.

Date
2015/Jul/08
Parameters
osAn output stream class.
objThe object to be written into the output stream.
Returns
the output stream.
Warning
none.
template<class O >
O& Bial::operator<< ( O &  os,
const Line obj 
)

Prints object features into the output stream.

Date
2015/Jul/08
Parameters
osAn output stream class.
objThe object to be written into the output stream.
Returns
the output stream.
Warning
none.
template<class O >
O& Bial::operator<< ( O &  os,
const Circle obj 
)

Prints object features into the output stream.

Date
2015/Jul/08
Parameters
osAn output stream class.
objThe object to be written into the output stream.
Returns
the output stream.
Warning
none.
template<class O >
O& Bial::operator<< ( O &  os,
const Sequence obj 
)

Prints object features into the output stream.

Date
2016/Aug/11
Parameters
osAn output stream class.
objThe object to be written into the output stream.
Returns
the output stream.
Warning
none.
template<class O >
O& Bial::operator<< ( O &  os,
const Kernel knl 
)
template<class D , class O >
O& Bial::operator<< ( O &  os,
const Feature< D > &  ftr 
)

Definition at line 294 of file Feature.hpp.

template<class D , size_t S, class O >
O& Bial::operator<< ( O &  os,
const Array< D, S > &  vec 
)

Definition at line 323 of file Array.hpp.

template<class O >
O & Bial::operator<< ( O &  os,
const RealColor clr 
)

Prints the color in a friendly way.

Date
2015/Oct/21
Parameters
osoutput stream. clr: A color.
Returns
Reference to os.
Warning
none.

Definition at line 336 of file RealColor.hpp.

template<class O >
O & Bial::operator<< ( O &  os,
const Color clr 
)

Prints the color in a friendly way.

Date
2015/Oct/21
Parameters
osoutput stream. clr: A color.
Returns
Reference to os.
Warning
none.

Definition at line 375 of file Color.hpp.

template<class O >
O& Bial::operator<< ( O &  os,
const Signal sig 
)

Definition at line 377 of file Signal.hpp.

template<class O >
O& Bial::operator<< ( O &  os,
const Table tbl 
)

Definition at line 416 of file Table.hpp.

template<class O >
O& Bial::operator<< ( O &  os,
const Adjacency adj 
)

Prints the adjacency relation in a friendly way.

Parameters
osoutput stream.
adjan adjacency relation.
Returns
Reference to os.
Warning
none.
template<class O >
O& Bial::operator<< ( O &  os,
const NiftiHeader hdr 
)

Prints the header in a friendly way.

Parameters
osoutput stream. hdr: a nifti header.
Returns
Reference to os.
Warning
none.
template<class O >
O& Bial::operator<< ( O &  os,
NiftiHeader hdr 
)

Definition at line 822 of file NiftiHeader.hpp.

template<class D , class O >
O& Bial::operator<< ( O &  os,
const Vector< D > &  vec 
)

Definition at line 861 of file Vector.hpp.

template<class D , class O >
O & Bial::operator<< ( O &  os,
const Image< D > &  img 
)

Prints the image in a friendly way.

Parameters
osoutput stream. img: an image.
Returns
Reference to os.
Warning
none.

Definition at line 1149 of file Image.hpp.

template<class D , class O >
O& Bial::operator<< ( O &  os,
const Matrix< D > &  mat 
)

Prints the matrix in a friendly way.

Parameters
osoutput stream.
mata matrix.
Returns
Reference to os.
Warning
none.

Definition at line 1132 of file Matrix.hpp.

template<class D , size_t S>
bool Bial::operator<= ( const Array< D, S > &  lhs,
const Array< D, S > &  rhs 
)

Definition at line 1315 of file Array.hpp.

template<class D >
bool Bial::operator<= ( const Vector< D > &  lhs,
const Vector< D > &  rhs 
)

Definition at line 4058 of file Vector.hpp.

bool Bial::operator== ( const RealColor clr1,
const RealColor clr2 
)

Compares two colors and returns true if they are equal.

Date
2015/Oct/20
Parameters
otherOther color.
Returns
true if clr1 is equal to clr2.
Warning
none.
bool Bial::operator== ( const Color clr1,
const Color clr2 
)

Compares two colors and returns true if they are equal.

Date
2015/Oct/06
Parameters
otherOther color.
Returns
true if clr1 is equal to clr2.
Warning
none.
template<class D , size_t S>
bool Bial::operator== ( const Array< D, S > &  lhs,
const Array< D, S > &  rhs 
)

Operators.

Date
2015/Apr/22
Parameters
lhsleft array.
rhsright array.
Returns
Result of operator.
Warning
none.

Definition at line 1258 of file Array.hpp.

template<class D >
bool Bial::operator== ( const Vector< D > &  lhs,
const Vector< D > &  rhs 
)

Operators.

Date
2015/Apr/01
Parameters
lhsleft vector.
rhsright vector.
Returns
Result of operator.
Warning
none.

Definition at line 3977 of file Vector.hpp.

template<class D , size_t S>
bool Bial::operator> ( const Array< D, S > &  lhs,
const Array< D, S > &  rhs 
)

Definition at line 1334 of file Array.hpp.

template<class D >
bool Bial::operator> ( const Vector< D > &  lhs,
const Vector< D > &  rhs 
)

Definition at line 4085 of file Vector.hpp.

template<class D , size_t S>
bool Bial::operator>= ( const Array< D, S > &  lhs,
const Array< D, S > &  rhs 
)

Definition at line 1353 of file Array.hpp.

template<class D >
bool Bial::operator>= ( const Vector< D > &  lhs,
const Vector< D > &  rhs 
)

Definition at line 4112 of file Vector.hpp.

template<class D >
static Image< D > Bial::Read ( const std::string &  filename)
static

Read an image from an input file and returns it.

Date
2012/Jul/02
Parameters
filenameSource file to be readed.
Returns
Read image.
Warning
none.

Read an image from an input file and returns it.

Date
2014/Oct/21
Parameters
filenameName of input file with .opf extension.
Returns
A feature vector.
Warning
none.

Definition at line 170 of file FileImage.hpp.

template<class D >
Image< D > Bial::Read ( const std::string &  filename)

Reads data from file and initializes a Feature vector with it.

Read an image from an input file and returns it.

Date
2014/Oct/21
Parameters
filenameName of input file with .opf extension.
Returns
A feature vector.
Warning
none.

Definition at line 170 of file FileImage.hpp.

template<>
Image< Color > Bial::Read ( const std::string &  filename)

Reads data from file and initializes a Feature vector with it.

Read an image from an input file and returns it.

Date
2014/Oct/21
Parameters
filenameName of input file with .opf extension.
Returns
A feature vector.
Warning
none.

Definition at line 228 of file FileImage.hpp.

template<class D >
static Image< D > Bial::ReadDicom ( const std::string &  filename)
static

Open a Dicom file for reading and returns it.

Date
2013/Oct/28
Parameters
filenameSource filename to be readed.
Returns
A reference to the created scene.
Warning
none.

Definition at line 40 of file FileDicom.hpp.

template<class D >
Image< D > Bial::ReadDicom ( const std::string &  filename)

Open a Dicom file for reading and returns it.

Date
2013/Oct/28
Parameters
filenameSource filename to be readed.
Returns
A reference to the created scene.
Warning
none.

Definition at line 40 of file FileDicom.hpp.

template<>
Image< Color > Bial::ReadDicom ( const std::string &  filename)

Open a Dicom file for reading and returns it.

Date
2013/Oct/28
Parameters
filenameSource filename to be readed.
Returns
A reference to the created scene.
Warning
none.

Definition at line 64 of file FileDicom.hpp.

template<class D >
static Vector< Image< D > > Bial::ReadDir ( const std::string &  dirname)
static

Reads all supported images contained in the directory and return them in a vector of images.

Date
2013/Oct/29
Parameters
dirnameSource directory.
Returns
A vector with the images in the given directory.
Warning
none.

Definition at line 135 of file FileImage.hpp.

template<class D >
Vector< Image< D > > Bial::ReadDir ( const std::string &  dirname)

Reads all supported images contained in the directory and return them in a vector of images.

Date
2013/Oct/29
Parameters
dirnameSource directory.
Returns
A vector with the images in the given directory.
Warning
none.

Definition at line 135 of file FileImage.hpp.

template<class D >
static Matrix< D > Bial::ReadMatrix ( const std::string &  filename)
static

Reads matrix from file.

Date
2015/Jun/09
Parameters
filenameName of the file conatining matrix.
Returns
The read matrix.
Warning
none.

Definition at line 61 of file FileMatrix.hpp.

template<class D >
Matrix< D > Bial::ReadMatrix ( const std::string &  filename)

Reads matrix from file.

Date
2015/Jun/09
Parameters
filenameName of the file conatining matrix.
Returns
The read matrix.
Warning
none.

Definition at line 61 of file FileMatrix.hpp.

template<class D >
static Image< D > Bial::ReadNifti ( const std::string &  filename)
static

Open a Nifti file for reading and store its content in 'this'.

Date
2012/Jul/02
Parameters
filenameSource filename to be readed.
Returns
A reference to the created scene.
Warning
none.

Definition at line 55 of file FileNifti.hpp.

template<>
Image< Color > Bial::ReadNifti ( const std::string &  filename)

Open a Nifti file for reading and store its content in 'this'.

Date
2012/Jul/02
Parameters
filenameSource filename to be readed.
Returns
A reference to the created scene.
Warning
none.

Definition at line 55 of file FileNifti.hpp.

template<class D >
Image< D > Bial::ReadNifti ( const std::string &  filename)

Open a Nifti file for reading and store its content in 'this'.

Date
2012/Jul/02
Parameters
filenameSource filename to be readed.
Returns
A reference to the created scene.
Warning
none.

Definition at line 230 of file FileNifti.hpp.

template<class D >
static Image< D > Bial::ReadPBM ( const std::string &  filename)
static

Reads a PBM file and returns its contents.

Date
2013/Jul/05
Parameters
filenameSource filename to be readed.
Returns
A reference to the created image.
Warning
none.

Definition at line 130 of file FilePNM.hpp.

template<class D >
Image< D > Bial::ReadPBM ( const std::string &  filename)

Reads a PBM file and returns its contents.

Date
2013/Jul/05
Parameters
filenameSource filename to be readed.
Returns
A reference to the created image.
Warning
none.

Definition at line 130 of file FilePNM.hpp.

template<>
Image< Color > Bial::ReadPBM ( const std::string &  filename)

Reads a PBM file and returns its contents.

Date
2013/Jul/05
Parameters
filenameSource filename to be readed.
Returns
A reference to the created image.
Warning
none.

Definition at line 225 of file FilePNM.hpp.

template<class D >
static Image< D > Bial::ReadPGM ( const std::string &  filename)
static

Reads a PGM file and returns its contents.

Date
2013/Jul/05
Parameters
filenameSource filename to be readed.
Returns
A reference to the created image.
Warning
none.

Definition at line 252 of file FilePNM.hpp.

template<class D >
Image< D > Bial::ReadPGM ( const std::string &  filename)

Reads a PGM file and returns its contents.

Date
2013/Jul/05
Parameters
filenameSource filename to be readed.
Returns
A reference to the created image.
Warning
none.

Definition at line 252 of file FilePNM.hpp.

template<>
Image< Color > Bial::ReadPGM ( const std::string &  filename)

Reads a PGM file and returns its contents.

Date
2013/Jul/05
Parameters
filenameSource filename to be readed.
Returns
A reference to the created image.
Warning
none.

Definition at line 382 of file FilePNM.hpp.

template<class D >
static Image< D > Bial::ReadPNM ( const std::string &  filename)
static

Reads a PNM file and returns its contents.

Date
2013/Jul/05
Parameters
filenameSource filename to be readed.
Returns
A reference to the created image.
Warning
none.

Definition at line 573 of file FilePNM.hpp.

template<class D >
Image< D > Bial::ReadPNM ( const std::string &  filename)

Reads a PNM file and returns its contents.

Date
2013/Jul/05
Parameters
filenameSource filename to be readed.
Returns
A reference to the created image.
Warning
none.

Definition at line 573 of file FilePNM.hpp.

template<>
Image< Color > Bial::ReadPNM ( const std::string &  filename)

Reads a PNM file and returns its contents.

Date
2013/Jul/05
Parameters
filenameSource filename to be readed.
Returns
A reference to the created image.
Warning
none.

Definition at line 621 of file FilePNM.hpp.

template<class D >
static Image< D > Bial::ReadPPM ( const std::string &  filename)
static

Reads a PPM file and returns its contents.

Date
2013/Jul/05
Parameters
filenameSource filename to be readed.
Returns
A reference to the created image.
Warning
none.

Definition at line 409 of file FilePNM.hpp.

template<class D >
Image< D > Bial::ReadPPM ( const std::string &  filename)

Reads a PPM file and returns its contents.

Date
2013/Jul/05
Parameters
filenameSource filename to be readed.
Returns
A reference to the created image.
Warning
none.

Definition at line 409 of file FilePNM.hpp.

template<>
Image< Color > Bial::ReadPPM ( const std::string &  filename)

Reads a PPM file and returns its contents.

Date
2013/Jul/05
Parameters
filenameSource filename to be readed.
Returns
A reference to the created image.
Warning
none.

Definition at line 436 of file FilePNM.hpp.

template<class D >
static Image< D > Bial::ReadScene ( const std::string &  filename)
static

Open a Scene file for reading and returns it.

Date
2012/Jul/02
Parameters
filenameSource filename to be readed.
Returns
A reference to the created scene.
Warning
none.

Definition at line 52 of file FileScene.hpp.

template<class D >
Image< D > Bial::ReadScene ( const std::string &  filename)

Open a Scene file for reading and returns it.

Date
2012/Jul/02
Parameters
filenameSource filename to be readed.
Returns
A reference to the created scene.
Warning
none.

Definition at line 52 of file FileScene.hpp.

template<>
Image< Color > Bial::ReadScene ( const std::string &  filename)

Open a Scene file for reading and returns it.

Date
2012/Jul/02
Parameters
filenameSource filename to be readed.
Returns
A reference to the created scene.
Warning
none.

Definition at line 145 of file FileScene.hpp.

template<class D >
Feature< D > Bial::SpatialFeature ( const Matrix< D > &  src)

Features are the coordinates of non-zero samples in src matrix.

Date
2013/Jul/20
Parameters
srcInput source matrix to extract features.
Returns
A spatial feature vector.
Warning
none.
template<class D >
Feature< D > Bial::SpatialFeature ( const Image< D > &  src)

Features are the coordinates of non-zero samples in src image.

Date
2014/Apr/16
Parameters
srcInput source image to extract features.
Returns
A spatial feature vector.
Warning
none.
bool Bial::Supported ( const std::string &  filename)
static

Returns true for supported images. Return false for folders.

Date
2014/Mai/26
Parameters
filenameA filename.
Returns
True for supported images. Return false for folders.
Warning
Must be optimized to change only letters.

Definition at line 103 of file FileImage.hpp.

template<class D >
void Bial::SVGDForest ( const Image< D > &  cost,
const Image< int > &  pred,
const Image< int > &  label,
const std::string &  filename 
)

Writes the directed graph in SVG format into a file.

Date
2015/Aug/30
Parameters
costThe cost of the vertices.
predThe predecessor in the forest of each element. -1 means the element is a root.
labelThe label of the vertices. Must have the same size as vertex image. Converted to colors automatically.
filenameFile to write results.
Returns
none.
Warning
none.
template<class D >
void Bial::SVGDGraph ( const Image< D > &  vertex,
const Adjacency adj,
const std::string &  filename 
)

Writes the directed graph in SVG format into a file.

Date
2015/Aug/30
Parameters
vertexLines image containing vertices with their weight.
adjAn adjacency relation to compute the arcs.
filenameFile to write results.
Returns
none.
Warning
none.
template<class D >
void Bial::SVGDGraph ( const Image< D > &  vertex,
const Vector< bool > &  seed,
const Adjacency adj,
const std::string &  filename 
)

Writes the directed graph in SVG format into a file.

Date
2015/Aug/30
Parameters
vertexLines image containing vertices with their weight.
seedA boolean Vector with the same size of the vertex image indicating if each element is a seed or not.
adjAn adjacency relation to compute the arcs.
filenameFile to write results.
Returns
none.
Warning
none.
template<class D >
void Bial::SVGDGraph ( const Image< D > &  vertex,
const Vector< bool > &  seed,
const Image< int > &  label,
const Adjacency adj,
const std::string &  filename 
)

Writes the directed graph in SVG format into a file.

Date
2015/Aug/30
Parameters
vertexLines image containing vertices with their weight.
seedA boolean Vector with the same size of the vertex image indicating if each element is a seed or not.
labelThe label of the objects. Must have the same size as vertex image. Converted to colors automatically.
adjAn adjacency relation to compute the arcs.
filenameFile to write results.
Returns
none.
Warning
none.
template<class D , size_t S>
void Bial::swap ( Array< D, S > &  x,
Array< D, S > &  y 
)

Definition at line 1462 of file Array.hpp.

template<class D >
void Bial::swap ( Vector< D > &  x,
Vector< D > &  y 
)

Definition at line 4139 of file Vector.hpp.

void Bial::Write ( const Signal sgn,
const std::string &  filename 
)

Writes signal containts file. It writes a pair composed by frequency and value per line.

Date
2014/Feb/12
Parameters
filenameA filename.
Returns
none.
Warning
none.
template<class D >
static void Bial::Write ( const Matrix< D > &  mtx,
const std::string &  filename 
)
static

Writes matrix into file.

Date
2015/Jun/09
Parameters
mtxInput matrix.
filenameName of the file conatining matrix.
Returns
none.
Warning
none.

Definition at line 178 of file FileMatrix.hpp.

template<class D >
static void Bial::Write ( const Image< D > &  img,
const std::string &  filename 
)
static

Write the input image to a file with given name.

Date
2012/Jul/03
Parameters
imginput image.
filenameSource file to be written.
Returns
none.
Warning
none.

Definition at line 287 of file FileImage.hpp.

template<class D >
static void Bial::Write ( const Image< D > &  img,
const std::string &  filename,
const std::string &  headername 
)
static

Write the input image to a file with given name. Also, includes the header read from given header name.

Date
2013/Sep/25
Parameters
imginput image.
filenameName of the file to be written.
headernameName of input file containg header to be cloned.
Returns
none.
Warning
Implemented only for nifti-1 files.

Definition at line 417 of file FileImage.hpp.

template<class D >
void Bial::Write ( const Matrix< D > &  mtx,
const std::string &  filename 
)

Writes matrix into file.

Date
2015/Jun/09
Parameters
mtxInput matrix.
filenameName of the file conatining matrix.
Returns
none.
Warning
none.

Definition at line 178 of file FileMatrix.hpp.

template<class D >
void Bial::Write ( const Image< D > &  img,
const std::string &  filename 
)

Write the input image to a file with given name.

Date
2012/Jul/03
Parameters
imginput image.
filenameSource file to be written.
Returns
none.
Warning
none.

Definition at line 287 of file FileImage.hpp.

template<>
void Bial::Write ( const Image< Color > &  img,
const std::string &  filename 
)

Definition at line 352 of file FileImage.hpp.

template<class D >
void Bial::Write ( const Image< D > &  img,
const std::string &  filename,
const std::string &  headername 
)

Write the input image to a file with given name. Also, includes the header read from given header name.

Date
2013/Sep/25
Parameters
imginput image.
filenameName of the file to be written.
headernameName of input file containg header to be cloned.
Returns
none.
Warning
Implemented only for nifti-1 files.

Definition at line 417 of file FileImage.hpp.

template<>
void Bial::Write ( const Image< Color > &  img,
const std::string &  filename,
const std::string &  headername 
)

Definition at line 469 of file FileImage.hpp.

template<class D >
static void Bial::WriteBMP ( const Image< D > &  img,
const std::string &  filename 
)
static

Open a BMP file to write 'this' content.

Date
2013/Dec/20
Parameters
imginput image.
filenameSource file to be written.
Returns
A reference to the input image.
Warning
none.

Definition at line 44 of file FileBMP.hpp.

template<class D >
void Bial::WriteBMP ( const Image< D > &  img,
const std::string &  filename 
)

Open a BMP file to write 'this' content.

Date
2013/Dec/20
Parameters
imginput image.
filenameSource file to be written.
Returns
A reference to the input image.
Warning
none.

Definition at line 44 of file FileBMP.hpp.

template<>
void Bial::WriteBMP ( const Image< Color > &  img,
const std::string &  filename 
)

Definition at line 135 of file FileBMP.hpp.

template<class D >
static void Bial::WriteMatrix ( const Matrix< D > &  mtx,
const std::string &  filename 
)
static

Writes matrix into file.

Date
2015/Jun/09
Parameters
mtxInput matrix.
filenameName of the file conatining matrix.
Returns
none.
Warning
none.

Definition at line 173 of file FileMatrix.hpp.

template<class D >
void Bial::WriteMatrix ( const Matrix< D > &  mtx,
const std::string &  filename 
)

Writes matrix into file.

Date
2015/Jun/09
Parameters
mtxInput matrix.
filenameName of the file conatining matrix.
Returns
none.
Warning
none.

Definition at line 173 of file FileMatrix.hpp.

template<class D >
static void Bial::WriteNifti ( const Image< D > &  img,
const std::string &  filename,
const NiftiHeader hdr 
)
static

Open a Nifti file to write the content from 'this'.

Date
2012/Jul/03
Parameters
imginput image.
filenameSource file to be written.
Returns
A reference to the input image.
Warning
none.

Definition at line 403 of file FileNifti.hpp.

template<class D >
void Bial::WriteNifti ( const Image< D > &  img,
const std::string &  filename,
const NiftiHeader hdr 
)

Open a Nifti file to write the content from 'this'.

Date
2012/Jul/03
Parameters
imginput image.
filenameSource file to be written.
Returns
A reference to the input image.
Warning
none.

Definition at line 403 of file FileNifti.hpp.

template<>
void Bial::WriteNifti ( const Image< Color > &  img,
const std::string &  filename,
const NiftiHeader hdr 
)

Definition at line 537 of file FileNifti.hpp.

template<class D >
static void Bial::WritePBM ( const Image< D > &  img,
const std::string &  filename,
const PNMHeader hdr = PNMHeader(),
const bool  binary = true 
)
static

Open a PBM file to write 'this' content.

Date
2013/Jul/20
Parameters
imginput image.
filenameSource file to be written.
hdrPNM Header.
binarytrue for binary and false for text file.
Returns
A reference to the input image.
Warning
none.

Definition at line 669 of file FilePNM.hpp.

template<class D >
void Bial::WritePBM ( const Image< D > &  img,
const std::string &  filename,
const PNMHeader hdr = PNMHeader(),
const bool  binary = true 
)

Open a PBM file to write 'this' content.

Date
2013/Jul/20
Parameters
imginput image.
filenameSource file to be written.
hdrPNM Header.
binarytrue for binary and false for text file.
Returns
A reference to the input image.
Warning
none.

Definition at line 669 of file FilePNM.hpp.

template<>
void Bial::WritePBM ( const Image< Color > &  img,
const std::string &  filename,
const PNMHeader hdr,
const bool  binary 
)

Definition at line 748 of file FilePNM.hpp.

template<class D >
static void Bial::WritePGM ( const Image< D > &  img,
const std::string &  filename,
const PNMHeader hdr = PNMHeader(),
const bool  binary = false 
)
static

Open a PGM file to write 'this' content.

Date
2013/Jul/20
Parameters
imginput image.
filenameSource file to be written.
hdrPNM Header.
binarytrue for binary and false for text file.
Returns
A reference to the input image.
Warning
none.

Definition at line 779 of file FilePNM.hpp.

template<class D >
void Bial::WritePGM ( const Image< D > &  img,
const std::string &  filename,
const PNMHeader hdr = PNMHeader(),
const bool  binary = false 
)

Open a PGM file to write 'this' content.

Date
2013/Jul/20
Parameters
imginput image.
filenameSource file to be written.
hdrPNM Header.
binarytrue for binary and false for text file.
Returns
A reference to the input image.
Warning
none.

Definition at line 779 of file FilePNM.hpp.

template<>
void Bial::WritePGM ( const Image< Color > &  img,
const std::string &  filename,
const PNMHeader hdr,
const bool  binary 
)

Definition at line 857 of file FilePNM.hpp.

template<class D >
static void Bial::WritePNM ( const Image< D > &  img,
const std::string &  filename,
const PNMHeader hdr = PNMHeader(),
const bool  binary = true 
)
static

Open a PNM file to write 'this' content.

Date
2013/Jul/20
Parameters
imginput image.
filenameSource file to be written.
hdrPNM Header.
binarytrue for binary and false for text file.
Returns
none.
Warning
none.

Definition at line 991 of file FilePNM.hpp.

template<class D >
void Bial::WritePNM ( const Image< D > &  img,
const std::string &  filename,
const PNMHeader hdr = PNMHeader(),
const bool  binary = true 
)

Open a PNM file to write 'this' content.

Date
2013/Jul/20
Parameters
imginput image.
filenameSource file to be written.
hdrPNM Header.
binarytrue for binary and false for text file.
Returns
none.
Warning
none.

Definition at line 991 of file FilePNM.hpp.

template<>
void Bial::WritePNM ( const Image< Color > &  img,
const std::string &  filename,
const PNMHeader hdr,
const bool  binary 
)

Definition at line 1023 of file FilePNM.hpp.

template<class D >
static void Bial::WritePPM ( const Image< D > &  img,
const std::string &  filename,
const PNMHeader hdr = PNMHeader(),
const bool  binary = true 
)
static

Open a PPM file to write 'this' content.

Date
2013/Jul/20
Parameters
imginput image.
filenameSource file to be written.
hdrPNM Header.
binarytrue for binary and false for text file.
Returns
A reference to the input image.
Warning
none.

Definition at line 887 of file FilePNM.hpp.

template<class D >
void Bial::WritePPM ( const Image< D > &  img,
const std::string &  filename,
const PNMHeader hdr = PNMHeader(),
const bool  binary = true 
)

Open a PPM file to write 'this' content.

Date
2013/Jul/20
Parameters
imginput image.
filenameSource file to be written.
hdrPNM Header.
binarytrue for binary and false for text file.
Returns
A reference to the input image.
Warning
none.

Definition at line 887 of file FilePNM.hpp.

template<>
void Bial::WritePPM ( const Image< Color > &  img,
const std::string &  filename,
const PNMHeader ,
const bool  binary 
)

Definition at line 918 of file FilePNM.hpp.

template<class D >
static void Bial::WriteScene ( const Image< D > &  img,
const std::string &  filename 
)
static

Open a Scene file to write 'this' content.

Date
2012/Jul/03
Parameters
imginput image.
filenameSource file to be written.
Returns
A reference to the input image.
Warning
none.

Definition at line 171 of file FileScene.hpp.

template<class D >
void Bial::WriteScene ( const Image< D > &  img,
const std::string &  filename 
)

Open a Scene file to write 'this' content.

Date
2012/Jul/03
Parameters
imginput image.
filenameSource file to be written.
Returns
A reference to the input image.
Warning
none.

Definition at line 171 of file FileScene.hpp.

template<>
void Bial::WriteScene ( const Image< Color > &  img,
const std::string &  filename 
)

Definition at line 248 of file FileScene.hpp.