TIFF画像を読み書きするためのライブラリ [詳細]
#include "../mist.h"
#include "../config/color.h"
#include "../limits.h"
#include <iostream>
#include <string>
#include <tiffio.h>
ネームスペース | |
namespace | mist |
関数 | |
template<class T , class Allocator > | |
bool | mist::read_tiff (array2< T, Allocator > &image, const std::string &filename) |
TIFF画像をMISTコンテナに読み込む | |
template<class T , class Allocator > | |
bool | mist::read_tiff (array2< T, Allocator > &image, const std::wstring &filename) |
TIFF画像をMISTコンテナに読み込む | |
template<class T , class Allocator > | |
bool | mist::write_tiff (const array2< T, Allocator > &image, const std::string &filename, bool use_lzw_compression=_LZW_COMPRESSION_SUPPORT_) |
MISTコンテナの画像をTIFF形式でファイルに出力する | |
template<class T , class Allocator > | |
bool | mist::write_tiff (const array2< T, Allocator > &image, const std::wstring &filename, bool use_lzw_compression=_LZW_COMPRESSION_SUPPORT_) |
MISTコンテナの画像をTIFF形式でファイルに出力する |
TIFF画像を読み書きするためのライブラリ
本ライブラリは,http://www.libtiff.org/ で開発が行われている libtiff を利用している エンコードとデコードは本ライブラリのAPIを用いて実装されているため,別途ライブラリを用意する必要がある