Functions
contrib/brl/bbas/bsta/vis/bsta_svg_tools.h File Reference

Visualization of bsta_histograms using bsvg. More...

#include <vcl_iostream.h>
#include <vcl_sstream.h>
#include <bsta/bsta_histogram.h>
#include <bsta/bsta_joint_histogram.h>
#include <bxml/bsvg/bsvg_plot.h>
#include <bxml/bxml_write.h>
#include <vnl/vnl_math.h>

Go to the source code of this file.

Functions

template<class T >
void write_svg (const bsta_histogram< T > &h, const vcl_string &outfile, float width=600.0f, float height=600.0f, float margin=40.0f, int font_size=30)
 Create SVG document from histogram.
template<class T >
void write_svg_angle_distance (const bsta_joint_histogram< T > &h, const vcl_string &out_file, float width=600.0f, float height=600.0f, float margin=40.0f, int font_size=30)
 Create a polar style pie chart from the joint histogram, assuming that the first dimension is the angle, and it is in radius.

Detailed Description

Visualization of bsta_histograms using bsvg.

Author:
Ozge C. Ozcanli
Date:
April 22, 2009

Definition in file bsta_svg_tools.h.


Function Documentation

template<class T >
void write_svg ( const bsta_histogram< T > &  h,
const vcl_string &  outfile,
float  width = 600.0f,
float  height = 600.0f,
float  margin = 40.0f,
int  font_size = 30 
)

Create SVG document from histogram.

Definition at line 21 of file bsta_svg_tools.h.

template<class T >
void write_svg_angle_distance ( const bsta_joint_histogram< T > &  h,
const vcl_string &  out_file,
float  width = 600.0f,
float  height = 600.0f,
float  margin = 40.0f,
int  font_size = 30 
)

Create a polar style pie chart from the joint histogram, assuming that the first dimension is the angle, and it is in radius.

Definition at line 66 of file bsta_svg_tools.h.