- changed status to resolved
ito::DataObject & operator=(ito::DataObject rhs) fails
Issue #28
closed
If this data object is a ROI of another dataObject, the assignment of rhs is not executed correctly (only in C++):
ito::DataObject a(4,3,3,ito::tFloat32); ito::DataObject b(3,3,ito::tFloat32); ito::Range ranges[] = {ito::Range(0,1),ito::Range::all(),ito::Range::all()}; a.at(ranges) = b; //fails, a[0,:,:] does not contain b
Comments (2)
-
reporter -
reporter - changed status to closed
- Log in to comment
"This is a feature, not a bug" ;) The current implementation behaves like OpenCV:
http://docs.opencv.org/modules/core/doc/basic_structures.html#mat-operator