Mat Data Type 23 Is Not Supported

2014 06 26 03 39 28 0500 seen.
Mat data type 23 is not supported. The following table shows the file formats that you can import and export from the matlab application. 32 64 64 3 type. Data data type 17 is not supported cv2 kmeansのパラメータはあっている気がするのですが どうやってエラーを回避すればよいのでしょうか お教えいただければ幸いです. 11 499 times last updated.
Why did you use dtype type red for image type red is a python list. Additional data types store text integer or single precision values or a combination of related data in a single variable. No means the data types should not be cast at all. But i believe cvtcolor only works on 8 bit unsigned ints 16 bit unsigned ints or 32 bit float.
Safe means only casts which can preserve values are allowed. To clarify the r matlab package can read write matlab mat data files. Equiv means only byte order changes are allowed. Using that makes image an array of python objects and not an with a numeric type.
For more information see fundamental matlab classes or watch introducing matlab fundamental classes data types. Supported file formats for import and export. Unsafe means any data conversions may be done. Src data type 6 is not supported type.
Warren weckesser nov 20 14 at 23 03. It can not source run matlab m scripts. Why not use say dtype int. So you need to convert the type with cv2 convert first or obtain the image differently.
Src data type 23 is not supported. Your image of data type 17 is a 8 bit signed int image see here for translating the numeric value of types.