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

subpixel interpolation - greycode #38

Closed DotZ1 closed 2 years ago

DotZ1 commented 5 years ago

Hi,

There is a comment in the GrayCode decoder codec as follows

// Binarize frames. TODO: subpixel interpolation.

How would you go about implementing sub pixel interpolation for the gray code patterns when acquired through the camera? Not looking for code but more the approach on how to tackle this?

Could the same technique work for the three phase images in 2x3 codec?

Thanks

Dot

jakobwilm commented 2 years ago

For Gray Coding, you would use the raw image's greyscale values to place the binary edge between integer coordinates. I have implemented this once and plan to integrate that method into SLStudio at some time.