From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-04-2007 11:26 AM
03-06-2007 01:53 PM
Dr. WS Mak,
I am not very familiar with Pantone, though I know they offer an array of colors. Are you looking to purchase some of our Vision software? Do you have any of our software already? Our Vision Development Module for LabVIEW can easily recognize a color, it uses pixel values to recognize colors. We can help you set up a look-up table or to use out color matching VI depending upon the specifics of your application. LabVIEW can read in the image from a file after it is read from the scanner as well. Let me know what software you have if any, and what you are interested in. Thank you!
-Allison S.
Applications Engineering
03-24-2007 07:29 AM
03-26-2007 04:52 PM
Dr. WS Mak,
I'm glad to hear that you can already successfully capture the image. At this point all you would need is a look-up-table defined by Pantone. You may need more than the IMAQ driver -- most of the image and color recognition tools are not included in IMAQ. I would contact Pantone and find out if they have a table of their colors corresponding to color values (RGB, or LSV for instance). Then we can easily take in colors and compare what is read in by the scanner to the list of Pantone colors. Is there a table like this that you know of? Let me know if you do, thank you!
-Allison S.
Applications Engineering
03-28-2007 10:36 AM
Dear Dir ,
Thank you so much for you interest , I really appreciate it so much .
Regarding the Pantone color table ( conversion between Pantone and RGB system ) , I have that table in *.mdb (MicroSoft Access Database) that have each Pantone color and the corresponding RGB , CMY and HEX values .
The problem is : HOW to make such comparisons to get the corresponding Pantone . To make the situation easier to you , I have a certain color that is supposed to be a certain Pantone C137 . I want to check if it is Pantone C137 or not . I need this to be done by getting the CORRLEATION between two colors , ie the test color is 100 % of Pantone C137 , ie Iam 100% certain that the test color is the Pantone color . In the real world , the test color may not be the same as Pantone C137 , if it is very close to the reference color , it the correlation will be 99.85 % , and so on . I will make my software make a tolerance for the test color , ie my tolerance is 2 % . ie , I will only accept colors that are 2 % different from the reference color . NB> I can get the reference color (eg in this case Pantone C137) by scanning this pantone and storing the color in the software .
if you can supply me with a simple code that can compare 2 colors together and get the correlation between them , it will be so helpfull .
Thanks.
Best Regards,
Dr.WS Mak.
03-28-2007 11:06 AM
Dear Mr. Allision ,
In a simple terms , I want to make a COMPARE function in visual basic 6.0 that compare 2 colors and gets the % similarity , ie , if it returns 100 % , ie the 2 colors are the same , when it gives 99.5 % ie the 2 colors differs only by 0.5 % .
Thanks,
Regards,
Dr.WS Mak.
04-03-2007 05:23 AM
04-04-2007 10:39 AM
Dr. WS Mak,
I apologize for the delay, the notices that you had posted did not come through immediately. As far as the comparison, it would be simple enough to get in an image, look at it's RGB value and compare to the Pantone RGB values. The color you scanned in and the color from the Pantone set would each have RGB values, each of which are from 0 to 255. You could easily extract these values and divide one by the other to get the percent similarity. You would also have to find a way to compare the color you have scanned to the closest Pantone color. How many of these Pantone colors are there? If there are not many you can compare the scanned color to each. If there are many (more than a couple hundred) I would suggest organizing the colors in a way that would make searching for the correct color faster, unless you are manually going to choose which colors you are comparing to. It is not our policy to write code; if you would like, we can get you in contact with an alliance member who can help. I am more than happy, though, to help with suggestions and design. Thank you!
-Allison S.
Applications Engineering
04-05-2007 01:26 AM
11-21-2007 10:02 AM