newimage
 
Loading...
Searching...
No Matches
NEWIMAGE::Costfn Class Reference

Public Member Functions

 Costfn (const volume< float > &refv, const volume< float > &inputv)
 
 Costfn (const volume< float > &refv, const volume< float > &inputv, const volume< float > &refweight, const volume< float > &inweight)
 
void set_debug_mode (bool debug_flag=true)
 
void set_costfn (const costfns &costtype)
 
costfns get_costfn (void)
 
void set_no_bins (int n_bins)
 
int set_bbr_seg (const volume< float > &bbr_seg)
 
int set_bbr_coords (const NEWMAT::Matrix &coords, const NEWMAT::Matrix &norms)
 
int set_bbr_type (const std::string &typenm)
 
int set_bbr_step (int step)
 
int set_bbr_slope (float slope)
 
int set_bbr_fmap (const volume< float > &fieldmap, int phase_encode_direction)
 
int set_bbr_fmap (const volume< float > &fieldmap, const volume< float > &fieldmap_mask, int phase_encode_direction)
 
int count () const
 
float cost (const NEWMAT::Matrix &affmat) const
 
float cost (const NEWMAT::Matrix &affmat, const NEWMAT::ColumnVector &nonlin_params) const
 
float cost (const volume4D< float > &warp) const
 
float cost_gradient (volume4D< float > &gradvec, const volume4D< float > &warp, bool nullbc) const
 
float ref_entropy (const NEWMAT::Matrix &aff) const
 
float test_entropy (const NEWMAT::Matrix &aff) const
 
float joint_entropy (const NEWMAT::Matrix &aff) const
 
volume< float > image_mapper (const NEWMAT::Matrix &affmat) const
 
NEWMAT::Matrix mappingfn (const NEWMAT::Matrix &affmat) const
 
float get_bin_intensity (int bin_number) const
 
float get_bin_number (float intensity) const
 
bool is_bbr_set (void) const
 
float bbr_resamp (const NEWMAT::Matrix &aff, const NEWMAT::ColumnVector &nonlin_params, volume< float > &resampvol) const
 

Public Attributes

const volume< float > & refvol
 
const volume< float > & testvol
 
const volume< float > & rweight
 
const volume< float > & tweight
 
volume< float > wmseg
 
volume< float > fmap
 
volume< float > fmap_mask
 
volume4D< float > debugvol
 
NEWMAT::ColumnVector testCog
 
float smoothsize
 
float fuzzyfrac
 

The documentation for this class was generated from the following files: