Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TestPatterns.hpp File Reference

#include <ImLib3D/Image3D.hpp>
#include <ImLib3D/ImageProcessor.hpp>
#include <ImLib3D/MorphologicalOperators.hpp>

Include dependency graph for TestPatterns.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  IP3D
namespace  IP3D::ConeHelpers

Functions

void Sphere (const Size3D &size, const Vect3Df &C, float r, Image3Df &ima)
void Explode (const Size3D &size, const Vect3Df &C, Field3Df &ima)
void Cone (const Size3D &size, const Vect3Df &P0, const Vect3Df &P1, float r, Image3Df &ima, float ar=4.0)
void NoiseUniform (const Size3D &size, Image3Df &ima, float v0=0, float v1=1)
void NoiseGaussian (const Size3D &size, Image3Df &ima, float v0=0, float v1=1)
void Target (const Size3D &size, Image3Df &ima)
void Bump (const Size3D &size, const Vect3Df &center, float height, float gsize, Image3Df &ima)
void Ramp (const Size3D &size, int direction, float v0, float v1, Image3Df &res, int pos0=-1, int pos1=-1)
void Parallellogram (const Size3D &size, const RectZone3Di &rect, Image3Df &ima)
void RectangularGrid (const Size3D &size, const Size3D &masksize, Image3Df &ima, const Vect3Di *pintersection=NULL)
void ColoredGrid (const Size3D &size, const Size3D &masksize, Mask3D &ima, StructureElementType neighborhoodtype=MORPHO_Cross7)


Detailed Description

Definition in file TestPatterns.hpp.


Function Documentation

void IP3D::Sphere const Size3D size,
const Vect3Df C,
float  r,
Image3Df ima
 

#&Sphere&# Draws a sphere. Input: image size

Image size type:Size3D center type:Vect3Df radius type:float Result image type:Image3Df ~

void IP3D::Explode const Size3D size,
const Vect3Df C,
Field3Df ima
 

#&Explode&# Creates a field where vectors point away from a specified center. The falue of the field a point P is: F(P)=P-C

Image size type:Size3D Center type:Vect3Df Result image type:Field3Df ~

void IP3D::Cone const Size3D size,
const Vect3Df P0,
const Vect3Df P1,
float  r,
Image3Df ima,
float  ar = 4.0
 

#&Cone&# Draws a cone. Input: image size,base's center. Point.

Image size type:Size3D center type:Vect3Df point type:Vect3Df radius type:float Result image type:Image3Df antialiasing falloff radius type:float ~

void IP3D::NoiseUniform const Size3D size,
Image3Df ima,
float  v0 = 0,
float  v1 = 1
 

#&NoiseUniform&# Creates an image with uniform noise.

Image size type:Size3D Result image type:Image3Df min value type:float max value type:float ~

void IP3D::NoiseGaussian const Size3D size,
Image3Df ima,
float  v0 = 0,
float  v1 = 1
 

#&NoiseGaussian&# Creates an image with gaussian noise.

Image size type:Size3D Result image type:Image3Df average type:float variance type:float ~

void IP3D::Target const Size3D size,
Image3Df ima
 

#&Target&# Creates an image with target like pattern. Spatial frequency increases radially from center of image.

Image size type:Size3D Result image type:Image3Df ~

void IP3D::Bump const Size3D size,
const Vect3Df center,
float  height,
float  gsize,
Image3Df ima
 

#&Bump&# Creates a gaussian bump. Given a center, bump height, and std dev

Image size type:Size3D center type:Vect3Df height type:float size type:float Result image type:Image3Df ~

void IP3D::Ramp const Size3D size,
int  direction,
float  v0,
float  v1,
Image3Df res,
int  pos0 = -1,
int  pos1 = -1
 

#&Ramp&# Creates an image containing a linearly from v0 to v1 in a given direction. pos0 and pos1 give the begining and end of the ramp. If pos0 is negative (default) then pos0=0. If pos1 is negative (default) then pos1=size of image in given direction. directions:0=X 1=Y 2=Z

Image size type:Size3D direction type:int v0 type:float v1 type:float Result image type:Image3Df pos0 type:int pos1 type:int ~

void IP3D::Parallellogram const Size3D size,
const RectZone3Di &  rect,
Image3Df ima
 

#&Parallellogram&# Creates an image with a parallellogram. Both points are included.

Image size type:Size3D zone type:RectZone3Di Result image type:Image3Df ~

void IP3D::RectangularGrid const Size3D size,
const Size3D masksize,
Image3Df ima,
const Vect3Di pintersection = NULL
 

#&RectangularGrid&# Creates an image with a grid

Result image type:Image3df width type:int height type:int depth type:int masksize.x type:int masksize.y type:int masksize.z type:int [opt] intersection.x type:int [opt] intersection.y type:int [opt] intersection.z type:int

void IP3D::ColoredGrid const Size3D size,
const Size3D masksize,
Mask3D ima,
StructureElementType  neighborhoodtype = MORPHO_Cross7
 

#&ColoredGrid&# Creates an image where no two neighbors have the same colors

Result image type:Mask3D width type:int height type:int depth type:int masksize.x type:int masksize.y type:int masksize.z type:int [opt] neighborhood type type:int


Generated on Fri Jun 17 13:36:16 2005 for ImLib3D by  doxygen 1.4.2