for example
0 0 0 0 0
0 1 1 0 0
0 0 1 1 0
0 0 1 0 0
0 0 0 0 0
to 0000001100001100 010000000




How can I convert matrix 2x2 to one row in GlyphRecognition
3 posts
• Page 1 of 1
How can I convert matrix 2x2 to one row in GlyphRecognitionfor example
0 0 0 0 0 0 1 1 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 to 0000001100001100 010000000
Re: How can I convert matrix 2x2 to one row in GlyphRecogniIt seems like the question has nothing to do with the GRATF project and/or Glyph Recognition. I may ask similar type of question: "How can I convert 2d array into a vector ?". This is them what you've just asked and this is just a basic programming thing.
I would create a vector of the same size as the matrix and then just copy all elements from one array (2 dimensional) to another one (1 dimensional). P.S. Your matrix is 5x5 actually, not 2x2.
Re: How can I convert matrix 2x2 to one row in GlyphRecogniThanks for your reply.I understand my problem
3 posts
• Page 1 of 1


