Forum

Author Topic: New mesh reconstructing method and strict masking  (Read 11561 times)

Dmitry Semyonov

  • Agisoft Technical Support
  • Full Member
  • *****
  • Posts: 200
    • View Profile
New mesh reconstructing method and strict masking
« on: November 29, 2017, 02:30:26 PM »
New reconstruction method with strict volumetric masking support was released in PhotoScan 1.4.0 pre-release.

You can read tutorial and tool description and take a look at examples in blog post.
 
More examples available here - Photoscan 1.4.0 - New Feature Comparisons.

Please let us know if you have any problems using this tool.
With best regards,
Dmitry Semyonov
Agisoft

JRM

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
Re: New mesh reconstructing method and strict masking
« Reply #1 on: December 01, 2017, 05:32:49 PM »
Dmitry > is this method generating the depth map on its own to use them or is it still necessary to build a whole dense cloud to produce them ? Do you have any formula to estimate the memory needed ?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: New mesh reconstructing method and strict masking
« Reply #2 on: December 01, 2017, 05:34:43 PM »
Hello JRM,

New mesh reconstruction method is building depth maps itself, so it is not necessary to generate the dense cloud.

Note that currently this new method is utilizing Mild filtering for the depth maps generation, it means that you can only re-use depth maps, if they have been generated using Mild option (and are kept in the project, of course).
Best regards,
Alexey Pasumansky,
Agisoft LLC

Paulo

  • Hero Member
  • *****
  • Posts: 1303
    • View Profile
Re: New mesh reconstructing method and strict masking
« Reply #3 on: December 01, 2017, 08:02:18 PM »
Hello,

very promising new feature!

However, the volumetric strict masking does dot work using API command buildModel as seen from console extract:

chunk.buildModel(surface=PhotoScan.Arbitrary, interpolation=PhotoScan.EnabledInterpolation,  source=PhotoScan.DepthMapsData,  quality=PhotoScan.HighQuality, volumetric_masks=True, vertex_colors = False)
2017-12-01 10:02:45 BuildModel: surface type = Arbitrary, source data = Depth maps, quality = High, depth filtering = Mild, volumetric masking = 0

It would also be interesting to assure depth maps are kept in document after this command as it would be needed for example to refine the masked images manually and then rerun buildModel in auto process without need to re generate depth maps and thus save time.

Thanks for your great work!
Best Regards,
Paul Pelletier,
Surveyor

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: New mesh reconstructing method and strict masking
« Reply #4 on: December 04, 2017, 06:56:16 PM »
Hello Paul,

If "Keep depth maps" option is turned on in the Advanced Preferences of PhotoScan, the depth maps will be stored in the project when new mesh generation method is used (already in build 5432).

volumetric_masks API parameter will be fixed in the next update.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Paulo

  • Hero Member
  • *****
  • Posts: 1303
    • View Profile
Re: New mesh reconstructing method and strict masking
« Reply #5 on: December 04, 2017, 07:09:43 PM »
Hello Alexey,

yes I have found that when new mesh method is used in GUI, the depth maps are saved (with  option activated in Advanced Preferences). However, when using new mesh creation in API then the depth maps are not saved in project....

Waiting for next update, then...
Best Regards,
Paul Pelletier,
Surveyor

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: New mesh reconstructing method and strict masking
« Reply #6 on: December 04, 2017, 10:12:43 PM »
Hello Paul,

Ok, understood, we'll also add keep depth maps argument for new mesh generation method call from API.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Paulo

  • Hero Member
  • *****
  • Posts: 1303
    • View Profile
Re: New mesh reconstructing method and strict masking
« Reply #7 on: December 04, 2017, 11:56:24 PM »
Very good,

 Spasiba Alexey

I just checked the latest 1.4 release and the strict volumetric mesking is working when using API method

chunk.buildModel(surface=PhotoScan.Arbitrary, interpolation=PhotoScan.EnabledInterpolation,  source=PhotoScan.DepthMapsData, quality=PhotoScan.HighQuality, volumetric_masks=True, vertex_colors = False)

However the depth maps are not kept with this API command while the maps are kept when using GUI Create mesh....

I just saw the parameter keep_depth in new bUild Model and it works fine!
« Last Edit: December 21, 2017, 06:18:10 AM by pap1956@gmail.com »
Best Regards,
Paul Pelletier,
Surveyor

obw

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: New mesh reconstructing method and strict masking
« Reply #8 on: December 08, 2017, 12:20:41 PM »
Hi there.

Which workflow do you suggest if let's say I want to create a thin model with this workflow, but still have markers and scale bars? I have a propeller blade I want to create a scaled model of.

EDIT: Think I got it, doesn't really change anything. Added markers and scale after model was finished and did another alignment and update, and it seems like it's working.
« Last Edit: December 08, 2017, 02:45:34 PM by obw »

ruyi7952

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • My Blog
Re: New mesh reconstructing method and strict masking
« Reply #9 on: January 04, 2018, 06:17:37 PM »
For the new model, I made a simple comparison.

The PhotoScan model is more elaborate, but lost its base and has 3 holes.
Real Scene Model Professional Contractor

Collect、Process、Publish

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: New mesh reconstructing method and strict masking
« Reply #10 on: January 04, 2018, 07:01:59 PM »
Hello ruyi7952,

Have you generated tiled model using new meshing method or have built it from mesh?
Best regards,
Alexey Pasumansky,
Agisoft LLC

ruyi7952

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • My Blog
Re: New mesh reconstructing method and strict masking
« Reply #11 on: January 05, 2018, 04:18:14 PM »
Hello Alexey

I have used new meshing method
Real Scene Model Professional Contractor

Collect、Process、Publish

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: New mesh reconstructing method and strict masking
« Reply #12 on: January 05, 2018, 08:28:50 PM »
Hello ruyi7952,

Which quality settings have you used? And have you removed the masks from the project? The default masks cover the stand, so it wouldn't be reconstructed neither in dense cloud, not in mesh.
Best regards,
Alexey Pasumansky,
Agisoft LLC

ruyi7952

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • My Blog
Re: New mesh reconstructing method and strict masking
« Reply #13 on: January 06, 2018, 05:00:34 AM »
Hello Alexey

I created a new project, using the default parameters.
Real Scene Model Professional Contractor

Collect、Process、Publish