バイナリ画像を読み書きするためのライブラリ [詳細]
#include "../mist.h"
#include "../config/color.h"
#include "../config/endian.h"
#include <iostream>
#include <string>
#include <zlib.h>
ネームスペース | |
namespace | mist |
関数 | |
template<class T , class Allocator , class ValueType , class Functor > | |
bool | mist::read_raw (array< T, Allocator > &image, const std::string &filename, typename array< T, Allocator >::size_type w, typename array< T, Allocator >::value_type offset, bool from_little_endian, ValueType __dmy__, Functor callback) |
無圧縮RAW,GZ圧縮RAW 画像をMISTコンテナに読み込む | |
template<class T , class Allocator , class ValueType , class Functor > | |
bool | mist::write_raw (const array< T, Allocator > &image, const std::string &filename, typename array< T, Allocator >::value_type offset, bool to_little_endian, ValueType __dmy__, Functor callback) |
MISTコンテナ内の画像を 無圧縮RAW 画像として出力する | |
template<class T , class Allocator , class ValueType , class Functor > | |
bool | mist::write_raw_gz (const array< T, Allocator > &image, const std::string &filename, typename array< T, Allocator >::value_type offset, bool to_little_endian, ValueType __dmy__, Functor callback) |
MISTコンテナ内の画像を GZ圧縮RAW 画像として出力する | |
template<class T , class Allocator , class Functor > | |
bool | mist::read_raw (array< T, Allocator > &image, const std::string &filename, typename array< T, Allocator >::size_type w, typename array< T, Allocator >::value_type offset, bool from_little_endian, Functor callback) |
無圧縮RAW,GZ圧縮RAW 画像をMISTコンテナに読み込む | |
template<class T , class Allocator , class Functor > | |
bool | mist::write_raw (const array< T, Allocator > &image, const std::string &filename, typename array< T, Allocator >::value_type offset, bool to_little_endian, Functor callback) |
MISTコンテナ内の画像を 無圧縮RAW 画像として出力する | |
template<class T , class Allocator , class Functor > | |
bool | mist::write_raw_gz (const array< T, Allocator > &image, const std::string &filename, typename array< T, Allocator >::value_type offset, bool to_little_endian, Functor callback) |
MISTコンテナ内の画像を GZ圧縮RAW 画像として出力する | |
template<class T , class Allocator > | |
bool | mist::read_raw (array< T, Allocator > &image, const std::string &filename, typename array< T, Allocator >::size_type w, typename array< T, Allocator >::value_type offset=0, bool from_little_endian=false) |
無圧縮RAW,GZ圧縮RAW 画像をMISTコンテナに読み込む | |
template<class T , class Allocator > | |
bool | mist::write_raw (const array< T, Allocator > &image, const std::string &filename, typename array< T, Allocator >::value_type offset=0, bool to_little_endian=false) |
MISTコンテナ内の画像を 無圧縮RAW 画像として出力する | |
template<class T , class Allocator > | |
bool | mist::write_raw_gz (const array< T, Allocator > &image, const std::string &filename, typename array< T, Allocator >::value_type offset=typename array< T, Allocator >::value_type(0), bool to_little_endian=false) |
MISTコンテナ内の画像を GZ圧縮RAW 画像として出力する | |
template<class T , class Allocator , class ValueType , class Functor > | |
bool | mist::read_raw (array1< T, Allocator > &image, const std::string &filename, typename array1< T, Allocator >::size_type w, double x, typename array1< T, Allocator >::value_type offset, bool from_little_endian, ValueType __dmy__, Functor callback) |
無圧縮RAW,GZ圧縮RAW 画像をMISTコンテナに読み込む | |
template<class T , class Allocator , class Functor > | |
bool | mist::read_raw (array1< T, Allocator > &image, const std::string &filename, typename array1< T, Allocator >::size_type w, double x, typename array1< T, Allocator >::value_type offset, bool from_little_endian, Functor callback) |
無圧縮RAW,GZ圧縮RAW 画像をMISTコンテナに読み込む | |
template<class T , class Allocator > | |
bool | mist::read_raw (array1< T, Allocator > &image, const std::string &filename, typename array1< T, Allocator >::size_type w, double x=1.0, typename array1< T, Allocator >::value_type offset=0, bool from_little_endian=false) |
無圧縮RAW,GZ圧縮RAW 画像をMISTコンテナに読み込む | |
template<class T , class Allocator , class ValueType , class Functor > | |
bool | mist::read_raw (array2< T, Allocator > &image, const std::string &filename, typename array2< T, Allocator >::size_type w, typename array2< T, Allocator >::size_type h, double x, double y, typename array2< T, Allocator >::value_type offset, bool from_little_endian, ValueType __dmy__, Functor callback) |
無圧縮RAW,GZ圧縮RAW 画像をMISTコンテナに読み込む | |
template<class T , class Allocator , class Functor > | |
bool | mist::read_raw (array2< T, Allocator > &image, const std::string &filename, typename array2< T, Allocator >::size_type w, typename array2< T, Allocator >::size_type h, double x, double y, typename array2< T, Allocator >::value_type offset, bool from_little_endian, Functor callback) |
無圧縮RAW,GZ圧縮RAW 画像をMISTコンテナに読み込む | |
template<class T , class Allocator > | |
bool | mist::read_raw (array2< T, Allocator > &image, const std::string &filename, typename array2< T, Allocator >::size_type w, typename array2< T, Allocator >::size_type h, double x=1.0, double y=1.0, typename array2< T, Allocator >::value_type offset=0, bool from_little_endian=false) |
無圧縮RAW,GZ圧縮RAW 画像をMISTコンテナに読み込む | |
template<class T , class Allocator , class ValueType , class Functor > | |
bool | mist::read_raw (array3< T, Allocator > &image, const std::string &filename, typename array3< T, Allocator >::size_type w, typename array3< T, Allocator >::size_type h, typename array3< T, Allocator >::size_type d, double x, double y, double z, typename array3< T, Allocator >::value_type offset, bool from_little_endian, ValueType __dmy__, Functor callback) |
無圧縮RAW,GZ圧縮RAW 画像をMISTコンテナに読み込む | |
template<class T , class Allocator , class Functor > | |
bool | mist::read_raw (array3< T, Allocator > &image, const std::string &filename, typename array3< T, Allocator >::size_type w, typename array3< T, Allocator >::size_type h, typename array3< T, Allocator >::size_type d, double x, double y, double z, typename array3< T, Allocator >::value_type offset, bool from_little_endian, Functor callback) |
無圧縮RAW,GZ圧縮RAW 画像をMISTコンテナに読み込む | |
template<class T , class Allocator > | |
bool | mist::read_raw (array3< T, Allocator > &image, const std::string &filename, typename array3< T, Allocator >::size_type w, typename array3< T, Allocator >::size_type h, typename array3< T, Allocator >::size_type d, double x=1.0, double y=1.0, double z=1.0, typename array3< T, Allocator >::value_type offset=typename array3< T, Allocator >::value_type(0), bool from_little_endian=false) |
無圧縮RAW,GZ圧縮RAW 画像をMISTコンテナに読み込む |
バイナリ画像を読み書きするためのライブラリ