Forum

Author Topic: Alignment Components inaccessible to Automation  (Read 4226 times)

tkwasnitschka

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Alignment Components inaccessible to Automation
« on: November 24, 2023, 05:03:10 PM »
I constantly encounter data sets that, after alignment without georeferencing, produce up to 50 alignment components. This makes sense, the images are a sequence of a single track with some interruptions.

BUT:
- There is no way to view alignment components side by side to set corresponding points efficiently
- I see no reference or possibility to acces an alignment component through python or any batch function
- There is no way to separate alignment components into image groups or better into chunks, making them accessible to established workflows
- There is no way to merge these components to get rid of them - they do not overlap!
- you may want to clarify the terminology here: Alignment components, not mesh components.

My only option is to duplicate each chunk and incrementally erase all but one components as many times as you have components - manually!!

PLEASE! Clarify and/or suggest a workaround!
The one thing I notice is that including camera poses helps to create less components, but in how far?

Many thanks
Tom
« Last Edit: November 24, 2023, 05:11:16 PM by tkwasnitschka »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15219
    • View Profile
Re: Alignment Components inaccessible to Automation
« Reply #1 on: November 24, 2023, 05:46:53 PM »
Hello Tom,

In the latest version of 2.1.0 pre-release the access to the components is added via chunk.components, where chunk.component call returns the active components.

See example of how they can be switched:
Code: [Select]
chunk.components
Out[9]: 2023-11-24 17:45:42 [<Component 'Component 1'>, <Component 'Component 2'>]


chunk.component
Out[7]: 2023-11-24 17:45:25 <Component 'Component 1'>

chunk.tie_points
Out[8]: 2023-11-24 17:45:34 <TiePoints '157465 points'>


chunk.component = chunk.components[1] #second element in the list

chunk.tie_points
Out[11]: 2023-11-24 17:45:54 <TiePoints '138891 points'>
Best regards,
Alexey Pasumansky,
Agisoft LLC

tkwasnitschka

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Alignment Components inaccessible to Automation
« Reply #2 on: November 24, 2023, 06:45:23 PM »
Thank you Alexey, this saves my day!
But how do I delete all but the one component I would like to retain, which is important to separate the components into chunks?

best greetings
Tom
« Last Edit: November 24, 2023, 06:48:27 PM by tkwasnitschka »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15219
    • View Profile
Re: Alignment Components inaccessible to Automation
« Reply #3 on: November 27, 2023, 06:29:33 PM »
Hello Tom,

Do you need to remove all the cameras from the chunk related to different components or to reset alignment for them, but keep in the chunk?
Best regards,
Alexey Pasumansky,
Agisoft LLC

tkwasnitschka

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Alignment Components inaccessible to Automation
« Reply #4 on: November 28, 2023, 02:27:03 PM »
Hello Alexey,
my idea is to separate the components into chunks (or even project files) in order to better work with them
1. Duplicate the chunk as many times as there are components
2. Incrementally delete all components but one, and the images not contained in that one component, e.g. for the second component of such a sequence of five components, delete components 0,2,3,4.

May I suggest that it would be really helpful to see components side by side?

Would you be able to confirm/elaborate on the observation that referenced images align into a single component even if not connected?
Is this a way to force creation of a single component, e.g. give all the images the same fake coordinate?

Cheers
Tom