Skip to content

What is the focal distance unit of HDL 64e? meter or centimeter? #499

Open
@HappengorC

Description

@HappengorC

Hi,

I want to ask what is the focal distance unit of HDL 64e in the HDL 64e XML?

Question:
Is the unit of focal distance meter?

I assumed the focal distance has the unit of meter after I read the source code.

The following equation can compensate for the intensity according to the HDL 64e s3 user manual:

float focal_offset = 256
* (1 - corrections.focal_distance / 13100)
* (1 - corrections.focal_distance / 13100);
float focal_slope = corrections.focal_slope;
intensity += focal_slope * (std::abs(focal_offset - 256 *
SQR(1 - static_cast<float>(tmp.uint)/65535)));

But in this case, the focal distance is assumed to have the unit of centimeter and corrections.focal_distance has the unit of meter. Hence, I think it would be
float focal_offset = 256 * (1 - corrections.focal_distance / 131) * (1 - corrections.focal_distance / 131);
, if corrections.focal_distance has the unit of meter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions