Automatic Shape Grading of Pearl Using Machine Vision Based Measurement

2010 ◽  
Vol 437 ◽  
pp. 389-392
Author(s):  
Yan Long Cao ◽  
Hua Wen Zheng ◽  
Jiang Xin Yang ◽  
Yuan Feng He

A method of automatic shape grading of pearl using machine vision is presented in this paper. Firstly, the preprocessed color image is segmented according to its grey degree histogram. Then the morphological closing operation is adopted to eliminate the noise points. An 8-directional boundary-tracing algorithm is applied to obtain the sequences of the boundary. And then the Euclidean distance between the pearls under checking is compared with ones in the standard template library, which is utilized to distinguish the pearls’ shape. Finally the experimental result demonstrates the validity and practicability of this method.

2012 ◽  
Vol 9 (3) ◽  
pp. 1187-1202
Author(s):  
Zalán Szűgyi ◽  
Márk Török ◽  
Norbert Pataki ◽  
Tamás Kozsik

Nowadays, one of the most important challenges in programming is the efficient usage of multicore processors. All modern programming languages support multicore programming at native or library level. C++11, the next standard of the C++ programming language, also supports multithreading at a low level. In this paper we argue for some extensions of the C++ Standard Template Library based on the features of C++11. These extensions enhance the standard library to be more powerful in the multicore realm. Our approach is based on functors and lambda expressions, which are major extensions in the language. We contribute three case studies: how to efficiently compose functors in pipelines, how to evaluate boolean operators in parallel, and how to efficiently accumulate over associative functors.


Sign in / Sign up

Export Citation Format

Share Document