Property | Type | Description | |
---|---|---|---|
OriginalImage | float[] | ||
depthImgNormalizedBlurred | float[] | ||
depthImgNormalizedSmoothed | float[] | ||
devOrEmu | DeviceOrEmulator, | ||
rollingVarianceNormalized | float[] | ||
rollingVarianceNormalizedLastFrame | float[] | ||
storedFrames | int |
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
processDepth ( ) : void |
public calcVariance ( float oldData, int index ) : float | ||
oldData | float | |
index | int | |
return | float |
public calcVariance ( float oldData ) : float[] | ||
oldData | float | |
return | float[] |
public getBlurred ( float normalDepth, float outputSmoothedDepth ) : void | ||
normalDepth | float | |
outputSmoothedDepth | float | |
return | void |
public lerp ( float oldValue, float newValue, float factor ) : float | ||
oldValue | float | |
newValue | float | |
factor | float | |
return | float |
public lerpArray ( float oldValue, float newValue, float factor ) : float[] | ||
oldValue | float | |
newValue | float | |
factor | float | |
return | float[] |
public float[] depthImgNormalizedBlurred | ||
return | float[] |
public float[] depthImgNormalizedSmoothed | ||
return | float[] |
public float[] rollingVarianceNormalized | ||
return | float[] |
public float[] rollingVarianceNormalizedLastFrame | ||
return | float[] |