Skip to content

MutiChannels Issue #8

@flyleier

Description

@flyleier

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions