01-09-2012 05:37 AM
when i use labview to read a bmp file,it looks just fine,but the the pixel value is dfferent from the original,how it changed,can i change it back
01-09-2012 07:03 AM
Hello,
Can you give more details, like show the code you use to load the BMP file and how you compare the loaded data with the BMP file so you can say it's different.
And also does it happen for all your BMP file or just a particular one?
Trying to help...
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
01-10-2012 04:50 AM
i put the details about my problem in my attachment
01-10-2012 05:03 AM
right... Your "result" indicator is an I16, it goes from -32768 to 32767... so that's not enough, before the 2 for loops, just after the Integer to colour value VI you should place a convertion node to convert to i64 and also change you result display representation to i64.
See attached VI.
Hope this helps
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
01-10-2012 06:15 AM
it works a little,but the result is not totally right.we can see the clearest image is 3.bmp then 2.bmp then 4.bmp then 1.bmp then 5.bmp then 6.bmp then 7.bmp then 8.bmp.now use iii vi it doesn't work