| // flowIO.h | |
| // the "official" threshold - if the absolute value of either | |
| // flow component is greater, it's considered unknown | |
| // value to use to represent unknown flow | |
| // return whether flow vector is unknown | |
| bool unknown_flow(float u, float v); | |
| bool unknown_flow(float *f); | |
| // read a flow file into 2-band image | |
| void ReadFlowFile(CFloatImage& img, const char* filename); | |
| // write a 2-band image into flow file | |
| void WriteFlowFile(CFloatImage img, const char* filename); | |