fix(points cloud): show the points clopud in normal size
This commit is contained in:
parent
beab7a155d
commit
cb135f45b5
|
@ -106,9 +106,9 @@ bool PointsProcessor::OnProcess(
|
||||||
if (!DepthTraits<uint16_t>::valid(depth)) {
|
if (!DepthTraits<uint16_t>::valid(depth)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
dptr[u][0] = (u - center_x) * depth * constant_x * 1000.0;
|
dptr[u][0] = (u - center_x) * depth * constant_x ;
|
||||||
dptr[u][1] = (v - center_y) * depth * constant_y * 1000.0;
|
dptr[u][1] = (v - center_y) * depth * constant_y ;
|
||||||
dptr[u][2] = depth * 1000.0;
|
dptr[u][2] = depth ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
output->id = input->id;
|
output->id = input->id;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user