You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by msmartin4470 May 8, 2024
What is the best way to loop though a Mat in dart? In C I did this using pointers as follows. Thanks in advance.
for (int i = 0; i < mat.rows; i++)
{
uint16_t* matRow = mat.ptr<uint16_t>(i);
for (int j = 0; j < mat.cols; j++)
{
uint16_t value = matRow[j];
matRow[j] = lut.at<uint16_t>(value);
}
}
```</div>
The text was updated successfully, but these errors were encountered:
Discussed in #44
Originally posted by msmartin4470 May 8, 2024
What is the best way to loop though a Mat in dart? In C I did this using pointers as follows. Thanks in advance.
The text was updated successfully, but these errors were encountered: