Code Monkey home page Code Monkey logo

Comments (7)

1134128371 avatar 1134128371 commented on August 25, 2024 1

I'm really sorry to trouble you.

from itof_cyclic_error_simulator.

1134128371 avatar 1134128371 commented on August 25, 2024 1

I appreciate the help you've provided, and based on previous chats have resolved the existing confusion. Thank you very much.

from itof_cyclic_error_simulator.

ksonod avatar ksonod commented on August 25, 2024 1

You are welcome.

from itof_cyclic_error_simulator.

ksonod avatar ksonod commented on August 25, 2024

Thank you for your comment and question, @1134128371. I suppose your question is related to L127 of ./functions/signal.py:
np.angle(fft_sampled_corr_signal)[1]
Here, the first element is selected because it corresponds to the first order harmonic.

from itof_cyclic_error_simulator.

1134128371 avatar 1134128371 commented on August 25, 2024

emm..... ,Sorry I found it is difficult for me to understand(Perhaps It take up some of your time).Can you please give an email for communication (won't waste too much time,or my email "[email protected]").The main question is still about the L125 to L136(I tried to explain this logicallly, But I'm finding it harder and harder to explain.)
In the Setup Parameters section, you solved for the true phase at each distance, then solved for the cross-correlation function for the different phase delays, by extracting the four cross-correlations corresponding to each time sampling point, and then restoring the true phase. I was thinking about it myself last week, and I still don't understand something either: the true phase corresponds at each distance, but shouldn't the resulting simulated phase get 0 in the absence of phase delays due to distance? But the actual is a trigonometric function (that is, the problem with the actual result obtained, hmmm... . the ToF camera measures the distance by measuring the phase difference, but here the output at a certain phase is trigonometric)? There is also the question of the reduction method, I mainly refer to the article by Rapp [2007], but it's hard to find to explain it (probably based on a sine wave)

from itof_cyclic_error_simulator.

ksonod avatar ksonod commented on August 25, 2024

Can you please give an email for communication

I prefer having discussion here to communicating through my personal e-mail. I am sorry for any inconvenience, and thank you for your understanding.
.

The main question is still about the L125 to L136.

The first part is to apply Fourier transform to correlation signal and to select the first order harmonic. In the second part, phase wrapping is corrected, and phase error is calculated simply by:
cyclic_error = simulated_phase - self.simulation_data.gt_phase
.

the ToF camera measures the distance by measuring the phase difference, but here the output at a certain phase is trigonometric.

My apologies in advance if I incorrectly interpret your statement. One simulated phase value corresponds to one ground-truth depth or ground-truth phase. However, the simulated phase is typically suffered from the wiggling error, which is also known as cyclic error, because of aliasing. With this simulator, you can obtain multiple simulated phase values at different ground-truth phases. If you plot phase error (i.e., the difference between simulated phase and ground-truth phase) against ground-truth phase, you will see the wiggling error, which follows a cyclic pattern.

If the concept of the wiggling error is not clear to you, you can refer to the article by Chronoptics.

from itof_cyclic_error_simulator.

ksonod avatar ksonod commented on August 25, 2024

If there are no further questions, I will close this thread soon.

from itof_cyclic_error_simulator.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.