MicroLens-3D-Reconstruction-with-Blender

2D simulation

  1. Check Camera Info

Phantom VEO-E 340L with DataSheet

Sensor Size 25.6 X 16 mm at full resolution.

Pixel Pitch 10 μm

  1. Check MLA Info

Micro Lens array: MLA-S125-f30 with DataSheet

f/#. f/# 30

Micro Lens Pitch: 125 μm

Focal Length: 125 * 30 = 3750 μm = 3.75mm

Micro lens principal plane spacing(H1s, H2s): we don't know, assume 200 μm

  1. Simulate with 60mm focual length camera

IMAGE

Check Blender folder CamGen Model.

  1. Fork from Github and flow the installation guide.

  2. I use Windows. Chech add-on folder

3D refocuse

MatLab Tool Box LFIT GUI

  1. Camera parameters and sample image: sample image about chessboard

camera setting

  1. Refocus result

result

IMAGE ALT TEXT HERE

This video show z slice from -25 mm to 25 mm based on normal focal plane. As we can see, the refocuse partical appears as guassian like blob.

CMake compile the data

This is a Qt UI based processing system.
chech my another repo

MatPIV for 3D velocity calculation