|
@@ -18,14 +18,14 @@ namespace bbiwarg.Images
|
|
|
class DepthImage
|
|
|
{
|
|
|
private int width, height;
|
|
|
- private Image<Gray, Int16> image;
|
|
|
+ private Image<Gray, short> image;
|
|
|
|
|
|
public DepthImage(int width, int height, short[] data)
|
|
|
{
|
|
|
this.width = width;
|
|
|
this.height = height;
|
|
|
|
|
|
- image = new Image<Gray, Int16>(width, height);
|
|
|
+ image = new Image<Gray, short>(width, height);
|
|
|
for (int i = 0; i < data.Length; ++i)
|
|
|
setDepth(i % width, i / width, data[i]);
|
|
|
}
|