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 - KBL

Pages: [1] 2 3
1
General / Estimated Preselection
« on: August 18, 2022, 10:43:41 PM »
Hi, I have a large project that I have roughly aligned, but I'd like to improve that alignment. I believe the "Estimated" option would be helpful, as it takes into account a previous alignment. When using the estimated alignment option, if I don't reset camera alignment, nothing changes. If I do reset camera alignment, is the previous alignment automatically saved somewhere, or do I need to take extra steps?

Thanks in advance.

2
Hi, I'm having an issue with Metashape where JPGs created from RAW images in Lightroom import into Metashape with an overwhelming amount of noise. JPGs created in-camera are not subject to this problem. Is there a fix, maybe some method of exporting from Lightroom that might resolve the issue? Sample images attached.

The JPGs created from RAWs are not noisy when viewed anywhere *except* from within Metashape.

https://imgur.com/a/NyOsuPs

3
General / New Low Hash Rate (LHR) GeForce Cards
« on: June 30, 2021, 06:19:45 AM »
NVidia has recently announced low hash rate (LHR) versions of their GeForce cards. Per NVidia, these are intended to be crippled for crypto mining, but operate at 100% for gaming. However, it appears a number of variables effect hash rate. Does anyone know if a LHR card would be effective for Metashape?

4
Python and Java API / Run Metashape from command line *with* GUI
« on: June 25, 2021, 03:38:43 AM »
Hello, I'm looking to run Metashape from the command line, however I would like the GUI to be displayed. I believe running in headless mode used to require the parameter "-platform offscreen", but hiding the GUI appears to be the default now. Can you run a script from the command line that will have an effect on an active Metashape GUI window?

5
General / Re: Meshing Very Thin Objects
« on: February 13, 2021, 09:56:11 AM »
I've since tried BuildModel/tvl1_mesh, but it was painfully slow and potentially stuck: I waited on 43% complete for 24 hours with no movement. I was worried it was an issue with this dataset in particular, but I've been able to reproduce this issue on other datasets with very thin objects -- they collapse on themselves, despite good texture and lighting on the subjects.

The only thing I've been able to do so far is to mesh again using higher settings. This reduces but does not eliminate the issue. Any further advice would be most welcome. I'm happy to share additional datasets Alexey, if it would be helpful.

6
General / Re: Meshing Very Thin Objects
« on: February 05, 2021, 04:46:48 AM »
@Alexey -- I've shared a image set of the problematic area to support@agisoft.com. The area does align fairly well. The full image set is impractically large to share. It's uploading now, but will likely be ready before morning your time.

@Dano -- I haven't heard of that tweak before. I tried to apply it in 1.7.1, but it wasn't recognized. Is this something you're using on the latest version, or old versions only?

7
General / Meshing Very Thin Objects
« on: February 04, 2021, 12:30:02 PM »
Hello. I've been running into trouble creating an accurate mesh of an airplane as portions of the subject are extremely thin sheet metal. It appears that when the outside and the inside are sufficiently close, a hole is rendered where there should be some small thickness. I've tried a few methods to minimize this issue:

- Generated the mesh based on depth maps as well as the dense cloud (depth maps is more successful)
- Ran the model in 1.71 in addition to several versions of 1.6
- Varied quality and face count settings
- Captured new higher quality data of the problematic area
    - Reprocessed the problematic area with only the new data
    - Reprocessed the problematic area with a combination of new and old data
Reduced the region to enclose only the problematic area and reprocessed using a variety of settings and versions

The best results have been generated on 1.61 or so. Attached are images of the area I'm having trouble with. Any suggestions?

8
Python and Java API / Re: Adding Depth Maps Without Reprocssing
« on: December 10, 2020, 10:58:22 PM »
Much appreciated Paulo, unfortunately regenerating all the depth maps is what I'm trying to avoid. In fact, I believe you can entirely ignore the cameras parameter if you don't mind regenerating depth maps for all images. Hopefully Agisoft can lend their advice too!

9
Python and Java API / Adding Depth Maps Without Reprocssing
« on: December 10, 2020, 11:04:16 AM »
I'm trying to process depth maps for a subset of the images in my project. The following code identifies the positions of each image without a depth map successfully. However, when I run buildDepthMaps, processing finishes instantly ("Finished processing in 0 sec (exit code 1)") when reuse depth maps is set to false, or alternatively reprocesses from scratch when reuse depth maps is set to true.

Is there a way to reprocess depth maps for only those photos that do not have depth maps, or am I setting a value incorrectly in my script?

Code: [Select]
import Metashape

chunk = Metashape.app.document.chunk

# Get a list of the integer positions of each camera without a depth map

# Get all photo paths
allPhotos = []
for camera in chunk.cameras:
    allPhotos.append(camera.photo.path)

# Get photo paths without depth maps
photosWithDepthMaps = []
for key in chunk.depth_maps.keys():
    photosWithDepthMaps.append(key.photo.path)
 
# Get the integer positions of all photos
# not in the list of photo depth maps
photosWithoutDepthMaps = []
i = -1
for photo in allPhotos:
    i += 1
    if photo in photosWithDepthMaps: continue
    photosWithoutDepthMaps.append(i)

# Process those photos
chunk.buildDepthMaps(
    downscale = 2,
    filter_mode = Metashape.FilterMode.MildFiltering,
    cameras = photosWithoutDepthMaps,
    reuse_depth = False)

10
Python and Java API / Re: Select Faces by Confidence
« on: December 07, 2020, 05:45:28 AM »
Thanks very much for your help, on point as usual!

11
Python and Java API / Select Faces by Confidence
« on: November 25, 2020, 08:22:53 AM »
Hello, is there a method to select faces by confidence? I feel like it should be possible, as you can color faces by confidence, but I haven't found a property on faces in Metashape to allow it.

12
Python and Java API / Java API - Getting Started
« on: November 23, 2020, 12:44:54 AM »
Hello, I've downloaded the Java API, but I'm having trouble getting even the sample script to run. Running it via "Run Script" generates a syntax error on "class" in "public class align_photos", so I'm assuming that the Java API is not used in the same way. I've tried running it directly from my IDE, but that does not work either.

The sample documentation is limited. Can anyone help me get the sample "align_photos" script running? From there I can make changes as needed, as the API documentation is quite helpful, once I have it running.

13
Python and Java API / Select mesh faces near tie points
« on: November 22, 2020, 09:33:28 AM »
Hello, I'm working on automatic cleanup of some of my models. Is it possible to select mesh faces that are within a certain distance of a tie point?

14
General / Re: Selection Mode
« on: September 28, 2020, 02:09:34 AM »
That's definitely a great workaround, thanks for the tip! Fingers still crossed it's possible without a workaround though :)

15
General / Selection Mode
« on: September 27, 2020, 11:09:05 PM »
Is anyone aware of a way to make it so that a selection does not "shoot through" the model? An example of this is Blender's "Limit selection to visible" mode.

Pages: [1] 2 3