Forum

Author Topic: merge chunks + masks fails  (Read 243 times)

JMR

  • Hero Member
  • *****
  • Posts: 541
    • View Profile
merge chunks + masks fails
« on: April 15, 2025, 04:03:25 PM »
Ive got 2 chunks both with masks, when I merge with "merge masks" checked, the merged chunk comes out with masks only in one set of images.

Regards
Geobit

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15366
    • View Profile
Re: merge chunks + masks fails
« Reply #1 on: April 15, 2025, 04:11:09 PM »
Hello José,

Can you check 2.2.1 version pre-release?

https://download.agisoft.com/metashape-pro_2_2_1_x64.msi
https://download.agisoft.com/metashape-pro_2_2_1.dmg
https://download.agisoft.com/metashape-pro_2_2_1_amd64.tar.gz

If you enable Merge Masks option in the Merge Chunks dialog then in the merged chunk there will be N sets of masks from N source chunks. And if you enable both Merge Masks and Merge Assets, then all the source masks would be merged to the single set of masks in the merged chunk.
Best regards,
Alexey Pasumansky,
Agisoft LLC

BetaTest

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: merge chunks + masks fails
« Reply #2 on: April 22, 2025, 10:12:10 AM »
I just attempted to install this pre-release and the Model > Gradual Selection appears to be missing?

I have confirmed that I'm in the sparse point cloud.  To clarify, it's not merely greyed-out, the option is completely gone?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15366
    • View Profile
Re: merge chunks + masks fails
« Reply #3 on: April 22, 2025, 03:06:31 PM »
Hello BetaTest,

Gradual Selection feature has been split into two and moved from Model Menu to Tools Menu -> Tie Points -> Clean Tie Points and to Tools Menu -> Model -> Clean Model section.

So Clean Tie Points and Clean Model dialogs now contain only the criteria that corresponds either to tie points or to mesh model.
Best regards,
Alexey Pasumansky,
Agisoft LLC

BetaTest

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: merge chunks + masks fails
« Reply #4 on: April 23, 2025, 12:42:03 AM »
Thank you Alexey, that's a huge help.

Have you written anything about this prior, anything that goes into more detail about the changes?

Also, will the API calls be changed as well / will I need to update my gradual selection scripts in Python?

Thanks again!

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15366
    • View Profile
Re: merge chunks + masks fails
« Reply #5 on: April 23, 2025, 02:13:07 PM »
Hello BetaTest,

The information will be available in the Change Log, when 2.2.1 will be officially released.

In 2.2.1 API chunk.cleanModel() and chunk.cleanTiePoints() methods will be available. The approach with Metashape.TiePoints.Filter() will still be available for the tie points.
Best regards,
Alexey Pasumansky,
Agisoft LLC