Boost multiarray vs OpenCV Mat -


what big difference between boost multidimensional array , opencv multidimensional array?

i'm implementing clustering algorithm in c++, , need data stuctures store data points. should able handle different dimension data, such 1d data( gray scale image), 3d data(color images), , n-d data(after feature selection).

which 1 should choose? seems opencv mat, need know dimension of data before hand.

as perfanoff said, choose library confident in , going use more in code. aside, , given handling image data, opencv seems better choice.

opencv mat containers can return type, functions can check if matrices have 1 channel, 3 channel or n-d data. can use element size functions find number of channels.

as disclaimer, don't have experience boost multidimensional arrays.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -