25 #ifndef _ImageConvertThreaded_hh_
26 #define _ImageConvertThreaded_hh_
28 #include <bias_config.h>
29 #ifndef BIAS_HAVE_PTHREADS
30 # error You need pthreads. please recompile BIAS with USE_PTHREADS.
31 #endif // BIAS_HAVE_PTHREADS
33 #include "ImageConvert.hh"
47 bool bPlanar=
false,
const int num_threads = 2);
52 static void SplitImage_(
const ImageBase &source,
const int num,
53 std::vector<ImageBase> &parts);
55 static void MergeImage_(
const std::vector<ImageBase>& parts,
58 static void *ConvertThread_(
void *arg);
66 #endif // _ImageConvertThreaded_hh_
EColorModel
These are the most often used color models.
class with static functions for converting all kinds of color formats and storage types ...
Converts images between different color models using multiple threads.
This is the base class for images in BIAS.