Changeset 148 in flair-src for trunk/lib/FlairCore/src/cvmatrix_impl.cpp
- Timestamp:
- 02/28/17 16:18:13 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/cvmatrix_impl.cpp
r15 r148 33 33 34 34 cvmatrix_impl::cvmatrix_impl(cvmatrix *self, 35 const cvmatrix_descriptor * descriptor,35 const cvmatrix_descriptor *inDescriptor, 36 36 flair::core::ScalarType const &_elementDataType, 37 37 int n) 38 38 : elementDataType(_elementDataType) { 39 this->descriptor = descriptor; 39 descriptor = new cvmatrix_descriptor(inDescriptor->Rows(), inDescriptor->Cols()); 40 41 for (uint32_t i = 0; i < descriptor->Rows(); i++) { 42 for (uint32_t j = 0; j < descriptor->Cols(); j++) { 43 descriptor->SetElementName(i, j, inDescriptor->ElementName(i, j)); 44 } 45 } 40 46 Init(self, n); 41 47 }
Note:
See TracChangeset
for help on using the changeset viewer.