-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Get Mat in a blob #24158
Copy link
Copy link
Closed
Labels
Description
Describe the feature and motivation
I think it could be usefull to get a specific Mat in a blob to read or write data
Additional context
Code could be
/**
* return a specific Mat in a blob.
* if dims blob is less or equal to 2 (N rows x M columns) blob is return
* if dims blob is 3 blob is blob is (H x N x M array) mat at (coord(0),0, 0) is returned.
* if dims blob is r blob is blob is (T x H x N x M array) mat at (coord(0), coord(1), 0, 0) is returned.
* */
Mat getMatInBlob(Mat blob, vector<int> coord, int posChannel = DNN_LAYOUT_NCHW)
{
}
Reactions are currently unavailable