plastimatch
Loading...
Searching...
No Matches
mha_io.cxx File Reference
#include "plmbase_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "file_util.h"
#include "mha_io.h"
#include "plm_endian.h"
#include "plm_fwrite.h"
#include "print_and_exit.h"
#include "string_util.h"
#include "volume.h"

Macros

#define LINELEN   512
 

Functions

static void write_mha_internal (const char *filename, const Volume *vol)
 
static Volumeread_mha_internal (const char *filename)
 
void write_mha (const char *filename, const Volume *vol)
 
Volumeread_mha (const char *filename)
 

Macro Definition Documentation

◆ LINELEN

#define LINELEN   512

Function Documentation

◆ read_mha()

Volume * read_mha ( const char * filename)

◆ read_mha_internal()

static Volume * read_mha_internal ( const char * filename)
static

◆ write_mha()

void write_mha ( const char * filename,
const Volume * vol )

◆ write_mha_internal()

static void write_mha_internal ( const char * filename,
const Volume * vol )
static