Alternaria
fit cylinders and ellipsoids to fungus
imaging_model.cpp File Reference

Imaging model and density parameters for an imaging system used to capture Alternaria data. More...

#include <config.h>
#include <cassert>
#include <cmath>
#include <iostream>
#include <fstream>
#include <sstream>
#include <inttypes.h>
#include <jwsc/base/limits.h>
#include <jwsc/prob/pdf.h>
#include <jwsc++/base/exception.h>
#include "density.h"
#include "printable.h"
#include "imaging_model.h"

Go to the source code of this file.

Defines

#define WINDOW_COL   0
#define WINDOW_ROW   0
#define WINDOW_IMG   0
#define WINDOW_NUM_COLS   1
#define WINDOW_NUM_ROWS   1
#define WINDOW_NUM_IMGS   1
#define SCALE_X   1.0f
#define SCALE_Y   1.0f
#define SCALE_Z   2.0f
#define BG_MU   0.8f
#define BG_SIGMA   0.1f
#define BG_MIN   0
#define BG_MAX   1.0f
#define C_2_MIN   2.0e-4f
#define C_2_MAX   2.0e-4f

Functions

ostream & operator<< (ostream &out, const Imaging_window &window)
istream & operator>> (istream &in, Imaging_window &window)
ostream & operator<< (ostream &out, const Imaging_scale &scale)
istream & operator>> (istream &in, Imaging_scale &scale)

Detailed Description

Imaging model and density parameters for an imaging system used to capture Alternaria data.

Author:
Joseph Schlecht
License:
Creative Commons BY-NC-SA 3.0

Definition in file imaging_model.cpp.


Define Documentation

#define WINDOW_COL   0

Definition at line 67 of file imaging_model.cpp.

#define WINDOW_ROW   0

Definition at line 68 of file imaging_model.cpp.

#define WINDOW_IMG   0

Definition at line 69 of file imaging_model.cpp.

#define WINDOW_NUM_COLS   1

Definition at line 70 of file imaging_model.cpp.

#define WINDOW_NUM_ROWS   1

Definition at line 71 of file imaging_model.cpp.

#define WINDOW_NUM_IMGS   1

Definition at line 72 of file imaging_model.cpp.

#define SCALE_X   1.0f

Definition at line 74 of file imaging_model.cpp.

#define SCALE_Y   1.0f

Definition at line 75 of file imaging_model.cpp.

#define SCALE_Z   2.0f

Definition at line 76 of file imaging_model.cpp.

#define BG_MU   0.8f

Definition at line 78 of file imaging_model.cpp.

#define BG_SIGMA   0.1f

Definition at line 79 of file imaging_model.cpp.

#define BG_MIN   0

Definition at line 80 of file imaging_model.cpp.

#define BG_MAX   1.0f

Definition at line 81 of file imaging_model.cpp.

#define C_2_MIN   2.0e-4f

Definition at line 83 of file imaging_model.cpp.

#define C_2_MAX   2.0e-4f

Definition at line 84 of file imaging_model.cpp.


Function Documentation

ostream& operator<< ( ostream &  out,
const Imaging_window window 
)
Parameters:
outOutput stream to write to.
windowImaging_window to write.

Definition at line 154 of file imaging_model.cpp.

istream& operator>> ( istream &  in,
Imaging_window window 
)
Parameters:
inInput stream to read from.
windowImaging_window to read into.

Definition at line 166 of file imaging_model.cpp.

ostream& operator<< ( ostream &  out,
const Imaging_scale scale 
)
Parameters:
outOutput stream to write to.
scaleImaging_scale to write.

Definition at line 225 of file imaging_model.cpp.

istream& operator>> ( istream &  in,
Imaging_scale scale 
)
Parameters:
inInput stream to read from.
scaleImaging_scale to read into.

Definition at line 239 of file imaging_model.cpp.