Forum

Author Topic: Alignment of region  (Read 13981 times)

RalfH

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
Alignment of region
« on: January 04, 2013, 03:37:30 PM »
After photo alignment, PhotoScan creates a region around the object. This region also determines the plane of projection when creating an orthophoto texture. At the moment (version 0.9), there are only two ways of manipulating this region: resize and rotate. I think it would be very helpful if the possibilities for aligning this region could be improved, for example by using a small number of tie points (e.g., place 3 points onto the model surface to specify the plane of orthophoto projection).

[Background: I am using PhotoScan to create 3D models of pits excavated into a sloping surface; they commonly have three sides at approximately right angles. I now want to create separate othophoto textures for the three sides to use them as a basis for stratigraphic sketches.]

I think this would also be appreciated by people modelling buildings and other objects.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15067
    • View Profile
Re: Alignment of region
« Reply #1 on: January 04, 2013, 03:42:17 PM »
Hello RalfH,

Actually it is possible to export orthophoto in any projection defined by three markers (or two vectors).
In the export orthophoto dialog you need to select Planar projection type, Markers projection plane (assuming that you have already placed markers defining the projection plane) and then select corresponding markers that defines the orientation of X or Y axis.
Best regards,
Alexey Pasumansky,
Agisoft LLC

RalfH

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
Re: Alignment of region
« Reply #2 on: January 04, 2013, 03:53:48 PM »
Hello Alexey,

unfortunately, I only have the standard version (not PRO), so for me the only way to align the orthophoto projection plane seems to be through modifying the region. Or is there another way?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15067
    • View Profile
Re: Alignment of region
« Reply #3 on: January 04, 2013, 04:25:50 PM »
Hello RalfH,

In Standard edition (if you are generating texture in orthophoto mode) the only option is to rotate region so that red-colored side is parallel to the projection plane.
Best regards,
Alexey Pasumansky,
Agisoft LLC

RalfH

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
Re: Alignment of region
« Reply #4 on: January 06, 2013, 04:01:54 PM »
Hello Alexey,

this is regrettable, especially as PhotoScan applies the changes in region orientation to orthophoto texture only after the model is built again (which is time-consuming).

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15067
    • View Profile
Re: Alignment of region
« Reply #5 on: January 09, 2013, 02:18:01 PM »
Hello RalfH,

I think, if you cut all the faces except the area of interest (each one of three sides) and create the texture in orthophoto mode. Let me know if it helps.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15067
    • View Profile
Re: Alignment of region
« Reply #6 on: January 09, 2013, 02:29:53 PM »
And another timesaver option is to reconstruct the geometry in the smaller bounding box (with area of interest inside) without rebuilding depth maps.
Best regards,
Alexey Pasumansky,
Agisoft LLC

RalfH

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
Re: Alignment of region
« Reply #7 on: January 09, 2013, 05:52:29 PM »
Hello Alexey,

thanks. I will try to see how this works.

Also, as I am partially colourblind, it's very tricky to see the pale red of the projection plane. Is there a way to change the colour settings of PhotoScan?

xabierr

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Re: Alignment of region
« Reply #8 on: December 11, 2014, 01:43:59 AM »
Hi Alexey,

Is there any way of aligning the region when exporting points the same way you can when exporting the orthophoto (i.e. using 3 markers)? How can we "shift" the pointcloud to align to markers?

cheers,

Javier

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15067
    • View Profile
Re: Alignment of region
« Reply #9 on: December 11, 2014, 10:59:37 AM »
Hello Javier,

Orientation of the bounding box doesn't affect the points cloud (sparse and dense) as long as it includes complete reconstruction area and all the points you wish to export.

Bounding box orientation does matter only in case of mesh generation in Height Field mode, when red-colored side of the box should be parallel to the XY plane.

But probably you are speaking of model orientation in space? Then you do it manually using Rotate Object tool, or create a custom Python script.
Best regards,
Alexey Pasumansky,
Agisoft LLC

xabierr

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Re: Alignment of region
« Reply #10 on: December 11, 2014, 11:18:10 AM »
What Im looking for is being able to export both the orthophoto and DEM (or cloud point) using only markers and no GCPs. thanks for the help