plneo Posted September 6, 2006 Author Report Posted September 6, 2006 Hello everyone, Can I seek some assistance here? I have attached a VI here and I am trying to display a 8-bit grayscale image in the picture box. However, everytime I load the array, the colours are not correct. I am aware that I can do something to the 'color' terminal of the flatten pixmap.vi. Can I ask how do I set the 'colour' terminal of the flatten pixmap.vi so that it can display 8-bits grayscale image? Thanks. Quote
plneo Posted September 6, 2006 Report Posted September 6, 2006 Hello everyone, Can I seek some assistance here? I have attached a VI here and I am trying to display a 8-bit grayscale image in the picture box. However, everytime I load the array, the colours are not correct. I am aware that I can do something to the 'color' terminal of the flatten pixmap.vi. Can I ask how do I set the 'colour' terminal of the flatten pixmap.vi so that it can display 8-bits grayscale image? Thanks. Download File:post-5479-1157550331.vi Quote
Chris Davis Posted September 6, 2006 Report Posted September 6, 2006 Hello everyone, Can I seek some assistance here? I have attached a VI here and I am trying to display a 8-bit grayscale image in the picture box. However, everytime I load the array, the colours are not correct. I am aware that I can do something to the 'color' terminal of the flatten pixmap.vi. Can I ask how do I set the 'colour' terminal of the flatten pixmap.vi so that it can display 8-bits grayscale image? Thanks. The following VI will create a grayscale pallete that can be fed into the color terminal in the flatten pixmap.vi. Enjoy. :thumbup: Quote
tnt Posted September 6, 2006 Report Posted September 6, 2006 Can I ask how do I set the 'colour' terminal of the flatten pixmap.vi so that it can display 8-bits grayscale image?Hi,just place a for loop wire 256 to N multiply i with 0x010101 (radix = hex) [ = 65793 (Radix = decimal) ] leave auto-indexing enabled and you got a 256-colortable good luck, TNT Quote
plneo Posted September 6, 2006 Author Report Posted September 6, 2006 The following VI will create a grayscale pallete that can be fed into the color terminal in the flatten pixmap.vi.Enjoy. :thumbup: Thanks! Quote
syrus Posted October 2, 2006 Report Posted October 2, 2006 Hi folks. I solved this problem a few days ago, forgetting to search here first for the answer. I used the builtin function "Join numbers". Quote
Chris Davis Posted October 3, 2006 Report Posted October 3, 2006 Hi folks. I solved this problem a few days ago, forgetting to search here first for the answer. I used the builtin function "Join numbers". This is a good replacement for the VI I snapshotted above! I was trying to find a color pallete creator example I saw a few years ago to post with this but I couldn't find it. Oh well! :headbang: Quote
Chris Davis Posted October 3, 2006 Report Posted October 3, 2006 This is a good replacement for the VI I snapshotted above! I was trying to find a color pallete creator example I saw a few years ago to post with this but I couldn't find it. Oh well! :headbang: Finally found the example I was looking for. Search for Color Table Master on the NI dev zone, or follow this link. Enjoy! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.