01-18-2017 01:57 PM
Hi,
I am currently working on an image processing project and i'm having some problems using IMAQ write file 2 and IMAQ divide VI:
1. I use IMAQ extract to extract a part of the original image and i designed a "save button" to automatically save the extracted part in the same directory with the original one, its name is the same as the original + "_suspect". It seems like my IMAQwritefile 2 can't overwrite the file since window keeps on saying that the created BMP file is empty
2. I use IMAQ divide to divide each of the image pixel by the "average" value (Optical Density), it worked fine since each element of the 2D array is divided; however, when i display the divided image from the IMAQ divide VI, it is the same as the original one ??, and the image displayed from ArraytoImage VI is quite different. What's the problem?
3. How can i export my VI to a GUI program?
Thank you!!!
01-18-2017 08:46 PM
Hello, anyone? 😞
01-18-2017 11:16 PM
Some suggestions:
If you still are having problems, attach your "improved" VI and also a sample Image for us to use.
I don't understand what you mean by "export my VI to a GUI program". What, exactly, do you want to do?
Bob Schor
01-18-2017 11:56 PM
Hi Bob,
_ Yes, those two images resemble each other, that's what i dont understand since the new pixel grayscale value is much smaller than the old ones and, i use arraytoImage just to check whether the "new" image is different from the old one.
_ Connecting the error lines helped, thank you!!!
_ Here's my new VI and suspect image, optional rectangal is (0,1344,928,2496), the original one is too large, i cant load it.
??? My saved image and the one displayed in labview are different ?? The saved one seems to be a bit blur.
_ Nevermind with the GUI, i found the solution, thank you 😄
01-19-2017 12:05 AM
Here's the link to the original image, it's too large to be attached