Notice: This page will be redirected to the Epic Developer Community. Spend a few minutes to get familiar with the new community-led support today.

Multi component separation - faulty setup?

Comments

16 comments

  • Avatar
    Ondrej Trhan CR

    Hi Popi,

    can I send you email to upload your dataset on our servers?

    Regarding to your issue, what kind of object are you trying to process? What is the overlap between images? How many loops did you use? Have you tried this workflow: https://support.capturingreality.com/hc/en-us/articles/115001569011-Working-with-Components-Merging-components ?

  • Avatar
    Popi01

    Hi Ondrej,

    Yes of course, you can reach me at mae_lia@hotmail.com.

    Regarding my issue, I'm trying to process a hotdog. My overlap is quite abundant because I used an automatic turntable with pictures taking every 2 second or so. And yes, I did try this workflow, without success.

    Since my last post, however, I think I found something interesting. I used the masks of the photos to actually cut the image so that there is only the hotdog on them, and not the background. Then I fed these cut images to Reality Capture, and the result is perfect! I guess that means that my background is indeed really wrong in my images.

    Please let me know what you think,

    Popi

  • Avatar
    Ondrej Trhan CR

    Hi Popi, thank you for additional information. I sent you the invitation for dataset uploading.

    What was the difference between first masks and second? Just the covered area?

    If there is a background behind object during rotation table's capturing and it has some visible features, then these features have still the same position and the application align those images on one spot. This could be the main issue here. More I will wrote you after I will see your data.

  • Avatar
    Popi01

    Hi Ondrej!

    OK I've uploaded the files. I'm so sorry I made a mistake, I also uploaded part of the cut photos I've used in the end in Reality Capture. I can't delete them so I put them into a toDelete collection.

    Here's what I uploaded for you to see:

    - The compressed file of the original pictures

    - An example of a mask (generated with Metashape). I generated all the masks like this, and then tried to use them in RC (by respecting the naming convention, with the .geometry, .mask and .texture folder). But this process didn't help.

    - So instead, I wrote a Python script to actually delete all the parts of the image that corresponded to the black part on the respective masks. The images that you can see in "ToDelete" are the result of my script. Feeding THESE to Reality Capture works much better, even though there are still about 80 pictures that are processed in a second component.

    Thank you so much and don't hesitate should you need any further information.

    Popi

  • Avatar
    Popi01

    Hi again, I've made another test with another object, and my hypothesis of the cut background seems not to work anymore... I'm putting the photos in the box as well, in "Figurine_Masked_Images.zip". Right now I am really at a loss. I've tried about 5 different setups, but Reality Capture just doesn't want to align this set correctly.

    Can't wait to hear your advice, because I'm desperate right now!

    Thank you very much

     

    Popi

  • Avatar
    Ondrej Trhan CR

    Hi Popi,

    I checked your images and the hot dog worked for me. It is basically an ideal object as there is a lot of possible features to find and use for alignment. The first issue was with the background as it wasn't changing during capturing.
    I also tested the second dataset and it is not ideal as it is hard to find those features over the object. Basically, it needs to have a better texture on it. There are some workflows you can use as http://janebeecr.blogspot.com/2017/07/how-to-scan-shiny-surfaces.html, but it wasn't captured using rotation table.
    But your hypothesis regarding to cut the background is right. You can also try smaller heights changes between your loops.

  • Avatar
    Popi01

    Hi Ondrej!

    Thank you very much for your feedback! I'm curious though, did the hotdog work for you within a single component, or did it produce two? I'm looking to avoid multi component creation altogether.

    Thank you for the leads, I'll check them out!

    Popi

  • Avatar
    Ondrej Trhan CR

    Hi Popi,

    for me the hot dog came up as a one component and all images were aligned (when I used masked images)

  • Avatar
    Popi01

    Hey Ondrej,

    All right, that's what I don't understand : mine came up with two components, with the masked images. Maybe something different in the configuration ? Could you give me your settings ?

    Best,

    Popi

  • Avatar
    Ondrej Trhan CR

    I just noticed that you sent me 74 masked images and there is 143 unmasked images. Can you add also those the the shared folder?

    I just used pre defined alignment settings.

  • Avatar
    Popi01

    Are you talking about the Dumbledore or the hotdog?

    For the hotdog there are 334 images total, and 143 for Dumbledore.

     

    For Reality Capture, is there a way to revert to the default settings so that I can have the same configuration as you?

  • Avatar
    Ondrej Trhan CR

    I am talking about hot dog. Maybe not all images were uploaded... 

    Yes, there is a reset button for each setting:

  • Avatar
    Popi01

    Thank you! Okay let me see, I certainly made a mistake while uploading the images. I'll reupload and tell you when it's done!

  • Avatar
    Popi01

    Okay I justed added it in "popi_hotdog_334images.rar". let me know :)

  • Avatar
    Ondrej Trhan CR

    Hi, with all images I also got two components (the upper loop is separate).
    I would add one more loop as on the attached image. There is too big difference between two upper loops and that is why it is not aligned.

  • Avatar
    Popi01

    All right, I understand :) I'll be doing more tests then, and keep this post under hand if I had other observations and questions. You've been really helpful already though, thank you very much for that!

    Best regards,

    Popi

Please sign in to leave a comment.