Ask Your Question

ytham's profile - activity

2014-03-17 02:12:08 -0600 received badge  Self-Learner (source)
2014-03-16 19:28:55 -0600 answered a question What is a Mat with 0 rows used for?

So, these matrices are not for displaying objects. Instead, they are used in the case when you want to use the Mat as a container object and push data into it.

2014-03-13 13:32:22 -0600 asked a question What is a Mat with 0 rows used for?

I see in some cases people are initializing a Mat with zero rows. i.e.:

Mat labels(0,1,CV32FC1);

This creates a labels Mat with 0 rows and 1 col. It doesn't look like it can store any data since it would have no 'cells', so to speak. How is this useful? Can this store data?