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

Pages: 1 2 3 [4] 5
46
General / what about the wording [R] beside a chunk?
« on: May 12, 2016, 04:53:34 PM »
Hello,
it happens that it appears an [R] beside a chunk, see the attached picture (chunks 2 and 3), someone know what it means?

thanks!

47
ok, thanks, I will modify to True this parameter

how about the syntax of the buildmodel and buildtexture calls?
is it correct?

doc.chunk.buildModel

doc.chunk.buildTexture

48
General / Re: manage with photoscan 4 simultaneous cameras
« on: May 12, 2016, 12:33:03 PM »
sorry Alexey,
I put the wrong folders in attachement (simply added one photo to blu-nir and to green, you can delete the last one photo for each of them)

I tried the first test with the same number of photos per folder (4 photos per folder) and with the same correspondence order of the images (then tried to change something...) with the same incorrect result.

Concerning the conversion of the images to the single channel TIFF files (all except RGB) prior to loading the data to PhotoScan and processing, may you please tell me how to do it?  :-[

consider that in a "real" photoscan elaboration I will have 100/200 photos or more per band

thanks a lot for your help!

49
General / Re: manage with photoscan 4 simultaneous cameras
« on: May 12, 2016, 08:38:18 AM »
package with 4 dirs and log from console sent

50
General / Re: manage with photoscan 4 simultaneous cameras
« on: May 11, 2016, 10:48:44 PM »
sure Alexey, I will send you the photos
consider that they are simply a test (4 photos per band)

an update: this morning I've tried your suggested procedure, but the system returns to me (I guess) only the perform of one camera (BLU-NIR), that correspond to the first folder in the updir...

In the email with the photos, I also will send you the log of the steps (add folder with choice of multispectral per bands, loading of xml calibration file per plane, alignment, dense cloud, mesh, texture)

thanks, bye
m

51
What kind of data has been used in the original chunks for the model referencing?
:-[ sorry Alexey, may you please explain me the question?  :-[
I have 4 chunks and for each of them I simply put the photos (I used 4 chunks because of too many photos, almost 1000, to make the perform of photoscan faster)

Also you are not merging the dense cloud (not sure if they are present in the original chunks), but are trying to build the model from the dense cloud.
Hoping to have correctly understood the question, following my complete script:

import PhotoScan

MyPrj = PhotoScan.app.getOpenFileName()
doc = PhotoScan.app.document
doc.clear()
doc.open(MyPrj)

NrOfChunks = len(doc.chunks)
for chunk_name in range (0,NrOfChunks):
      curr_chunk = doc.chunks[chunk_name]

      curr_chunk.matchPhotos(accuracy = PhotoScan.HighAccuracy, preselection = PhotoScan.GenericPreselection, filter_mask = False, keypoint_limit = 40000, tiepoint_limit = 4000)
      curr_chunk.alignCameras()

      curr_chunk.optimizeCameras(fit_f=True, fit_cxcy=True, fit_aspect=True, fit_skew=True, fit_k1k2k3=True, fit_p1p2=True, fit_k4=True, fit_p3=True, fit_p4=True)

      curr_chunk.buildDenseCloud(quality = PhotoScan.HighQuality, filter = PhotoScan.ModerateFiltering)

      
doc.alignChunks(doc.chunks, doc.chunks[0], method="points", fix_scale=False, accuracy=PhotoScan.HighAccuracy, preselection=True, filter_mask=False, point_limit=80000)

doc.mergeChunks(doc.chunks, merge_dense_clouds=False, merge_models=True, merge_markers=False)

doc.chunk.buildModel(surface=PhotoScan.HeightField, interpolation=PhotoScan.EnabledInterpolation, face_count=PhotoScan.MediumFaceCount, source=PhotoScan.DenseCloudData)

doc.chunk.buildTexture(blending=PhotoScan.MosaicBlending, color_correction=False, size=4096)


but I receive an error in buildmodel and buildtexture: maybe because i don't refer correctly the merged chunk?

52
Python and Java API / python scripting for new photoscan version
« on: May 11, 2016, 12:48:51 AM »
hello,
I've to adapt some python script written for the old photoscan version (1.0.4) to the new one, but I've some issues...

In a script I have some chunks and I have to merge them, but in the new python version I don't know how to reference the merged chunk

so, first of all I align the chunks:

doc.alignChunks(doc.chunks, doc.chunks[0], method="points", fix_scale=False, accuracy=PhotoScan.HighAccuracy, preselection=True, filter_mask=False, point_limit=80000)

then merge them:

doc.mergeChunks(doc.chunks, merge_dense_clouds=False, merge_models=True, merge_markers=False)

BUT NOW, HOW CAN I REFERENCE THE MERGED CHUNK? the following statements return me error:

doc.chunk.buildModel(surface=PhotoScan.HeightField, interpolation=PhotoScan.EnabledInterpolation, face_count=PhotoScan.MediumFaceCount, source=PhotoScan.DenseCloudData)

doc.chunk.buildTexture(blending=PhotoScan.MosaicBlending, color_correction=False, size=4096)



53
General / Re: manage with photoscan 4 simultaneous cameras
« on: May 11, 2016, 12:34:10 AM »
Hi Alexey,
upgrade done but I have a doubt; what do you mean when you say:

you'll have one chunk with the number of camera instances equal to the number of camera positions (not the total number of images for all the four cameras)

I've tried with a little example: 4 folders, 2 photos per folder (so, a total of 8 photos)
and after having chosen the option "Create multispectral cameras from folders as bands", the system give me 1 chunk having only 3 cameras (3 photos I guess...)

I don't understand, please may you help me?
thanks!

54
General / Re: manage with photoscan 4 simultaneous cameras
« on: May 10, 2016, 05:25:21 PM »
Ok, I will try to update (I'm not so skilled, hope to be able)

after having chosen the correct option I will have 4 chunks?
for each of them I will load its own calibration xml file from lens, right?

55
General / Re: manage with photoscan 4 simultaneous cameras
« on: May 10, 2016, 05:08:26 PM »
currently 1.0.4

56
General / Re: manage with photoscan 4 simultaneous cameras
« on: May 10, 2016, 05:00:53 PM »
Very thanks for your explanations Alexey.

I've just tried and, in the dialog box, I have 4 choices:

1. create camera from each file
2. create chunk from each folder
3. create multiframe cameras from folder as cameras
4. create multiframe cameras from folder as frames

may you suggest me the right choice?

thanks!

57
not yet, but I will!
thank you Alexey

58
General / manage with photoscan 4 simultaneous cameras
« on: May 03, 2016, 09:20:46 AM »
Hello,
I have a drone with 4 cameras (multispectral cameras: RGB, RED, GREEN, BLUE-NIR).
The work area is precision agriculture.
To give complete info, cameras are MAPIR survey1.
I shot photo sequence and finally I got 4 simultaneous photos from them for each shot.

Now I have some doubts:

1. how can I manage those photos into photoscan?

I thought to create a chunk and add all of them into (I will have 4 copies of the same area, one for each camera).
Then I thought to proceed with the usual workflow (basically: quality estimation, alignment, dense cloud, mesh, texture)
Is it correct?
Or have I to create a separate chunk for each camera and then merge them?

2. when I create the 4 XML files from LENS (one XML with calibration parameters for each camera) how can I import those into photoscan?

Many thanks in advance for your help!
m

59
Yes Alexey,
you are perfectly right, my fault!!!

sorry
:(

60
Hi Alexey,
no, in this project I only have photos without any georeference or marker
but I know that for a similar project (not georefererenced) a friend of mine has this radio butto enabled...
 ???

Pages: 1 2 3 [4] 5