Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Want to know the PANTONE color of at a certain pixel of the image

Hi Mohit,
 
If you have the NI Motion Development Module then you should find the LookUp Table functions in the Image Processing>>Processing palette.
 
If you want a quick way to prototype your image processing application, I recommend using the NI Vision Assistant. You can export the scripts that you create in Vision Assistant to LabVIEW once you have finalised your code.
 
Hope this helps,
 
Jaidev
Senior Product Manager
National Instruments
0 Kudos
Message 11 of 27
(7,105 Views)
HELLO;
Thanks a lot for your nice reply. Yes, I have NI Vision (in addition to LabVIEW) installed in my PC . but you know I am a beginner for NI vision , so please tell me the procedure of using NI vision to modify my bitmap image. Till now I am able to open a bitmap image in Labview and able to see its pixel inofrmation. Now I want to modify the image, for example I have image having blue colour in left side and green in right half, now I want make it half red and half yello (for example).
Thanking you once again and waiting for ur reply.
PS: my email is pantmd@hotmail.com

mohit
Berlin
0 Kudos
Message 12 of 27
(7,098 Views)
Hi Mohit,
 
I am going to try an write an example to do this. I'll post it here when its ready.
 
Thank You,
Jaidev
Senior Product Manager
National Instruments
0 Kudos
Message 13 of 27
(7,088 Views)
Hello,

I am unable to manipulate bitmap image usinf NI Vision Builder 3.0. I am using LabVIW but for NI Vision Builder AI 3.0, I m just a begginer. There are a lot of inbuilt examples in NI vision Builder 3.0 but I want to make one of my own (In fact, what I want is to create a script in NI vision builder for manupulation pixels of bitmap image and then genarate Labview code from it),so how to do that. AS I open NI vision BUilder AI, I can see four options displaying: configure inspection, Inspect product, Help and Exit. I dont know which one I have to click and hwat to do after that...

I will highly appreciate if you can help me in this situation. with thanks

mohit
ps: my email is pantmd@hotmail.com
0 Kudos
Message 14 of 27
(7,071 Views)

Hi Mohit,

If you purely want to manipulate bitmap images, then Vision Builder might not be the best product for you. Vision Builder if meant more for machine vision type of applications.

Have you tried using Vision Assistant and LabVIEW to accomplish your task. Please take a look at some of the image processing examples that ship with the Vision Development Module. Go to the Example Finder (Help>>Find Examples...). In the Example Finder, you can navigate to Toolkits and Modules>>Vision>>Functions. I recommend the ImageToArray Example.vi; it turns the image into an array of bits and the you can modify these as you wish.

Once you have taken a look at this example, please let me know if you have any specific questions.

Jaidev

 

 

Senior Product Manager
National Instruments
0 Kudos
Message 15 of 27
(7,061 Views)
hello
Thanks for your help. I tried vision assistant and was able to get some interresting results. but you know, I want to 'Migrate inspection to Labview' but as I try this (tools>Migrate inspection to Labview') in vision assistant window, then a message is displaying which says 'this feature requires Labview 8.0 or later and the vision Development Module 8.0 or later'. I have Labview 8.2 (professional lincesed copy) and NI Vision Builder AI 3.0 in my computer. Actually, I dont know what is Vision Development Module and I dont know if it is same as NI Vision Builder or is it Inside NI Vision Builder. would you suggest anything in this situation? For your reference, I have also inserted the picture of error displaying window.  Thanking you and with regards




Mohit
Berlin
0 Kudos
Message 16 of 27
(7,040 Views)
Hello,

Yes, I was able to migrate inspection from NI Vision Assistant to Labview successfully. I installed NI Vision Development separately, though it worked with NI Vision Builder. BUt still I couldnt manipulate my bitmap image. The example 'ImageToArray Example.vi' sounds interesting but I couldnt find it.  Would you like to tell me where can I find this example-in Labview or in Vision Assistant. I searched for this example in both-Labview as well as Vision Assistant but couldnt find. My main aim is to  use lookup table to manipulate bitmap image. I hope to get your reply. Thanking you

Mohit
Berlin
0 Kudos
Message 17 of 27
(7,031 Views)
Hello
I have found the example you suggested 'ImageToArray.vi'. Thanks a lot.
But, I want to change a small black portion (lets say pixel value of 50) of this image into approximately while (lets say pixel value of 250, if we are talking about 8 bit image). To do this, I cnahged pixels values in array table but I didint see any difference in image. would you suggest anything? Thanking you

Mohit
Berlin
0 Kudos
Message 18 of 27
(7,030 Views)
Hi Mohit,
 
There are two things that you could try:
 
1. Run the IMAQ Histograph.vi on the image to see which pixels are relatively high in number. Changing these will show up prominently in the result.
 
2. You need to initialize the array that you connect to the IMAQ UserLookup.vi (I am attaching a screenshot of an easy way way to do this)
 
Let me know of these tips help.
 
Jaidev
Senior Product Manager
National Instruments
Message 19 of 27
(7,022 Views)
hello,
I am working on NI Vision Assistant now. I suceeded in manipulating the colour of the bitmap image by usinf look up table (LUT). BUt I have a new problem now. I want to detect the edges of an image but when I try this , a error message is displaying which says 'The type of th image is colour RGB 32-bit, but the Find Edges step supports only the following image type(s): grascale 8 bit...'. I dont know how to change any colour image into grayscale image.  I have attached the screenshot for your rerferecne. I would appreciate your help.

Mohit
Berlin
0 Kudos
Message 20 of 27
(6,985 Views)