bool IsPlayerPixel(Seq<Point> contour, Byte[, ,] skinMask, int x, int y, int depth) { return contour.InContour(new Point(x, y)) >= 0 && (skinMask == null || skinMask[y, x, 0] > 0) && depth > HandInputParams.MinDepth; }