jakobwilm / slstudio

SLStudio -- Real Time Structured Light. A comprehensive software suite for capturing and reconstructing 3D scenes with a camera-projector pair.
Other
515 stars 194 forks source link

LC4500 Pattern Mode with libusb #10

Closed nikkadim closed 7 years ago

nikkadim commented 7 years ago

Hi @jakobwilm, can I ask you for tips about what patterns (sequence) should I load for LC4500 to be able to run your software in pattern mode? I know the procedure to make patterns with DLP Control Software, but I believe your software utilize particular pattern sequence with particular timeouts (exposure and period). May be you can share the screenshots DLP Control Software with sequence settings or you have a f/w for LC4500 with this patterns you can upload to your this project? Thank you in advance.

jakobwilm commented 7 years ago

Hello Nok, first of all, we should be very accurate in what we mean by 'pattern sequence mode'. In your case, it appears that you want to store patterns in the firmware. While we have had some success with this approach, it is not the recommended way of operation (as mentioned in the README). In part this is because synchronization (which camera frame represents which pattern?) is difficult if the projector is operating autonomously. The other reason is that a change of patterns requires you to re-flash the firmware on LC4500. A third reason is that this makes it very complicated to correct for projector lens distortion (the patterns need to be pre-distorted before upload. Distortion parameters might vary between calibrations). What you need to do is to choose a codec, write its patterns to disk (uncomment appropriate lines in the scanworker class), bake these into firmware, modify the LC4500 projector class code and choose exposure and timing values suitable for your specific camera (obeying its frame rate, trigger delay, time for frame transfer). Regards Jakob