home
about
news
download
doc
source
systems
tests
bugs
contact
IMP Reference Guide
2.6.1
The Integrative Modeling Platform
IMP Manual
Reference Guide
Modules
Classes
Examples
include
IMP
em
header_converters.h
Go to the documentation of this file.
1
/**
2
* \file IMP/em/header_converters.h
3
* \brief Functions to convert between ImageHeader and DensityHeader
4
* Copyright 2007-2016 IMP Inventors. All rights reserved.
5
*/
6
7
#ifndef IMPEM_HEADER_CONVERTERS_H
8
#define IMPEM_HEADER_CONVERTERS_H
9
10
#include <IMP/em/em_config.h>
11
#include "
ImageHeader.h
"
12
#include "
DensityHeader.h
"
13
#include <string.h>
14
15
IMPEM_BEGIN_NAMESPACE
16
17
//! Function to transfer the (compatible) information content from ImageHeader
18
//! to DensityHeader
19
IMPEMEXPORT
void
ImageHeader_to_DensityHeader
(
const
ImageHeader& h,
20
DensityHeader& header);
21
22
//! Function to transfer the (compatible) information content from DensityHeader
23
//! to ImageHeader
24
IMPEMEXPORT
void
DensityHeader_to_ImageHeader
(
const
DensityHeader& header,
25
ImageHeader& h);
26
27
IMPEM_END_NAMESPACE
28
29
#endif
/* IMPEM_HEADER_CONVERTERS_H */
DensityHeader.h
Metadata for a density file.
IMP::em::ImageHeader_to_DensityHeader
void ImageHeader_to_DensityHeader(const ImageHeader &h, DensityHeader &header)
IMP::em::DensityHeader_to_ImageHeader
void DensityHeader_to_ImageHeader(const DensityHeader &header, ImageHeader &h)
ImageHeader.h
Header for EM images. Compatible with Spider and Xmipp formats Copyright 2007-2016 IMP Inventors...