Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - forumname

Pages: 1 2 [3]
31
General / Re: manually increasing tie points
« on: February 17, 2022, 02:49:24 AM »
I wasn't thinking of tie points as markers, but you're right, that is one option that is straightforward to implement.

32
General / manually increasing tie points
« on: February 16, 2022, 07:10:44 PM »
I am working with a challenging situation with nearly featureless objects and low lighting. Metashape therefore has a great deal of difficulty finding tie points and so depth map generation fails. Is there a way to decrease the threshold for tie point generation to get more initial candidates? Alternatively, can Metashape accept tie points added manually, e.g., using SIFT or some other feature tracker? Thank you for any insight.

33
General / Select face by texture color
« on: August 31, 2021, 04:42:22 AM »
Can faces be selected by color the way points can be? Specifically, after calculating a texture map I would like to remove all faces corresponding to a given color.

34
Feature Requests / identify markers/targets within 4D capture
« on: July 14, 2021, 03:33:02 PM »
Currently, it is very hard to identify the same marker or target across frames of a 4D capture. This is because the markers are not uniquely identified. For example, if I have 500 sequential frames with fiducial markers, 'target 2' will be identified 50 times. If I need to manually place the marker, it is pretty much impossible to tell which of the 50 I should place. If I select the wrong one, I end up with e.g. two 'target 2' on the frame.

The correct behaviour would be to list only the discovered markers (i.e. target 1, target 2, target 3, ...) and to correctly find the marker based on the current frame.

In the attached picture, the problem and the multiple target 2s are shown.

Actually, it's a bit worse because if the point isn't found, then no target/market entry is created for that camera. So it doesn't seem to be possible to add a marker at all.

35
Python and Java API / Re: exportPoints() deletes cloud
« on: June 11, 2021, 02:21:52 AM »
Solved, thank you.

36
Python and Java API / Re: exportPoints() deletes cloud
« on: June 10, 2021, 06:33:28 PM »
Version 1.7.2 build 12070 (64 bit) on Linux Ubuntu.

Exporting through GUI is fine.

The above problem was encountered running through Spyder IDE. Running the script from Metashape also deletes the point cloud.


import Metashape as Ms

doc = Ms.Document()

doc.open('./F2.psx')

chunk = doc.chunk


for frame in chunk.frames:
    frame.matchPhotos(downscale=1)

chunk.alignCameras( adaptive_fitting=True )


for frame in chunk.frames:
    frame.buildDepthMaps( downscale = 8, max_neighbors = 5 )

region = chunk.region
region.size = 1.5 * region.size
chunk.region = region


for frame in chunk.frames:
    frame.buildDenseCloud( keep_depth = True,
                          point_confidence = True,
                          max_neighbors = 5 )

    frame.exportPoints('f0.xyz', binary=True, format=Ms.PointsFormatXYZ)


37
Python and Java API / exportPoints() deletes cloud
« on: June 10, 2021, 05:00:54 AM »
I have a cloud that I would like to export:

frame.dense_cloud
<DenseCloud '3354 points'>


When I call exportPoints(), it outputs an empty file and then deletes the points from frame.

frame.exportPoints('f0.xyz', binary=False, format=Ms.PointsFormatXYZ)
ExportPoints: binary = off, format = PointsFormatXYZ, path = f0.xyz
point cloud size: 0 points


When I check the dense cloud again, the points are now deleted.

frame.dense_cloud
<DenseCloud '0 points'>


How do I export a cloud?



Pages: 1 2 [3]