Easy3DProcessing2D
Support |
|
Required licenses |
Easy3D and EasyOCR2 |
Recommended images |
The images from the folder Sample Images\3D\DepthMaps |
Location |
3D Processing\Easy3DProcessing2D \ |
Purpose
This sample program demonstrates how to:
□ | Load a depth map. |
□ | Apply a 2D operator (the text reading tool EasyOCR2) on the gray scale pixel values. |
Code highlights
1. | Convert a depth map to an EImage. |
const EImageBW8& image2D = depthMap_.AsEImage();
2. | Perform the operation Read. |
read_ = ocr2_.Read(image2D);
3. | Draw the depth map, with blue color for undefined pixels. |
depthMap_.Draw(dc, zoom, zoom, 0.f, 0.f, EC24(0,0,255));