alignment results changes

Answered

Comments

31 comments

  • Avatar
    Bill Isenberger
    Is it possible to import one of the Photoscan camera export formats into RC?
    0
    Comment actions Permalink
  • Avatar
    Alex Bone
    I never thought of trying that?! it's worth a shot. I'll try it and post results later tonite.
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    Hi Alex
    For the alignment we set the alignment algorithm a bit strict. but it is perfect for understanding what is not properly captured. so if RC does not manage to align the model, then inspect it and try to find out why ( not systematic capturing of images, not proper overlap, low image count, too high angles among cameras )
    If this happens, we recommend you to acquire additional images or use control points to get it together
    0
    Comment actions Permalink
  • Avatar
    admin
    It's possible to import bundle out scenes + undistorted images. If you can export that from Photoscan then you should be able to import them.

    We are using a different camera lens distortion model from the one used defined in "bundle.out". We are taking just a camera rotation, a translation and a focal length. It is assumed that all input images are undistorted.
    0
    Comment actions Permalink
  • Avatar
    Alex Bone
    thank you for the replies. i inspected the camera positions on AGI to what was aligned in CR and it is clear it has to do with lack of overlap for the photoset i was using. the one side that was covered well shows up and the other side that is a bit haphazard misses alignment which explains things a bit better.
    0
    Comment actions Permalink
  • Avatar
    Götz Echtenacher
    Hi admin,

    would it be possible that you describe how to Import bundle out and images?

    Since I have problems with texturising, I wanted to try doing int in meshlab. However, I haven't been able to figure out how toexport the model plus cameras to meshlab. Could you give me a hint?
    0
    Comment actions Permalink
  • Avatar
    Götz Echtenacher
    Anybody? Just need a pointer... ;-)
    If it's not possible yet, never mind, but it is better to know it for certain.
    0
    Comment actions Permalink
  • Avatar
    admin
    Directly go through file/open dialog. It accepts bundle .out format.
    Images should be indexed starting either 0 or 1 and should be undistorted.
    0
    Comment actions Permalink
  • Avatar
    Götz Echtenacher
    Hi admin,

    thanks for replying. :)
    I still don't understand though.
    In the Save As dialog, I can only chose RC - even if I select all files and add .out manually, it still creates a rcproj-file.
    And by indexing you mean the file names?
    Could you explain why?

    Cheers!
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    Hi Götz
    to importing BUNDLE.OUT

    export it from agi as project_name.out + undistorted images there
    in RC use the LOAD dialogue and set the bundle.out format for loading
    you need to use JPGs for the images, any other format causes issues
    the main problem here is you need that ALL images are aligned, if they are not, you will get into issues

    to export from RC
    ALIGNMENT ribbon / REGISTRATION tool and set the bundle.out format
    use the JPG as the export format of images
    0
    Comment actions Permalink
  • Avatar
    Götz Echtenacher
    Thanks Wishgranter! ...for the hundreth time or so ;)

    Now I get it - seems to have been a mixup between import and export - I needed export.
    0
    Comment actions Permalink
  • Avatar
    martinb
    I see, you want to save, not load bundle.out :)

    It is possible to export bundle.out only for sparse point cloud + camera poses. This can be done using WORKFLOW\Export\Registration and select "bundler" format in "save as type" combo box.
    0
    Comment actions Permalink
  • Avatar
    George Agelis
    I'm trying to import the bundle out (.out) file exported from agisoft along with the jpeg images but I get this error. Can anyone help me what I'm doing wrong?
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    how many images do you have in agisoft ? how many from them are aligned ?
    on export of undistorted images use this {filenum}.{fileext} in the FILENAME TEMPLATE
    0
    Comment actions Permalink
  • Avatar
    Götz Echtenacher
    martinb wrote:
    I see, you want to save, not load bundle.out :)

    It is possible to export bundle.out only for sparse point cloud + camera poses. This can be done using WORKFLOW\Export\Registration and select "bundler" format in "save as type" combo box.


    Thanks martinb.
    Only sparse cloud?
    Hmm...
    Suppose I could do that and also export the mesh.
    I assume it will keep the orientation (coordinates) when I import both in another application?
    I will try it soon and get back to you...
    0
    Comment actions Permalink
  • Avatar
    akiro
    I tried to export bundle data from photoscan in the described way, but i get the same error message when i try to import it. :?:
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    Hi Akiro
    how many images do you have in agisoft ? how many from them are aligned ?? screenshots, please....
    are you exporting JPGs when doing the UNDISTORTION in agisoft ?
    can you PM me a few screenshots of your workflow ? to see if you are not doing anything improperly...
    0
    Comment actions Permalink
  • Avatar
    akiro
    ok, got it...
    I forgot to change "{filename}" to "{filenum}". :oops: Now it works great!
    Thanks for the quick reply! 8-)
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    OK
    read carefully my reply next time !!!! :D
    0
    Comment actions Permalink
  • Avatar
    George Agelis
    Wishgranter wrote:
    how much images you have in agi ? how much from them aligned ?

    on export of undistorted images use this {filenum}.{fileext}
    in the FILENAME TEMPLATE


    I have 481 images, all aligned in photoscan. I tried the {filenum}.{fileext} and it creates files starting from 0.jpeg down to 481.jpg but now when I try to open the .out file in RC it asks for the original file name of the images which was DSC_xxx.jpg and I get a load window to select one by one all of the 481 images :D
    any other more simple way to solve this?
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    Hi George
    You are doing something not correctly :D

    so step by step
    1. first export cameras in BUNDLE.OUT from agisoft
    2. UNDISTORT the images but change "{filename}" to "{filenum}", otherwise it will not work !!

    run RC
    OPEN the project
    select the BUNDLE format to be read
    and get it done...

    if you get stuck somewhere, let me know...
    0
    Comment actions Permalink
  • Avatar
    George Agelis
    Wishgranter wrote:
    Hi George
    You doing something not correctly :D

    so step by step
    1. in agi first export cameras in BUNDLE.OUT
    2. UNDISTORT the imgs but change with this settings "{filename}" to "{filenum}" or it will not work !!

    run RC
    go to OPEN project
    select BUNDLE format to read

    and get it done...

    if stuck somewhere let me know...


    I tried again, I'm following your steps exactly but the problem is that RC asks for the DSC_001.jpg, DSC_002.jpg... file naming and not 0.jpg, 1.jpg etc. that agisoft created using the new {filenum} command. I can point RC to load each file one by one but this is not a good option :lol: maybe I should rename the original image files from the camera , import and align them again from photoscan to have the correct file naming RC asking , unfortunately it takes time to do the process again, its not lighing fast like RC :)
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    Hi George
    when you do it the right way, it is just like loading a project and you do not even need to set the file location...

    try the last thing - place the BUNDLE file next to the undistorted images and try to open them in RC.
    If you have TeamViewer installed, we can take a look at it in the morning...
    0
    Comment actions Permalink
  • Avatar
    George Agelis
    Wishgranter wrote:
    Hi George

    when do it right way its just like loading project and not even set the file location...

    try last thing place the BUNDLE file next to the undistorted imgs and try open in RC.


    Have team viewer Installed can take a look morning on it...


    finally this was the trick! I moved the .out file inside the folder with the imgs and RC loaded all of them! :D
    thank you!!
    0
    Comment actions Permalink
  • Avatar
    Götz Echtenacher
    Hi George,
    Just out of curiosity, why don't you align them all in RC?
    It's probably quicker than moving the images to another folder... :lol:
    0
    Comment actions Permalink
  • Avatar
    George Agelis
    Götz Echtenacher wrote:
    Hi George,
    Just out of curiosity, why don't you align them all in RC?
    It's probably quicker than moving the images to another folder... :lol:


    good point :) but I'm doing this because in this specific project the RC could not align all the images , even after some tweaking from the settings while photoscan could align all of them.
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    Hi George
    can you PM me at muzeumhb@gmail.com with some screenshots of the problematic alignment ?
    0
    Comment actions Permalink
  • Avatar
    George Agelis
    Wishgranter wrote:
    Hi George
    can PM me on muzeumhb@gmail.com with some screenshot of the problematic alignment ?


    ofcourse, please check your e-mail, I sent you two screenshots!
    0
    Comment actions Permalink
  • Avatar
    Wishgranter
    Hi George
    I have seen it, you will get the reply....
    0
    Comment actions Permalink
  • Avatar
    wout bosschaert
    I tried this, the import works perfectly but the scan in normal detail is very slow or stuck now in RC.
    Any ideas?
    0
    Comment actions Permalink

Please sign in to leave a comment.