Skip to content

Initializing Mat object with 3 dimensional NDarray #12

@tk4218

Description

@tk4218

I have a 250x250 image that is loaded into an NDArray that uses three channels, so the dimensions of the NDArray are (250, 250, 3).

It looks like the Mat object only takes in a 2D NDArray. Is there any way I can initialize a Mat object with this NDArray, or can it be added to the constructor for Mat to allow 3-Dimensional NDArrays?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions