프로퍼티 | 타입 | 설명 | |
---|---|---|---|
OriginalImage | float[] | ||
depthImgNormalizedBlurred | float[] | ||
depthImgNormalizedSmoothed | float[] | ||
devOrEmu | DeviceOrEmulator, | ||
rollingVarianceNormalized | float[] | ||
rollingVarianceNormalizedLastFrame | float[] | ||
storedFrames | int |
메소드 | 설명 | |
---|---|---|
LateUpdate ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
calcVariance ( float oldData, int index ) : float | ||
calcVariance ( float oldData ) : float[] | ||
getBlurred ( float normalDepth, float outputSmoothedDepth ) : void | ||
lerp ( float oldValue, float newValue, float factor ) : float | ||
lerpArray ( float oldValue, float newValue, float factor ) : float[] | ||
normalize ( float target ) : float[] | ||
pollDepth ( ) : bool |
First call per frame checks if there is a new depth image and updates, returns true if there is new data Subsequent calls do nothing have the same return as the first call.
|
메소드 | 설명 | |
---|---|---|
processDepth ( ) : void |
public calcVariance ( float oldData, int index ) : float | ||
oldData | float | |
index | int | |
리턴 | float |
public getBlurred ( float normalDepth, float outputSmoothedDepth ) : void | ||
normalDepth | float | |
outputSmoothedDepth | float | |
리턴 | void |
public lerp ( float oldValue, float newValue, float factor ) : float | ||
oldValue | float | |
newValue | float | |
factor | float | |
리턴 | float |
public lerpArray ( float oldValue, float newValue, float factor ) : float[] | ||
oldValue | float | |
newValue | float | |
factor | float | |
리턴 | float[] |
public float[] rollingVarianceNormalizedLastFrame | ||
리턴 | float[] |