Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
The tool uses the least squares method to fit point cloud data to the cylindrical surface to obtain results that are most representative of the cylinder. The adjustment result includes 7 parameters including cylindrical coordinates, direction vector of cylindrical centerline, and radius. Finally, convert the parametric results to the coordinates of the start and end points of the cylinder.
*Note: This tool is suitable for cylinders whose height exceeds their radius.
This toolbox contains 6 MATLAB codes,
- 1 main program - adjustment_cylinder_with_r.m:*Input data should be in n*3 format, named "point".
- 5 calling programs -
- pointslope_radius.m:Calculate initial approximation
- adjust_cylinder_with_r.m:Adjustment calculation
- plot_approximationIncrement.m:Approximate value increment and sigma change plot
- plot_residualsdistribution.m:Residual distribution plot
- params2endpoints.m:Convert the calculation results to the coordinates of the cylinder endpoints
cylindrical surface mathematical formula:
- Input data -
- 7 unknown parameters -
V[a,b,c] as the direction vector of the cylinder centerline
P(d,e,f) is the coordinate of the perpendicular foot from origin to the centerline of the cylinder
r for radius
Procedure
Example
- input point cloud
- approximation increment & sigma
- residuals distribution
- final reuslt
If you have any questions or suggestions or would like more details, please feel free to leave any comments below or contact me via email. Also, I would appreciate it if you could share with me your usage and feelings about this tool.
Hao-En LIN
johntfn@gmail.com
Cita come
HAO-EN LIN (2026). Least-squares adjustment of Points to Cylindrical Surfaces (https://it.mathworks.com/matlabcentral/fileexchange/116905-least-squares-adjustment-of-points-to-cylindrical-surfaces), MATLAB Central File Exchange. Recuperato .
Informazioni generali
- Versione 1.0.5 (5,11 MB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
| Versione | Pubblicato | Note della release | Action |
|---|---|---|---|
| 1.0.5 | Experimental data upload |
|
|
| 1.0.4 | Description update |
|
|
| 1.0.3 | Description update |
|
|
| 1.0.2 | Description update |
|
|
| 1.0.1 | Description update |
|
|
| 1.0.0 |
|
