Resolving power of Zephyr for reverse engineering

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Victor Ramamoorthy
    3Dflourished
    • Jan 2019
    • 64

    Resolving power of Zephyr for reverse engineering

    One of the interesting questions related to use of zephyr for measurements of physical objects. This can be broken into 3 sub questions: 1. what type of cameras, 2. how many images and 3.what kind of accuracy that can be expected. I did not how to find the answers. So I setup capture and processing using Zephyr Lite and my own smart phone (Redmi Note 5 Pro with 20 megapixel camera - costs less than $200 - fixed with a selfie stick - $10 - to go around the object of interest. The selfie stick has a wire connecting to the stereo audio jack of the smart phone so that pictures can be taken by pressing the button on the selfie stick. I thought of experimenting with gimbal stabilized selfie stick, but this proved to be too cumbersome as gimbal stabilization added more problems in orienting the camera. Hence I resorted to a simple wired selfie stick that I can hold it steadily while clicking the camera.

    The object that I wanted to measure was an Altera (Now Intel) Max10 FPGA development board that measures 76 mm x 89 mm x 8 mm. So I placed the board on a book which I had good texture ("Deep Learning" by Ian Goodfellow, et al, a well known book). I did not worry too much about lighting and just used day light present. I took about 150 pictures all around the board.

    Zephyr Lite took more than 4 hours to reconstruct the object with 407,736 vertices (perhaps because of the texture on the cover of the book) and 811,341 triangles. Then I cut with bounding box, aligned with XY plane using up vector using plane button. Then the vertices shrank to 145,494 vertices and 274,343 triangles. The reconstruction pictures are shown here. I used measurement tool to measure the distances and calibrate with known board dimensions.

    76 mm had a measurement value of 18.28735 and 89 mm turned out to be 21.48735. If I calculate their ratios, I get a scale factor of either 4.1558782 or 4.14941 which are pretty close. With one of the scale factors, I measure the height of the connector in the board as 7.694 mm (actual value is 8 mm). Hence I had an error of 0.3 mm in any dimension. Taking the smallest dimension of 8 mm, the error ratio is 0.3/8 =3.75% of full scale value. But for longer lengths, say for 89 mm, this error is as close as possible with a ruler. Of course, with a vernier caliper, the accuracy will be much more.

    As you can see in the closeup, the reconstruction has holes and some of parts are rounded up. Yet the resolving power is as good as you can measure with a ruler. All done with run of the mill cell phone camera in day light. The image capture took about three minutes.
  • Andrea Alessi
    3Dflow Staff
    • Oct 2013
    • 1305

    #2
    Hello Victor,

    - measurements should be done with zephyr pro or aerial using control points. The scaling and measurement tools in free/lite are not a good choice where accuracy matters.

    - accuracy depends on many factors. Cellphones have a very small sensor size and should be avoided when accuracy is important. You should possibly use a better device, e.g. APS-C sensor or bigger. You can find more about accuracy here https://www.3dflow.net/technology/do...sion-accuracy/ - make sure to check this videotutorial https://www.youtube.com/watch?v=E06k...ature=youtu.be

    - as for the images number, it really depends on the subject. Remember that more images does not automatically translate into a better result. An appropriate amount of images ensures that there is less noise and less ambiguity for zephyr when converging to a solution.

    Cheers!

    Comment

    • Victor Ramamoorthy
      3Dflourished
      • Jan 2019
      • 64

      #3
      I totally agree. What is nice is that even with ordinary cell phone cameras and a hundred or more pictures, you can arrive at 0.3 mm accuracy. This accuracy may not be good enough in other contexts without expensive devices, but in may applications 0.3 mm or around is pretty decent. It is very close to what you can get with a ruler or tape measure. I am talking about lower bound on error - not what can be achieved with a lot of care. A random choice of captured images looking at the object can produce a fraction of mm error is good news!

      Comment

      Working...