MeshInspector / MeshLib

Mesh processing library
https://meshlib.io
Other
521 stars 59 forks source link

Coordinates change after loading voxels form tiff #3608

Open Gooda11 opened 1 week ago

Gooda11 commented 1 week ago

Hello, I was uploading my tiff files using 'settings.voxelSize = mr.Vector3f( )' and 'volume = mr.loadTiffDir(settings)'. Then, I got a 3D volume. But the coordinates have changed. How can I avoid this, i.e., I want to keep the (x,y) coordinates from my tiff file in the created volume. Thanks a lot

Grantim commented 1 week ago

Hello!

settings.voxelSize = mr.Vector3f( ) means mr.Vector3f( 0, 0, 0 ) which is not valid values in this case. You need to specify positive voxel size

Gooda11 commented 1 week ago

Hello, I have specified the number(I didn’t show here). And I can get the results I want . It is just the (x,y) has changed 在 2024年11月5日,10:39,Grant Karapetyan @.***> 写道: Hello! settings.voxelSize = mr.Vector3f( ) means mr.Vector3f( 0, 0, 0 ) which is not valid values in this case. You need to specify positive voxel size

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Grantim commented 1 week ago

Could you please attach an example how to reproduce the issue?

Gooda11 commented 1 week ago

Hello, I have sent the example to '"MeshInspector Support" support@meshinspector.com'. Thanks a lot!