1 | /* |
---|
2 | |
---|
3 | Brian Curless |
---|
4 | |
---|
5 | Computer Graphics Laboratory |
---|
6 | Stanford University |
---|
7 | |
---|
8 | --------------------------------------------------------------------- |
---|
9 | |
---|
10 | Copyright (1997) The Board of Trustees of the Leland Stanford Junior |
---|
11 | University. Except for commercial resale, lease, license or other |
---|
12 | commercial transactions, permission is hereby given to use, copy, |
---|
13 | modify this software for academic purposes only. No part of this |
---|
14 | software or any derivatives thereof may be used in the production of |
---|
15 | computer models for resale or for use in a commercial |
---|
16 | product. STANFORD MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND |
---|
17 | CONCERNING THIS SOFTWARE. No support is implied or provided. |
---|
18 | |
---|
19 | */ |
---|
20 | |
---|
21 | |
---|
22 | #ifndef _RESAMPLE_ |
---|
23 | #define _RESAMPLE_ |
---|
24 | |
---|
25 | #include "DepthMap.h" |
---|
26 | #include "Linear.h" |
---|
27 | |
---|
28 | void resample(DepthMap *depthMap, float xOff, float yOff, |
---|
29 | float *depth, float *confidence); |
---|
30 | |
---|
31 | void resampleBetter(DepthMap *depthMap, float xOff, float yOff, |
---|
32 | float *depth, float *confidence); |
---|
33 | |
---|
34 | void resampleWithEdge(DepthMap *depthMap, float xOff, float yOff, |
---|
35 | float *depth, float *confidence, float *edge); |
---|
36 | |
---|
37 | void resampleForCarving(DepthMap *depthMap, float xOff, float yOff, |
---|
38 | float *depth, float *confidence); |
---|
39 | |
---|
40 | void resampleNorm(DepthMap *depthMap, float xOff, float yOff, |
---|
41 | float *depth, float *confidence, Vec3f &norm); |
---|
42 | |
---|
43 | #endif |
---|
44 | |
---|