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.

Topics - yowich

Pages: [1] 2
I'm getting this error message on startup of Metashape 2.0:
Unable to enumerate family ' "Wilhelm Klingspor Gotisch LT Std" '

The font "Wilhelm Klingspor Gotisch LT Std"  has already been installed on my system but Metashape keeps giving this message.
What do I need to do?

General / how to adjust the texture of a tiled model?
« on: February 25, 2023, 04:50:13 PM »
I am creating a tiled model but I am not satisfied with the look(texture) of the final result.
What I want to do is to tweak with the contrast and sharpness of the texture of the tiled model.
Please let me know what to do to adjust the look of the image of the model.

I'm running Python script for gradual selection in Metashape 2.0.0 but my codes give this error:

     f = Metashape.PointCloud.Filter()
AttributeError: type object 'Metashape.PointCloud' has no attribute 'Filter'
Error: type object 'Metashape.PointCloud' has no attribute 'Filter'

Has Filter attribute been removed or replaced in 2.0.0?

One of my 3D models looks weird such that it looks jagged all over it when it is uploaded and viewed on Sketchfab. It looks the same way when it is imported into ZBrush. But it looks fine when viewed in Metashape. So I believe it was caused somehow by Metashape. I've used Agisoft Metashape 1.6.1 to create the model. Screenshots on Sketchfab are attached below. Why does it look like this? What to do to deal with this? Only a couple of models I've created so far look that way.


General / How to use markers to align cameras?
« on: April 07, 2020, 01:24:11 AM »
Other users have also asked about this but didn't get the answer.

I've tried to align cameras but some of the cameras won't align.
I put a dozen markers in those photos that didn't align and in photos adjacent to those.
But I don't know how to align these photos using these markers.

Please help me with this if you have some ideas!

I wanted to try to update the paths to photos in Photos pane but Metashape won't allow me to change paths for multiple photos at a time. I was able to change the path to a single photo every time I wanted to update it. That way, I will have to run "Change paths" 1045 times for 1045 photos of mine. I am running Metashape Professional 1.6.2 build 10247 (64-bit) on Windows 10. It also happened with the version 1.6.1. I saw somebody asked about this same issue which has not been answered so far. Please let me know how to deal with this matter as soon as possible. I really don't want to run this 1045-time iteration with my hand.

Python API "selectPointsByColor" does not select the same points as it does with the Menu (Tools - Dense Clouds - Select Points By Color).
For example,

dense_cloud.selectPointsByColor(color=[104,89,166], tolerance=40, channels='HSV')

does not select any point in my dense cloud, but lots of points are selected if I run Tools - Dense Cloud - Select Points by Color and enter the same values.

I have also tried to use different colors and python API "selectPointsByColors" really didn't select the points.
Is it a bug?

Python and Java API / 'Assign Class' bug when no point is selected?
« on: October 06, 2019, 11:02:54 PM »
I wanted to select points having H=250, S = 25, V = 25 in a dense cloud and assign those selected points to 'ground' class. The codes I used are as follows:

Code: [Select]
1: chunk =
2: dense_cloud = chunk.dense_cloud
3: dense_cloud.selectPointsByColor(color=[250,25,25], tolerance=22, channels='HSV')
4: dense_cloud.assignClass(2)

I found that line number 3 didn't select any point but line number 4 assigned all points in the dense cloud to ground class. Why?

If I try to replace the line number 4 with the interactive menu system (Tools - Dense Cloud - Assign Class), I can't do it because 'Assign Class' is inactive in the menu. If there was no point selected, the assign class should not run, but why does it assign all points to the target class? Is it a bug?

I know there is 'assignClassToSelection' method as well. I am not sure what this English means but I believe it will assign selected points to the target class. But I can't use this method in my python script because this method pops up a message window and stops processing if there is no point selected.

Is there a python api that lets me find how many points are selected in a dense cloud? Then I can deal with this matter by skipping the 'Assign Class' procedure when no point is selected.

Recently, after switching from Photoscan to Metashape, I have had multiple scans that failed to reconsturct.
So I tested Metashap and Photoscan with one of my datasets.

As you can see from screenshots attached below, Metashape miserably failed to reconstruct while Photoscan did it nicely for the same set of pictures.
I used the same reconstruction options for Photoscan and Metashape.
Why does Metashape fail while Photoscan does it well?
How can I address this issue?

Attached are screenshots for the results of reconstruction. P and M are Photoscan and Metashape, respectively.

Feature Requests / Job scheduling
« on: October 25, 2018, 05:58:04 AM »
My coworkers who are working near the server room are complaining of the noise that my virtual machine generates when it runs Photoscan. My VM is located in the server room. The Photoscan already has a PAUSE/RESUME function. But it is not always possible to pause and resume it because I need to work on others. If you will have job scheduling for Photoscan so that I can pause or resume it at a scheduled time, it would greatly improve the situation and the efficiency. Thanks.

I wonder if there is a way that I can split a mesh into multiple pieces and export them into multiple 3d model files. I have a mesh with more than 58 million of which OBJ sizes about 8 GB and PLY sizes about 3 GB. I have tried to import the model into Blender, MeshLab, or 3d Coat, but they failed to import it due to an insufficient memory. If I can split the model and export the pieces into the multiple 3d model files, then I can perform a retopology separately and merge them again.


I have a computer system with two Intel Xeon E5-2620 v4 CPUs @2.10 GHz, 114 GB RAM, and Tesla P4.
The system performance is good.
But as it comes to selecting and working on the points in a sparse cloud, it seems to work like my old laptop from the 20th century.
I have a sparse cloud with 600K points.
Every time I select some points and try to delete them, the system gets stuck and I have to wait for more than five to thirty minutes before I can click on something. It simply freezes. I want to delete some points by manually selecting them and by gradual selection, but it takes about 5 to 6 hours to complete it.
Is it because I have too many points in a sparse cloud?


General / Agisoft PhotoScan 1.4.1 - CPU and GPU Preferences
« on: July 28, 2018, 09:59:49 PM »
I found an interesting article by William George about whether to use CPU when performing GPU accelerated processing.

He is concluding as follows:
"So what does all this mean? Assuming you are using a higher-end CPU and video card combination, it looks like turning the "Use CPU when performing GPU accelerated processing" OFF (by un-checking it) is most likely to perform the best. With a lower-end video card, probably just leave it enabled. If you have a chance, though, it would be ideal to test your own hardware setup and image sets to see which way gives you the best performance. Either way, it is a good lesson not to assume that default settings are the best."

General / How can I select by color only in a region?
« on: July 28, 2018, 12:08:21 AM »
Sometimes I need to select by color only in a specific region. How can I do this? Thanks!

General / Does increasing the exposure value of the dark images help?
« on: July 17, 2018, 01:07:41 AM »
I have two questions. The first question is about whether Photoscan adjusts or stretches the histogram of the images for the reconstruction. If it does not, does reasonably increasing the exposure value of the low-light images help reconstruct a better 3D model? Does applying curves to the image histogram by increasing the shadow brightness and decreasing the highlight brightness, thereby creating an HDR image help reconstruct a better 3D model?
Second, building HDR images using auto-exposure bracketing shots and thereby increasing the dynamic range help reconstruct a better 3D model?

Thank you!

Pages: [1] 2