The flutter shutter camera simulator
|
Midway contrast equalization routine (used here for constrast invariant RMSE) More...
#include <vector>
#include <algorithm>
Go to the source code of this file.
Typedefs | |
typedef std::pair< float, int > | midway_pair |
Functions | |
bool | pairs_order (midway_pair P1, midway_pair P2) |
void | midway (float *I1, float *I2, int width, int height) |
Midway contrast equalization routine (used here for constrast invariant RMSE)
Definition in file midway.cpp.
typedef std::pair<float,int> midway_pair |
Definition at line 30 of file midway.cpp.
void midway | ( | float * | I1, |
float * | I2, | ||
int | width, | ||
int | height | ||
) |
Step1. Sorts using midway_pairs P1 & P2 (P1.first contains I1 pixel values, and P1.second contains pixel indexes (usefull after the sorts) (same for P2 with I2))
Step2. Specification
Definition at line 47 of file midway.cpp.
bool pairs_order | ( | midway_pair | P1, |
midway_pair | P2 | ||
) |