#include <vifa_norm_params.h>

Public Member Functions | |
| vifa_norm_params (float IntLow=0.0, float ProbLow=0.0, float IntHigh=0.0, float ProbHigh=0.0) | |
| Default constructor. | |
| vifa_norm_params (const vifa_norm_params &old_params) | |
| Copy constructor. | |
| void | recompute (void) |
| Force update of clip points & interpolation line. | |
| float | normalize (float raw_intensity) |
| Compute normalized equivalent of given intensity. | |
| void | print_info (void) |
| Dump the parameters. | |
| virtual bool | SanityCheck () |
| bool | Valid () const |
| const char * | GetErrorMsg () const |
| void | SetErrorMsg (const char *msg) |
| void | touch () |
| unsigned long | get_time_stamp () const |
| bool | older (vul_timestamp const &t) const |
| bool | older (vul_timestamp const *t) const |
| void | ref () |
| void | unref () |
| int | get_references () const |
| bool | is_referenced () const |
Static Public Member Functions | |
| static bool | get_norm_bounds (vil_image_view_base *img, float low_bound_pcent, float high_bound_pcent, float &normal_low, float &normal_high) |
| Find an image's low & high intensities for normalization. | |
Public Attributes | |
| float | ilow |
| x-coordinate of low point (i == intensity). | |
| float | plow |
| y-coordinate of low point (p == percentage). | |
| float | ihigh |
| x-coordinate of high point. | |
| float | phigh |
| y-coordinate of high point. | |
Protected Attributes | |
| unsigned long | timestamp_ |
Private Member Functions | |
| void | calculate_clip_points (void) |
| Internal method to update clip points & interpolation line. | |
Private Attributes | |
| float | imin_ |
| Calculated x-coord of y == 0 [low intensity clip point]. | |
| float | imax_ |
| Calculated x-coord of y == 1 [high intensity clip point]. | |
| float | slope_ |
| Computed slope of line connecting high & low points. | |
| float | b_ |
| Computed y-intercept of line connecting high & low points. | |
Definition at line 38 of file vifa_norm_params.h.
| vifa_norm_params::vifa_norm_params | ( | float | IntLow = 0.0, |
| float | ProbLow = 0.0, |
||
| float | IntHigh = 0.0, |
||
| float | ProbHigh = 0.0 |
||
| ) |
Default constructor.
Definition at line 15 of file vifa_norm_params.cxx.
| vifa_norm_params::vifa_norm_params | ( | const vifa_norm_params & | old_params | ) |
Copy constructor.
Definition at line 32 of file vifa_norm_params.cxx.
| void vifa_norm_params::calculate_clip_points | ( | void | ) | [private] |
Internal method to update clip points & interpolation line.
Definition at line 124 of file vifa_norm_params.cxx.
| bool vifa_norm_params::get_norm_bounds | ( | vil_image_view_base * | img, |
| float | low_bound_pcent, | ||
| float | high_bound_pcent, | ||
| float & | normal_low, | ||
| float & | normal_high | ||
| ) | [static] |
Find an image's low & high intensities for normalization.
Definition at line 64 of file vifa_norm_params.cxx.
| float vifa_norm_params::normalize | ( | float | raw_intensity | ) |
Compute normalized equivalent of given intensity.
Definition at line 49 of file vifa_norm_params.cxx.
| void vifa_norm_params::print_info | ( | void | ) |
Dump the parameters.
Definition at line 112 of file vifa_norm_params.cxx.
| void vifa_norm_params::recompute | ( | void | ) |
Force update of clip points & interpolation line.
Definition at line 43 of file vifa_norm_params.cxx.
float vifa_norm_params::b_ [private] |
Computed y-intercept of line connecting high & low points.
Definition at line 66 of file vifa_norm_params.h.
| float vifa_norm_params::ihigh |
x-coordinate of high point.
Definition at line 50 of file vifa_norm_params.h.
| float vifa_norm_params::ilow |
x-coordinate of low point (i == intensity).
Definition at line 44 of file vifa_norm_params.h.
float vifa_norm_params::imax_ [private] |
Calculated x-coord of y == 1 [high intensity clip point].
Definition at line 60 of file vifa_norm_params.h.
float vifa_norm_params::imin_ [private] |
Calculated x-coord of y == 0 [low intensity clip point].
Definition at line 57 of file vifa_norm_params.h.
| float vifa_norm_params::phigh |
y-coordinate of high point.
Definition at line 53 of file vifa_norm_params.h.
| float vifa_norm_params::plow |
y-coordinate of low point (p == percentage).
Definition at line 47 of file vifa_norm_params.h.
float vifa_norm_params::slope_ [private] |
Computed slope of line connecting high & low points.
Definition at line 63 of file vifa_norm_params.h.
1.7.5.1