Classes | Functions
contrib/brl/bseg/bbgm/bbgm_features.h File Reference

A set of features for probability image processing. More...

#include <brip/brip_rect_mask.h>
#include <vgl/vgl_box_2d.h>
#include <vgl/vgl_polygon.h>
#include <vsl/vsl_binary_io.h>
#include <vsl/vsl_set_io.h>
#include <vcl_vector.h>
#include <vcl_set.h>
#include <vcl_iosfwd.h>

Go to the source code of this file.

Classes

class  bbgm_mask_feature
 A background-foreground mask to detect boundaries or ribbons or corners. More...
class  bbgm_mask_pair_feature
 A pair of mask features with intervening foreground probability. More...
class  fless
 functor to order the bbgm_pair_group_feature set. More...
class  bbgm_pair_group_feature
 A group of mask pair features with centers within a neighborhood. More...

Functions

void vsl_print_summary (vcl_ostream &os, const bbgm_mask_feature &b)
void vsl_b_write (vsl_b_ostream &os, const bbgm_mask_feature &b)
 Binary save bbgm_features.
void vsl_b_read (vsl_b_istream &is, bbgm_mask_feature &b)
 Binary load bbgm_features.
void vsl_print_summary (vcl_ostream &os, const bbgm_mask_pair_feature &b)
void vsl_b_write (vsl_b_ostream &os, const bbgm_mask_pair_feature &b)
 Binary save bbgm_features.
void vsl_b_read (vsl_b_istream &is, bbgm_mask_pair_feature &b)
 Binary load bbgm_features.
bool pair_intersect (bbgm_mask_pair_feature const &mp0, bbgm_mask_pair_feature const &mp1, bool plus_intersect_only=true)
void vsl_print_summary (vcl_ostream &os, const bbgm_pair_group_feature &b)
void vsl_b_write (vsl_b_ostream &os, const bbgm_pair_group_feature &b)
 Binary save bbgm_features.
void vsl_b_read (vsl_b_istream &is, bbgm_pair_group_feature &b)
 Binary load bbgm_features.
bbgm_pair_group_feature pair_group_merge (bbgm_pair_group_feature const &pg0, bbgm_pair_group_feature const &pg1, float p_path=1.0f)
bbgm_pair_group_feature pair_group_max_union (bbgm_pair_group_feature const &pg0, bbgm_pair_group_feature const &pg1)

Detailed Description

A set of features for probability image processing.

Author:
J.L. Mundy
Date:
May 3, 2008
    Modifications
     <none yet>
   

Definition in file bbgm_features.h.


Function Documentation

bbgm_pair_group_feature pair_group_max_union ( bbgm_pair_group_feature const &  pg0,
bbgm_pair_group_feature const &  pg1 
)

Definition at line 557 of file bbgm_features.cxx.

bbgm_pair_group_feature pair_group_merge ( bbgm_pair_group_feature const &  pg0,
bbgm_pair_group_feature const &  pg1,
float  p_path = 1.0f 
)

Definition at line 525 of file bbgm_features.cxx.

bool pair_intersect ( bbgm_mask_pair_feature const &  mp0,
bbgm_mask_pair_feature const &  mp1,
bool  plus_intersect_only = true 
)

Definition at line 484 of file bbgm_features.cxx.

void vsl_b_read ( vsl_b_istream is,
bbgm_mask_feature b 
)

Binary load bbgm_features.

Definition at line 121 of file bbgm_features.cxx.

void vsl_b_read ( vsl_b_istream is,
bbgm_mask_pair_feature b 
)

Binary load bbgm_features.

Definition at line 275 of file bbgm_features.cxx.

void vsl_b_read ( vsl_b_istream is,
bbgm_pair_group_feature b 
)

Binary load bbgm_features.

Definition at line 472 of file bbgm_features.cxx.

void vsl_b_write ( vsl_b_ostream os,
const bbgm_mask_feature b 
)

Binary save bbgm_features.

Definition at line 115 of file bbgm_features.cxx.

void vsl_b_write ( vsl_b_ostream os,
const bbgm_mask_pair_feature b 
)

Binary save bbgm_features.

Definition at line 269 of file bbgm_features.cxx.

void vsl_b_write ( vsl_b_ostream os,
const bbgm_pair_group_feature b 
)

Binary save bbgm_features.

Definition at line 466 of file bbgm_features.cxx.

void vsl_print_summary ( vcl_ostream &  os,
const bbgm_mask_feature b 
)

Definition at line 128 of file bbgm_features.cxx.

void vsl_print_summary ( vcl_ostream &  os,
const bbgm_mask_pair_feature b 
)

Definition at line 282 of file bbgm_features.cxx.

void vsl_print_summary ( vcl_ostream &  os,
const bbgm_pair_group_feature b 
)

Definition at line 479 of file bbgm_features.cxx.