Forum

Recent Posts

Pages: 1 ... 4 5 [6] 7 8 ... 10
51
Python and Java API / Re: renderMask()
« Last post by vkam on September 27, 2023, 09:05:47 PM »
Hi Alex,

Thanks for your response.  Is there a way to generate confidence numbers for a camera location, that go along with the depth values for camera RGBD data?

Vkam
52
General / Re: How to import OC3 file ?
« Last post by Alexey Pasumansky on September 27, 2023, 06:48:23 PM »
Hello hkyon,

Do you mean that Metashape has crated after point cloud has been generated (project was not saved) and you see /dense_cloud.1/ (or similar) folder with OC3 file inside?
53
General / Re: Shiny cloth: Less holes with 3DF Zephyr
« Last post by Alexey Pasumansky on September 27, 2023, 06:29:54 PM »
Hello feklee,

Please see the mesh generation results in re-aligned project:
https://www.dropbox.com/scl/fi/8urldzvrsn5g45pq6k6pa/Metashape_re-aligned.psz?rlkey=amdbo3fjh9gbyb54sjmqlu2k0&dl=0

There were some incorrectly aligned cameras which affected the surface reconstruction (for example, double ground surface in your project in some areas).
54
General / Re: How to post process texture?
« Last post by feklee on September 27, 2023, 03:40:47 PM »
Finally I got around to post processing the texture: https://sketchfab.com/3d-models/2023-09-05-tree-gate-842f0d83577a4d7996b99fafa24d872c

My process:

  • Exported the model as PLY + JPG.
  • Exported the texture as TIFF (16 bits).
  • Edited the TIFF in ACR: Exposure +1.5, Contrast +50, Highlights -30
  • Exported the TIFF from ACR, replacing the above JPG. As quality I chose 9, which gave me a similar size to the original JPG.
  • Upload to Sketchfab to preview, and repeated several times.

I still wish the texture was a bit more vivid and crisp, like the one generated by 3DF Zephyr. However, postprocessing as above is cumbersome, and I am not willing to spend more time on it. I would prefer to do the above steps directly in 3D, but I didn’t find any decent tool.

For previewing the textured model, without uploading it to SketchFab, I looked into MeshLab. That’s quick, but the brightness is different than in SketchFab. Maybe that can be adjusted. Note that I disabled lighting in SketchFab and in MeshLab.
55
Bug Reports / Re: Honey, I shrunk the kids...
« Last post by Alexey Pasumansky on September 27, 2023, 03:07:21 PM »
Hello José,

Maybe the easiest solution for the current issue would be deleting the tie points in the Model view (select all tie points, then delete) and executing the following line in the Console pane:
Code: [Select]
Metashape.app.document.chunk.triangulateTiePoints()
If it still doesn't help, may be reasonable to run Tools Menu -> Tie points -> Build Tie Points procedure - in this case the exterior and interior orientation parameters would be preserved, but the images will be re-matched. This will be, of course, much longer that the previous approach.

Also worth checking that the coordinate information input for cameras and markers is correct and corresponds to the coordinate system selection in the Reference pane settings dialog.
56
General / Re: Import many orthomosaic
« Last post by lipisoft on September 27, 2023, 02:45:03 PM »
Thank you Alexey!

Working code:

Code: [Select]
import Metashape
import sys

# specify the path to the Ortho file
ortho_path1 = "I:/UT/ortho/ortho-124.tif"
ortho_path2 = "I:/UT/ortho/ortho-125.tif"
#...

# specify the path to the DEM file
dem_path1 = "I:/UT/dem/dem-124.tif"
dem_path2 = "I:/UT/dem/dem-125.tif"
#...

# open the Metashape document
doc = Metashape.app.document

# create a new chunk
chunk = doc.chunk

# import the Ortho into the chunk
chunk.importRaster(ortho_path1,raster_type=Metashape.OrthomosaicData)
chunk.orthomosaic = None
chunk.importRaster(ortho_path2,raster_type=Metashape.OrthomosaicData)
chunk.orthomosaic = None
#...

# import the DEM into the chunk
chunk.importRaster(ortho_path1,raster_type=Metashape.ElevationData)
chunk.elevation= None
chunk.importRaster(ortho_path2,raster_type=Metashape.ElevationData)
chunk.elevation= None
#...

# save the Metashape document
doc.save()
57
General / Re: Import many orthomosaic
« Last post by Alexey Pasumansky on September 27, 2023, 02:07:57 PM »
Hello lipisoft,

After importing orthomosaic you need to set is as inactive by chunk.orthomosaic = None, then import next orthomosaic.

Thus you will be able to have multiple orthomosaic assets in the same chunk.
58
Добрый день,

Данная проблема наблюдается только в Metashape или компьютеры даже не "пингуют" друг друга?

Какие операционные системы установлены на узлах и сервере? Если Windows, то нужно проверить в Windows Firewall&Security, что во вкладке Inbound Rules нет строчек, соответствующих Agisoft Metashape, со значком блокировки.
59
Python and Java API / Re: How to colorize external LAS file with 4Bands imagery
« Last post by Alexey Pasumansky on September 27, 2023, 01:24:31 PM »
Hello Julien,

Do you use Tools Menu -> Point Cloud -> Colorize Point Cloud option? If so, than what information is shown in the point cloud Show Info dialog for the Point Attributes -> Colors line?
60
Python and Java API / Re: renderMask()
« Last post by Alexey Pasumansky on September 27, 2023, 01:22:27 PM »
Hello Vkam,

This function works in a similar way as GUI operation Import Masks -> From Model:
https://agisoft.freshdesk.com/support/solutions/articles/31000163388-automatic-masking-from-the-model

Basically you can say that the existing mesh model is projected on the image and mask is applied to the empty areas (that do not contain projected mesh elements).
Pages: 1 ... 4 5 [6] 7 8 ... 10