Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Alexey Pasumansky

Pages: 1 ... 701 702 [703] 704 705 ... 987
10531
Other Languages / Re: Железо для Photoscan
« on: May 07, 2016, 07:11:32 AM »
Добрый день,

Производительность будет зависеть как от числа ядер, так и от частоты процессора. Ставить двух-процессорную систему на основе Xeon имеет смысл, во-первых, если планируется расширять объём оперативной памяти свыше 128 Гб, а во-вторых, для увеличения производительности, но для этого нужно, чтобы частота Xeon процессоров была выше 3 ГГц, а число ядер не превышало 6-10. Иначе даже двухпроцессорная система с низкой частотой может проигрывать в скорости топовым i7 процессорам.

Что касается Quadro K620, то, согласно спецификации, она будет раза в 1.5 - 2 медленнее, чем GTX 750 Ti, которая сама по себе не особо быстрая.

10532
Python and Java API / Re: How to use PhotoScan.CameraReference
« on: May 06, 2016, 09:46:46 PM »
Hello Jonathan,

camera.reference contain only source values.

If you have set the coordinate system to local coordinates (chunk is referenced) then coordinates of the camera center can be calculated in the following way:
Code: [Select]
x, y, z = chunk.transform.matrix.mulp(cam.center)to get the estimated yaw, pitch, roll you need to use the following:
Code: [Select]
m = chunk.transform.matrix * cam.transform * PhotoScan.Matrix().diag([1,-1,-1,1])
row = []
for i in range(3):
   row.append(m.row(i))
   row[i].size = 3
   row[i].normalize()
rotation = PhotoScan.Matrix([row[0], row[1], row[2]])
yaw, pitch, roll = PhotoScan.utils.mat2ypr(rotation)
the complex procedure of rotation component extraction will be much easier in the next update, it can be achieved using rotation = m.rotation()

10533
Python and Java API / Re: How to use PhotoScan.CameraReference
« on: May 06, 2016, 08:58:18 PM »
Hello Jonathan,

To access source values for the cameras displayed in the Reference pane you need to use
Code: [Select]
cam.reference.location
cam.reference.rotation
In case any data is not available you'll be given "None".

10534
General / Re: Calculate/ export camera direction?
« on: May 06, 2016, 02:53:11 PM »
Hello Jonathan,

Also some of the model formats support camera export (like FBX, 3DS, COLLADA), so it may be a more convenient way for you, if you are going to work with this data in the model editing applications.

10535
General / Re: Calculate/ export camera direction?
« on: May 06, 2016, 02:51:26 PM »
Estimated coordinates can be exported from the Reference pane only for referenced chunk.

You can "simulate" the referencing if you type in the following command in the Console pane:
Code: [Select]
PhotoScan.app.document.chunk.transform.matrix = PhotoScan.app.document.chunk.transform.matrix

10536
Python and Java API / Re: RunScript NetworkTask how to?
« on: May 06, 2016, 02:50:00 PM »
I think we'll release the new version this month. As a workaround you can pass full path to the document among the script arguments and open the document in the working script via doc.open(), however, the path should be absolute and this workaround may fail if there are multiple processing nodes that see the script file under different absolute paths (for example, if there's a mixture of OS).

10537
General / Re: [RESOLVED] PS just sees 1 of 2 GPU's
« on: May 06, 2016, 01:04:05 PM »
Hello Patrick,

Actually, it is a known issue of Windows Remote Desktop (http://www.agisoft.com/forum/index.php?topic=1670.0). But I was confused by the fact that one GPU has been still recognized.

10538
Python and Java API / Re: RunScript NetworkTask how to?
« on: May 06, 2016, 12:58:41 PM »
Hello Srdjan,

It seems to be an issue in the version 1.2.4 build 2399 that will be fixed in the next update. Actually I was testing the script on the internal version where it has been already fixed. Sorry for the inconvenience.

10539
Python and Java API / Re: RunScript NetworkTask how to?
« on: May 05, 2016, 06:07:51 PM »
Hello Srdjan,

here's the script that starts another python script as a network task:

Code: [Select]
import PhotoScan

client = PhotoScan.NetworkClient()

task1 = PhotoScan.NetworkTask()
task1.name = 'RunScript'
task1.params['path'] = "processing/script.py" #path to the script to be executed
task1.params['args'] = "argument1 argument2" #string of the arguments with space as separator

path = "processing/project.psx"
client.connect('192.168.0.2') #server ip
batch_id = client.createBatch(path, [task1])
client.resumeBatch(batch_id)
print("Job started...")


and here's the script.py that should be executed as a network task (just a simple example):
Code: [Select]
import PhotoScan, sys

args = sys.argv
label = args[1] #the very first argument is the script path

doc = PhotoScan.app.document
chunk = doc.chunk
chunk.label = label

10540
Are you sure that Easting for the point 2 is correct and it's two km off the other points?

10541
Hello Seboon,

Can you please provide the screenshot of the source values for the reference pane?

10542
General / Re: PS just sees 1 of 2 GPU's
« on: May 05, 2016, 12:17:07 PM »
Hello Patrick,

SLI bridge shouldn't be the issue and PhotoScan should see the cards even if they are connected by SLI, but for better processing performance it might be reasonable to remove the connection cable.

10543
General / Re: Difficulties measuring using scale bars
« on: May 05, 2016, 12:15:20 PM »
Actually, after inputting the known distances for the reference scale bars and checking them on in the Reference pane it is necessary to press Update button on the pane's toolbar to apply the scale. When you open the Reference pane Settings dialog and exit it by hitting the OK button the update operation is also performed.

10544
1. В диалоговом окне настроек панели Привязки можно задать точность измерения координат для макреров и камер по отдельности. При геопривязке и оптимизации их координаты будут учитываться с соответствующими весами. Однако, если для проекта задано достаточное количество маркеров, а координаты центров фотографирования измерены с невысокой точностью, рекомендуется снять галочки со всех камер в панели Привязка, тем самым не учитывая их координаты в последующих операциях привязки и оптимизации.

2. Координаты центров фотографирования соответствуют положению камеры в момент съёмки.

3. Проекция маркера - это его двумерные координаты на исходной фотографии из набора. Для задания положения маркера в пространстве необходимо как минимум две проекции, т.е. необходимо задать положение маркера минимум на двух кадрах.

4. Обычно опознаки расставляют до аэрофотосъёмки и измеряют их координаты высокоточным топографическим оборудованием, таким образом на фотографиях опознаки уже присутствуют (обычно это пластины где-то 50х50 см с кругом в центре или перекрестьем). Если координаты камер и макреров заданы в одной системе координат, то после выравнивания можно импортировать файл  с координатами маркеров и они будут "висеть" примерно в нужной области, т.е. не должно составить труда уточнить положения маркеров на каждой фотографии вручную.

10545
Hello leobrenes2,

You are loading calibration to the isolated variable that is not connected to the original images.

If you've got only one camera calibration group, you need to load the calibration via sensor instance:

Code: [Select]
path = PhotoScan.app.getOpenFileName("Specify XML location:")
sensor = chunk.sensors[0]
calib = PhotoScan.Calibration()
calib.load(path, "xml")
sensor.user_calib = calib

Pages: 1 ... 701 702 [703] 704 705 ... 987