01-08-2014 10:49 AM
Hi Udka,
You can find attached my real samples.I tried to put a white and a blue background.Actually the colour is not as important as the tranparancy of the sample. Always I record the samples with a HD webcam then I analyse the ROI of each one.
You can notice the real transparance of the samples (for 1 to 7 from the left to the right). I used another analytical method to measure the transparence.
| Sample Ref. | %T |
| 1 | 2 |
| 2 | - |
| 3 | 1 |
| 4 | 78 |
| 5 | 51 |
| 6 | 23 |
| 7 | >90 |
01-09-2014 08:18 AM
Hi,
Please can someone help me to sort this problem out. Do you have an idea to use the webcam and vision kit of Labview to get values similar or close to those of the previous table.
Thanks for your help.
01-09-2014 08:59 AM
01-09-2014 09:57 AM
Thank you again Udka,
Thoese value were measured by someone else using Uv light absorption using the formula:I/I0 where I is the intensity of light.
For the blue I think it is the best condidate as it is the complementary for the orange formed from red and yellow.
So do you know how to measure the intensity of blue ( I mean which unit and is it possible to make a correlation between this measurement and the tranparency values of the table and then make the interpolation. I explain. If the sample give 200 blue and the trasparancy is 60% and another sample the blue is 0 and the transparancy is 0 ,then an unknown sample with a blue equal to 100 means that the transparancy is 30%. Do you think this is do-able.
Here I put all the samples together, but in reality the measurement is done one by one. The big problem I think is the intensity of light in the room that affect too much the colours detected by the camera.
Have you an idea how can I handle this problem
.
Thanks for your help.
01-09-2014 10:58 AM
Thanks for the reply again.
-Getting blue color values is easy. i am attaching example which i tried for getting the blue values.
-Each point will have Red(0-255),Blue(0-255) and Green(0-255). See in the example i added.
-The green rectangle is the selected ROI(Region of interest), where you have blue value of around 200. means if you take proper blue(try it in paint) and when you check it will be 255(Max).
-So, if i get the same value at bottle also, then it is completely 100% transparent(am i right?)
-But, when i keep same ROI at bottle, i get value around 20-30 (which is mix of yellow also). or because of disturbance it is not clear??
-Yeah interpolation of values also possible but before that we need to check which values we should take.
-Is it possible to take only one bottle(high transparent) with blue background and then see values?
-I am attaching vi also, please try to use and see if it is helpful.
-These kind of experiments are highly lighting related. So you should have controlled lighting which will be constant.Are you using any external light or normal ambient light?
-Sorry i am not expert in these, but i will try if i can help.
01-09-2014 11:36 AM
You are really nice and helpfull.
Thanks for the exampl, it clrify lot of things.
By default, I think colours can just divided into blue green and red. But that makes me confused if I select the yellow for example, I found it is 0 blue 250 red and 250green. How this can be?
-Is it possible to take only one bottle(high transparent) with blue background and then see values?
For this question, I can use the background alone as a reference, I think even if there is a noise in the lighting, the comparison with the reference will correct the value.
Also, I am thinking to add like an intense flash light to the camera to be sure I am working in the same conditions of light like in the professional cameras using flash in every snapshot.
Best, ![]()
01-09-2014 11:44 AM