03-25-2010 11:10 AM
I am currently trying to develop a script within Vision Assistant that can calculate the percent of bled area on the surface of the roadway. In chip seal construction, bleeding occurs when there is too much emulsion (tar) and not enough aggregate (rocks). The emulsion eventually sheens at the surface of the roadway causing skid resistance problems among other things.
Because the emulsion is completely black and the aggregate is not (immediately after construction), it is possible to visually examine the roadway and tell if bleeding has occurred. But I would like to be able to automate this process using a camera and Vision Assistant, and find out exactly what percentage of the captured roadway surface is bled.
The images I am trying to process look like this:
The emulsion that I'm trying to locate can be seen along the right side of the aggregate as the small black "gaps" between the rocks (ignore the black felt border on both sides).
Right now, my script is set to equalize the image and then select a threshold value that isolates these pixels, but is there a more accurate way to do this analysis? With our camera, the lighting conditions will always be the same, but there is not a "reference image" that we can work off of to determine the correct percentage.
I just need to be able to analyize the same type of image and determine the percentage of bled (completely black) area. Thanks in advance for your suggestions.
03-25-2010 12:39 PM
03-26-2010 09:06 AM
I can see two problems with your image:
03-29-2010 11:59 AM
I would have to agree with Vladimir.
Because you are working with pretty much black and I'm guessing a very dark shade of grey, lighting becomes extremely important to ensure a robust application.
03-29-2010 12:27 PM
03-31-2010 03:35 AM
03-31-2010 11:48 AM
I'm sorry if the image isn't showing up, I'm kind of new to this 🙂
http://img175.imageshack.us/img175/2920/after78msinglesample3.png
Unfortunately, with the SharpShooter I don't think it's possible to control the aperture. It works much like a desktop computer scanner where the focal length is fixed and the camera only shoots what's right in front of it (directly down in my case). This camera is used more for assembly line quality control to make sure there aren't defects in manufacturing parts, but it was within our price range and I'm hoping we can get NI Vision Assistant to analyse the data in the way we want.