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. |
Visualization of bsta_histograms using bsvg.
Definition in file bsta_svg_tools.h.
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.
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.