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 - oxiabit

Pages: [1] 2
1
General / Re: I need to export Photos
« on: October 07, 2015, 04:05:37 PM »
Here is a short script I wrote using examples from a couple of sources

This will copy all the photos used in the current chunk into a folder you choose.  Run the script and a menu item will appear under "Custom Menu"


import os
import shutil
import PhotoScan


def main():
 
  dest_path = PhotoScan.app.getExistingDirectory("Export assets to folder:")
  doc = PhotoScan.app.document
  chunk = doc.chunk
  print ("Exporting cameras ...")
  for camera in chunk.cameras:
    print (camera.photo.path)
    shutil.copy2(camera.photo.path, dest_path)
   
  print("Script finished. Assets exported to " + dest_path + "\n")

PhotoScan.app.addMenuItem("Custom menu/Export Assets", main)



 :o :o :o

Thank you very very very much. You saved me from long time spendings. Brilliant!!! 

How can we learn codes of scripting? I know basics of programming. I can exactly understand when read your script codes.

But I dont know what is method names or which variables Photoscan Has, is there any API document for that?

Thank you again!! thank you....

:D :D :D

2
General / I need to export Photos
« on: September 27, 2015, 01:50:30 AM »
Hello,

I want to export photos which are at my chunk.

For example, I add photos from different directories into my chunk. after aligning photo and deleting some of them, at the final, I want to export photos which are left at my chunk, into any folder that I will point at my Harddrive.

There is an option named "Export Undistorted Photos". But I need original photos not undistorted photos.

It is hard to look photo names from reference panel and collect them manually from their own folders. So I want to make copy from their originals. But as I said I dont want Undistorted editions.

If Photoscan does not have any function like this ( because I coulndt find ), can anyone help me to create a script for that?

3
Bug Reports / Re: E57 - "Can't export Point Cloud" error
« on: February 17, 2015, 07:18:02 PM »
hello again,

I ve changed my output folder, and it solved now. Maybe it is about using non english letter.

I still want to share the error with you for someother ones.

here is the error

Quote
**** Got an e57 exception: open() failed (E57_ERROR_OPEN_FAILED)
  Debug info:
    context: err=2 fileName=M:/Process/Ă–strich/MediumPoints.e57 flags=33538 mode=384
    sourceFunctionName: e57::CheckedFile::open64
D:\Computer Vision\Project\build\win64\sources\libs\libe57\src\refimpl\E57FoundationImpl.cpp(3665) : error C17:  <--- occurred on

after that I changed my output folder, to the root folder of Drive M, and it is now working.

4
Bug Reports / E57 - "Can't export Point Cloud" error
« on: February 17, 2015, 06:58:57 PM »
Hi,

I want to export E57 point cloud. but it gives me error.

I have tried sparse and dense clouds, I ve also tried Local cordinates, I ve tried to disable point colors, but with all ways it gives same error.

What might be the problem?

5
General / Facade Orthophoto is Possible?
« on: February 11, 2015, 05:01:03 PM »
Hello,

As everybody here knows, We can create orthophoto from vertical images in Mapping Applications.

But For a different needs, we want to create orthophoto of facade sidesof a building or a stone Wall forexample.

I took photo of My target from ground. I mean Facade images. But I dont know how to export well optimized orthophoto. 

for a temporary solution, I removed references and GCP from my Project and I Aligned generic selectin instead of reference at my model. And I rotated my object manually. and set the facade to vertical angle against Top view ( numlock 7 button view). And I created dense and arbitary mesh and TIFF. But As you may guess this is not well refrenced model. I cannot use my GCPs with this way. So model is not perfect built. If I use GCP, I cannot set my wall of building to vertical angle according to top view.

How I can Create an orthophoto of facade sides of my buildings?

Thank you.

6
General / Re: Export Points from Dense Cloud. Not Sparse Cloud
« on: December 31, 2013, 03:41:05 PM »
I am sorry my mistake.

When I click "export points", I only saw file name textbox. Because of that I assumed there is no any settings. After that dialog, It brings Point type. There is point type setting.

Thank you.

7
General / Re: Export Points from Dense Cloud. Not Sparse Cloud
« on: December 31, 2013, 03:35:42 PM »
I guess I didnt be able to ask my question enough clear.

As every Body know that when we align photos, We get a point Cloud.after that We build dense cloud. Dense Cloud is better and well fit than first Point Cloud. But I see, when I want to export points from file menu, It creates from first "point cloud". But I want to get "Dense Cloud" to export. Is it possible?

8
General / Export Points from Dense Cloud. Not Sparse Cloud
« on: December 31, 2013, 01:49:17 AM »
is it possible to get point cloud from Dense Cloud?

I Found a topic from forum, that explains select source when exporting. but in last version, I couldnt find it.

9
General / Do I have to re-align after adding GCPs?
« on: December 25, 2013, 09:57:45 PM »
Hello

I am working on ortophoto.

First I aligned my images. After that I added my GCPs.

So what is next know?

Do I have to re-align after adding GCPs? or just continue dense cloud step?

10
General / Re: Why Quadro s are not good for Agisoft
« on: December 11, 2013, 07:42:53 PM »
I am very Glad wishgranter.

This informations are perfect for me. Because We are really looking for best solution to be able to produce orthophotos by using our UAV. Sometimes we are gonna scan over 300 hectar area.

By the way wishgranter;

Correct me If I am wrong, I know that dese cloud process is the step which GPU is most responsible. Right?

other steps, (allgin photos, mesh and buid texture) are responsible by CPU. Right?

that means, Alligne photos performance is not about GPU.

These are what I understood from this forum.

Correct me If I am wrong.

11
General / Re: Why Quadro s are not good for Agisoft
« on: December 11, 2013, 07:12:48 PM »
yes it is possible to enable BOTH cards.......  8)

but for best AGI performance, use AMD card say 7970 or 290X.
the Titan has only one pros, 6 GB RAM, but that is used only for viewing, not calculations inside AGI. Even better is it with 780Ti card. its faster and has lower price as Titan.......

Thank you.

So, You mean it is also possible to work nvida quadro and AMD graphic card together. right?

12
Hi andyroo

I am also interested about photogrammetry. We are trying to produce orthophotos.

In a few days, we are about to buy new workstation.

I looked at your system. Your memory is 192Gb. how much size you are able to produce with this memory.

We are planing to work on up to 300 hectar area with uav. But ofcourse not single flight. multiple flights. We need to merge chunks i Think. So, What do you advise?

13
General / Re: i7 4820K or Dual Xeon E5-2630 v2 or Xeon E5-1650 v2 ?
« on: December 11, 2013, 02:31:23 PM »
Sorry I Forgot to put the link I mentioned:

Single CPUs
http://www.cpubenchmark.net/high_end_cpus.html

Dual CPUs
http://www.cpubenchmark.net/multi_cpu.html

14
General / i7 4820K or Dual Xeon E5-2630 v2 or Xeon E5-1650 v2 ?
« on: December 11, 2013, 02:12:31 PM »
Hello

As I read from this forum, ghz is more important for Photoscan.

And most users got better performance with i7 high ghz instead of lower ghz Xeon.

I understood that. But my question is, what about dual Xeon?

I am about to buy Dell T5610 Workstation which has Dual Xeon 2630 2.6 ghz six core 15mb.

At this link these CPUs are almost same. But yes, because of high Clock speed, I guess i7 will give better performance.

But what about dual CPU? even if I work with dual 2630 2.6 ghz ( total 5.2 ghz), is high ghzed i7 still faster than Xeon?

if i7 is still faster, then What do you think about Xeon E5-1650 v2 processor?
it is single CPU, and higher ghz than 2630.

I am asking this, because i have to buy a workstation, because they have high Memory capacity. And workstations does not offer i7 CPUs.

Thank you for your helps.

15
General / Re: Why Quadro s are not good for Agisoft
« on: December 11, 2013, 12:06:19 PM »
Yes thank you. I understood.

what about Using quadro and gamer cards together.

Because we are about to buy Dell workstation. And it comes with K4000. I cannot drop that. What is more I need quadro for my other softwares. My question is, is it possible to add gamer card (GTX T?tan ex.) as a second car? and is it possible to thick Device at PhotoScan preferences Menu together?

I mean like this at preferences Menu;

OpenCL devices:
[ ] Quadro K4000 ( bla bla )
[ ] GTX Titan ( bla bla )

and enable both. And disable two CPU core becaouse I Will have two GPU.

Is this scenerio avalibale?

Pages: [1] 2