03-05-2008 08:28 AM
03-05-2008 10:10 AM
03-18-2013 05:15 AM
how to crop an image ?can you please help me
03-19-2013 06:22 AM
Hi dfsfdsfv,
My name is Kevin, I am an application engineer at NIUK. In answer to your question how do you crop an image, Using the Picture Functions, this can easily be accomplished in LabVIEW. Using the Graphic Format VIs, first choose the format of the graphic you would like to read. (ie. JPEG, BMP, PNG) Once the file has been read, use the Unflatten Pixmap.vi to create a 2-D array of data that represents each pixel of the picture. Now use the Array Subset function to extract the data that you would like to crop from the original picture. This data can then be input into the Flatten Pixmap.vi and then either saved to a file, drawn on the front panel, or both.
Kind Regards
03-19-2013 07:54 AM
Hi,
If you can convert the pixmap to image then this can be done with the IMAQ Extract function