Different image obtained using API and Pure VB method
I have a problem here...I am writing this program which creates a LUT, convert the grayscale image loaded in the picturebox into the pseudo color according to the LUT.
I am using 2 different rountines to convert:
1. API - GetPixel() and SetPixel()
2. Pure VB - Point() and PSet()
Since the LUT used is the same, upon conversion, I shld get 2 identical image right? But then, the thing is, I got 2 different pseudo color image. I noticed that certain black in the API converted image is blue in PureVB converted image. Why is this so? I have attached the project in this thread, can someone run it and explain why is this happening?
Thanks alot guys.
Regards,
Justin

