Forum

Author Topic: Set model orientation from markers?  (Read 15657 times)

maddin

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Set model orientation from markers?
« on: November 22, 2013, 11:42:54 PM »
Is there a way to define the model orientation using some manually placed markers?

For example, in images of a room interior, I can easily find two markers that define the "up" direction, and also three markers that define the horizontal plane.  Or even a large number of "floor" points.

But how can I integrate that into PhotoScan?

Thanks
Martin

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15420
    • View Profile
Re: Set model orientation from markers?
« Reply #1 on: November 22, 2013, 11:55:01 PM »
Hello Martin,

Just place three markers on the horizontal (or vertical) surface in the three corners of the rectangle and assign simple coordinates in the Ground Control pane, like (1,0,0), (0,1,0) and (0,0,0). Then press Update button and the coordinate system will be recalculated accordingly.
Best regards,
Alexey Pasumansky,
Agisoft LLC

maddin

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Set model orientation from markers?
« Reply #2 on: November 22, 2013, 11:59:39 PM »
Just place three markers on the horizontal (or vertical) surface in the three corners of the rectangle and assign simple coordinates in the Ground Control pane, like (1,0,0), (0,1,0) and (0,0,0). Then press Update button and the coordinate system will be recalculated accordingly.

Thanks, sounds easy enough. But won't that mess up the scale of my scene?

The problem I am referring to is that I have different types of measurements ('horizontal', 'vertical', 'at a distance of X') for different parts/markers.

Martin

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15420
    • View Profile
Re: Set model orientation from markers?
« Reply #3 on: November 23, 2013, 12:01:39 AM »
Hello Martin,

If you already have some scale-bars applied to the chunk, then you can place markers (without enering their cooridinates), measure the distance between them and change coordinates like (x,0,0), (0,y,0) and (0,0,0).
Does it make sense?
Best regards,
Alexey Pasumansky,
Agisoft LLC

maddin

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Set model orientation from markers?
« Reply #4 on: November 23, 2013, 12:04:18 AM »
If you already have some scale-bars applied to the chunk, then you can place markers (without enering their cooridinates), measure the distance between them and change coordinates like (x,0,0), (0,y,0) and (0,0,0).
Does it make sense?

Yes, it does, thank you. Although I have to say that this quite a bit of fiddling just to set up the orientation and scale of the model.

Martin

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15420
    • View Profile
Re: Set model orientation from markers?
« Reply #5 on: November 23, 2013, 12:07:16 AM »
Well, in the version 1.0.0 you can set up the model orientation using "Rotate Object" tool, however, it will not be very accurate.
Best regards,
Alexey Pasumansky,
Agisoft LLC

maddin

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Set model orientation from markers?
« Reply #6 on: November 23, 2013, 12:10:21 AM »
Unfortunately, the Update button isn't doing a whole lot (at least in 1.0.0).

It seems I need to re-run the alignment for this to work; simply entering coordinates for two markers (0/0/0 for the first and 0/0/0.45 for the second, as that is the distance they should have and both form a vertical line that should be parallel to the world Z axis) and checking them, then pressing update produces no re-orientation of the model.

Martin

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15420
    • View Profile
Re: Set model orientation from markers?
« Reply #7 on: November 23, 2013, 12:24:59 AM »
Hello Martin,

To apply new coordinate system you need at least three markers thay do not lay in a single line.

Best regards,
Alexey Pasumansky,
Agisoft LLC

maddin

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Set model orientation from markers?
« Reply #8 on: November 23, 2013, 12:34:08 AM »
To apply new coordinate system you need at least three markers thay do not lay in a single line.

Oh, I see, thanks. Even more fiddling.  :-\
I was hoping I could set the z-Up axis that way; now I need to invent another marker nearby...

Thank you nevertheless for the support, this forum really is very helpful!

Martin