The Align tool inverts the heights of point clouds

Feel free to ask any question here
Post Reply
Feing
Posts: 1
Joined: Tue Oct 29, 2024 1:06 am

The Align tool inverts the heights of point clouds

Post by Feing »

Hi everyone
<!--- If you are reporting a security issue, please send an email directly to security@cloudcompare.org -->
**Describe the bug**
<!-- - Please add a clear and concise description of what the bug is.
When you finish entering the references in the point cloud and click the align button inside the tool box, the cloud is aligned with the reference points (with their corresponding errors). However, this adjustment looks fine in plan and when checking the elevations of the point cloud (isometric view) they are all inverted except those at ground level.
Looking more closely, this occurs when using 4 reference points (not sure if more, not tested). When using 3 points, this situation does not occur -->
**How to reproduce**
<!--- Steps to reproduce the behavior: include images if relevant:
1. Go to the "aligns two clouds by picking" tool.
2. Click on the cloud to be aligned in the pop-up box to configure the reference order.
Imagen1.png
3. Move to the points of your choice and that you consider optimal to reference the cloud.
Imagen2.png
4. See the error when trying to align the cloud with four reference points.
Imagen3.png Imagen4.png
**Expected behavior**
<!--- Add a clear and concise description of what you expected to happen. -->
The following image reflects the adjustment made with three points, whose result was as expected (although not quite for the scanned area)
Imagen5.png Imagen6.png
The following image reflects the adjustment made with three points, whose result is as expected (although not quite for the scanned area)
The result obtained (and not expected) even with acceptable statistical results (rms of approximately 0.08m), but when viewing the isometric view, all the heights were inverted.
**Additional context**
<!--- Please add any other context about the issue here, including screenshots to help explain your issue. -->
Imagen3.png Imagen5.png
Imagen4.png Imagen6.png
Difference between log with four (Imagen3.png and Imagen4.png on the left) and three (Imagen5.png and Imagen6.png on the right) benchmarks
**Your environment**
-CC version (or Git hash/tag): 2.13.1, 2.13.2, and 2.14 (alpha) have been tested and all have the same results
-OS and version: Windows 11 Home Single Language 64-bit
-Graphics card: Intel(R) UHD Graphics/NVIDIA GeForce RTX 3050 Laptop GPU
-Qt version (if building): Not built
<!--- Please include any other relevant details about your environment -->
None
Attachments
Imagen6.png
Imagen6.png (46.61 KiB) Viewed 380 times
Imagen5.png
Imagen5.png (234.2 KiB) Viewed 380 times
Imagen4.png
Imagen4.png (125.68 KiB) Viewed 380 times
Imagen3.png
Imagen3.png (125.48 KiB) Viewed 380 times
Imagen2.png
Imagen2.png (573.95 KiB) Viewed 380 times
Imagen1.png
Imagen1.png (67.54 KiB) Viewed 380 times
daniel
Site Admin
Posts: 7701
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: The Align tool inverts the heights of point clouds

Post by daniel »

Looks redundant with https://github.com/CloudCompare/CloudCo ... ssues/2080. We will discuss this directly on github.
Daniel, CloudCompare admin
Post Reply