Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Marble slab

You might want to consider installing a light baffle below the line. This would act has a light absorber and give you a low level uniform background. There are some extremely absorbent light absorbing materials on the market - relatively inexpensive.

0 Kudos
Message 41 of 46
(1,093 Views)

Hello Simon,at the moment we can't install that. 
The background ist relatively good. I think some image processing makes the work there. Any ideas?

0 Kudos
Message 42 of 46
(1,091 Views)

You could create a mask from the image and use this to extract just the region of interest you are looking at. I've not had chance to look at your script but I might start with something like this.

Message 43 of 46
(1,088 Views)

Hello Simon,
We have always different marbles. Size and color are changing:
scanned_20171227_225721.jpgscanned_20171229_174530.jpg

 

Some marbles natural holes on them. We want to detect these holes. too So, i don't want use "fill holes"
Marble slab with holesMarble slab with holes

0 Kudos
Message 44 of 46
(1,074 Views)

Since it is a line scan camera, the background image is fairly constant.  You could create a background image with no marble, then subtract that from the marble image.  This will cancel out the background and make it almost zero.  You can then do a manual threshold using a fairly small value.  This would keep the holes and other features of the marble.

 

Bruce

Bruce Ammons
Ammons Engineering
Message 45 of 46
(1,065 Views)

Hello Simon,
"Line profiling" in your script and suggestion of using mask gave me ideas to solve my problem. Thank you. 

0 Kudos
Message 46 of 46
(1,058 Views)