Skip to content
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

MutiChannels Issue #8

Open
flyleier opened this issue Oct 26, 2022 · 0 comments
Open

MutiChannels Issue #8

flyleier opened this issue Oct 26, 2022 · 0 comments

Comments

@flyleier
Copy link

inline void TinyMATWriter_writeMultiChannelMatrix2D_rowmajor(TinyMATWriterFile* mat, const char* name, const T* data_real, int32_t cols, int32_t rows, uint32_t c) {

template<typename T>
inline void TinyMATWriter_writeMultiChannelMatrix2D_rowmajor(TinyMATWriterFile* mat, const char* name, const T* data_real,  int32_t cols, int32_t rows, uint32_t c) {
  int32_t dims[2]={rows, cols}; //?? should be : int32_t dims[2]={cols, rows}; ?
  TinyMATWriter_writeMultiChannelMatrix2D_rowmajor(mat, name, data_real, dims, 2, c);
//?? should be : TinyMATWriter_writeMultiChannelMatrixND_rowmajor(mat, name, data_real, dims, 2, c); ?
}

It's an awesome library, I haven't delved into it yet, I'm going to use this lib to write RGB24 data, I think there is something wrong with this function, but I'm not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant