User:Linh N Le/Notebook/2009/06/05/LABView: Difference between revisions
From OpenWetWare
(New page: thumb|right|his is a screenshot of the VI's backpanel [[Image:Phto compare labview.JPG|thumb|right|This is a side by side of the original image and the imag...) |
(No difference)
|
Latest revision as of 11:04, 29 September 2009
- Larry has asked me to make a LABView VI that takes photos out of a file and loads them all to LABView
- It also must display said photos
- After many, many attempts, I currently have a version that does what I think he wants (feedback to follow)
- it will open a directory and list everything that is in it
- it will then load photos into LABView (currently set to look for .tif and .png)
- the photos are in an array
- if the file is not a photo, a blank will be created in the array, and then deleted afterwards
- i can pick out a piece of the array and look at it
- The problems that it has are:
- case sensitivity: .Tif files and .tif files or .png .Png .PNG must all be coded for separately, more annoying than troublesome.
- display: currently only displays one photo at a time, and you must rerun the entire program to see a new photo
- possible fix by turning the photos into a pixel array
- The VI uses NI Vision Assistant to deal with the photos themselves
- I was messing around with the pixel thing that Koch had suggested
- With a single photo, I can turn the pic into a compressed array, take that array and turn it into a photo again and then display it
- It worked, but the photo is blue and white instead of black and white