STIR  6.2.0
Functions
Bland_Altman_plot.cxx File Reference

Writes the Bland-Altman values for two images in a text file. More...

#include "stir/shared_ptr.h"
#include "stir/DiscretisedDensity.h"
#include "stir/VoxelsOnCartesianGrid.h"
#include "stir/linear_regression.h"
#include "stir/VectorWithOffset.h"
#include "stir/warning.h"
#include <iostream>
#include <iomanip>
#include <fstream>
#include <math.h>

Functions

int main (int argc, char *argv[])
 

Detailed Description

Writes the Bland-Altman values for two images in a text file.

Author
Charalampos Tsoumpas
Usage:
Bland_Altman_plot output_filename_prefix image_1 image_2 xmin xmax ymin ymax zmin zmax
Parameters
image1/image2must have the same sizes.
x/y/zmin/maxdenote a rectangular region for which the Bland Altman Plot will be estimated.

It writes two lists: Average-Bias of the two images to a text file (.txt) and the rest statistical values to another text file (.stat)

Note
The Bias is estimated using the image1-image2 formula.
Todo:
Add to the Doxygen documentation a reference to their paper and how exactly this utility works.