|
Optimized Belief Propagation (CPU and GPU)
|
#include <cstdlib>#include <climits>#include <cstring>#include <fstream>#include "image.h"#include "misc.h"

Go to the source code of this file.
Classes | |
| class | bp_single_thread_imp::pnm_error |
Namespaces | |
| bp_single_thread_imp | |
| Class and structs in single-thread CPU bp implementation by Pedro Felzenwalb available at https://cs.brown.edu/people/pfelzens/bp/index.html. | |
Macros | |
| #define | BUF_SIZE 256 |
Functions | |
| template<class T > | |
| void | load_image (bp_single_thread_imp::image< T > **im, const char *name) |
| template<class T > | |
| void | save_image (bp_single_thread_imp::image< T > *im, const char *name) |
Variables | |
| const bool | kUseWeightedRGBToGrayscaleConversion_PNMFILE = true |
| void load_image | ( | bp_single_thread_imp::image< T > ** | im, |
| const char * | name | ||
| ) |
| void save_image | ( | bp_single_thread_imp::image< T > * | im, |
| const char * | name | ||
| ) |