-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initializing Mat object with 3 dimensional NDarray #12
Comments
Do you have specific code snippet that doesn't work? It supposed to work. |
Hi,The code that I can run normally is as follows: the graph of load image :
image load function :
I use SharpCV by SciSharp,Can you test it this way? |
@pepure , I am able to load the image into an Load Image
Resize Image
|
It looks like when an image with three channels is loaded into a Also, the FromType()
Mat Constructor
|
Simple repro:
throws:
|
Any solution for this ? I face the same problem ?? |
Same question here. Any way to transfer a 3-dimensional NDarray (400 * 400 * 3 for example) to SharpCV.Mat format? |
I have a 250x250 image that is loaded into an
NDArray
that uses three channels, so the dimensions of theNDArray
are (250, 250, 3).It looks like the
Mat
object only takes in a 2DNDArray
. Is there any way I can initialize aMat
object with thisNDArray
, or can it be added to the constructor forMat
to allow 3-DimensionalNDArray
s?The text was updated successfully, but these errors were encountered: