foolwood / foolwood/DAT

Explanation needed

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
73
Forks
27
PR merge metrics
No merged PRs in 30d

Description

```#line 495
prob_map = cv::Mat(frame.size(), CV_32FC1);
cv::Mat frame_bin;
cv::LUT(frame, bin_mapping, frame_bin);

float *p_prob_map = prob_map.ptr(0);
cv::MatIterator_ it, end;
for (it = frame_bin.begin(), end = frame_bin.end(); it != end; ++it)
{
*p_prob_map++ = prob_lut.at((*it)[0], (*it)[1], (*it)[2]);
}

```
Hi
Thanks for providing such a beautifully written code. I would be very thankful if you could explain what the above lines of code are doing.
Thanks 👍

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.