rgbd
serialization.h
Go to the documentation of this file.
1 #ifndef RGBD_SERIALIZATION_H_
2 #define RGBD_SERIALIZATION_H_
3 
6 
7 #include "rgbd/image.h"
8 
9 namespace rgbd
10 {
11 
12 class Image;
13 
14 // SERIALIZATION
15 
16 bool serialize(const Image& image, tue::serialization::OutputArchive& a,
18  DepthStorageType depth_type = DEPTH_STORAGE_PNG);
19 
20 // DESERIALIZATION
21 
22 bool deserialize(tue::serialization::InputArchive& a, Image& image);
23 
24 }
25 
26 #endif // RGBD_SERIALIZATION_H_
input_archive.h
rgbd::deserialize
bool deserialize(tue::serialization::InputArchive &a, Image &image)
Definition: serialization.cpp:174
tue::serialization::OutputArchive
rgbd::serialize
bool serialize(const Image &image, tue::serialization::OutputArchive &a, RGBStorageType rgb_type=RGB_STORAGE_JPG, DepthStorageType depth_type=DEPTH_STORAGE_PNG)
Definition: serialization.cpp:23
rgbd::DepthStorageType
DepthStorageType
Definition: image.h:36
rgbd::RGB_STORAGE_JPG
@ RGB_STORAGE_JPG
Definition: image.h:33
rgbd
Definition: client.h:24
rgbd::RGBStorageType
RGBStorageType
Definition: image.h:29
image.h
rgbd::DEPTH_STORAGE_PNG
@ DEPTH_STORAGE_PNG
Definition: image.h:40
tue::serialization::InputArchive
output_archive.h