Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Create Image

Good day,
I again ask one, and how to represent a matrix as an image in gray tones of black and white, my matrix consists of 90 columns and 3000 rows, this matrix as an image 128 * 128 needs.
someone has an idea or a beispiles Program.
Thank you and look forward to speedy answers
0 Kudos
Message 1 of 3
(3,361 Views)
Do you mean you want to extract a part of an image? If english is not your first language then post in your native language.
0 Kudos
Message 2 of 3
(3,358 Views)

Well there's an IMAQ Array to Image block which, "Creates an image from a 2D array."

However the array you are using (90*3000) is quite a bit larger than the 128*128 image that you want, so you'll need to work out how you want to convert between the two sizes.

 

edit: There is also an IMAQ Image to Array block if you are trying to go the other way.

Message Edited by Hornless.Rhino on 20-04-2010 11:31 AM
0 Kudos
Message 3 of 3
(3,320 Views)