STIR  6.2.0
Namespaces | Functions
stir_write_pgm.cxx File Reference

This program writes a PGM bitmap for an image (preliminary) More...

#include "stir/VoxelsOnCartesianGrid.h"
#include "stir/IO/read_from_file.h"
#include "stir/round.h"
#include "stir/IndexRange3D.h"
#include "stir/Coordinate2D.h"
#include "stir/shared_ptr.h"
#include "stir/error.h"
#include "stir/warning.h"
#include <cstdio>
#include <fstream>
#include <algorithm>

Namespaces

 stir
 Namespace for the STIR library (and some/most of its applications)
 

Functions

void print_usage_and_exit (const std::string &program_name)
 
int main (int argc, char **argv)
 

Detailed Description

This program writes a PGM bitmap for an image (preliminary)

Run to get a usage message.

Author
Kris Thielemans
Warning
It only supports stir::VoxelsOnCartesianGrid type of images.