Summary of the invention
Based on this, be necessary to provide a kind of simple in structure, easy to use, thereby improve housing pick-up unit and the objective table thereof of detection efficiency.
An objective table, with carrying housing to be detected, described objective table comprises:
Stationary fixture, for supporting and fix described housing, the one side that described stationary fixture supports described housing is supporting surface; And
Catoptron, be installed on described stationary fixture, described catoptron is four, and the edge setting around described stationary fixture, the reflecting surface of four described catoptrons is all towards the center of described stationary fixture, in four described catoptrons, be parallel to each other between two and be oppositely arranged, with around forming a rectangle frame structure, described catoptron and described supporting surface can become to be greater than the angle of 90 degree;
Wherein, when described housing is carried on described stationary fixture, described housing is positioned at described rectangle frame, and the imaging in four described catoptrons respectively of the side of described housing.
In an embodiment, described catoptron is arranged at the edge of described stationary fixture rotationally therein, and it is rotatable that described catoptron is equivalent to the edge of described stationary fixture, to adjust the angle between described catoptron and described supporting surface.
Therein in an embodiment, described catoptron with respect to described stationary fixture slidably, to change the distance between two described catoptrons that are oppositely arranged.
A housing pick-up unit, comprising:
Objective table as described in any one in above preferred embodiment;
Image acquisition device, for gathering the image information of housing side described in described housing front and described catoptron;
Processor, is connected with described image acquisition device communication, for obtaining described image information, and described image information is processed, to obtain dimension information and the defect information of described housing.
In an embodiment, described image acquisition device is camera therein.
In an embodiment, described processor comprises therein:
Region extraction module, for described image information is changed into gray-scale map, and extracts by region-growing method described gray-scale map, to obtain the gray-scale map in region to be detected.
Conversion module, for carrying out Fourier transform to the gray-scale map in described region to be detected, to obtain spectrogram;
Convolution module, carries out convolution for described spectrogram;
Image-forming module, for carrying out inverse fourier transform to convolution results, to obtain defect image;
Defect extraction module, for described defect image is carried out to Threshold segmentation, to obtain described defect information.
Therein in an embodiment,, also comprise display, described display is connected with described processor communication, and described display is used for showing described dimension information and described defect information.
Above-mentioned housing pick-up unit and objective table thereof, when housing to be detected is carried on stationary fixture, the imaging in four catoptrons respectively of the side of housing.During detection, image acquisition device and housing vis-a-vis are arranged.Because catoptron and the supporting surface of stationary fixture can become to be greater than the angle of 90 degree, therefore image acquisition device can gather the image information of four catoptron middle shell sides and the image information in housing front simultaneously.Therefore, only need by an image acquisition device, just image acquisition is carried out in and side positive to housing simultaneously.Because above-mentioned housing pick-up unit only need be used an image acquisition device, simple in structure.Therefore, during detection, need not debug a plurality of cameras, easy to use, thus effectively improve the efficiency that housing detects.
Embodiment
For the ease of understanding the present invention, below with reference to relevant drawings, the present invention is described more fully.In accompanying drawing, provided preferred embodiment of the present invention.But the present invention can realize in many different forms, be not limited to embodiment described herein.On the contrary, providing the object of these embodiment is to make to the understanding of disclosure of the present invention more thoroughly comprehensively.
It should be noted that, when element is called as " being fixed on " another element, can directly can there is element placed in the middle in it on another element or also.When an element is considered to " connection " another element, it can be directly connected to another element or may have centering elements simultaneously.
Unless otherwise defined, all technology of using are herein identical with the implication that belongs to the common understanding of those skilled in the art of the present invention with scientific terminology.The term using in instructions of the present invention herein, just in order to describe the object of specific embodiment, is not intended to be restriction the present invention.Term as used herein " and/or " comprise one or more relevant Listed Items arbitrarily with all combinations.
Refer to Fig. 1, the housing pick-up unit 10 in preferred embodiment of the present invention comprises objective table 100, image acquisition device 102 and processor 104.Wherein, objective table 100 is for carrying housing to be detected 20.Objective table 100 comprises stationary fixture 110 and catoptron 130.
Stationary fixture 110 is for supporting and stationary housing 20.The one side of stationary fixture 110 support housings 20 is supporting surface (not shown).Concrete, stationary fixture 110 can be platy structure, and supporting surface is to contact with housing 110 and parallel one side in platy structure.Stationary fixture 110 also can be with other energy support housing 20 structures such as the frameworks of locating clip, and supporting surface is the plane at housing 20 and stationary fixture 110 place that has point of contact.
Catoptron 130 is installed on stationary fixture 110.Catoptron 130 is four, and around the edge setting of stationary fixture 110.The reflecting surface of four catoptrons 130, all towards stationary fixture 110 center, is parallel to each other between two and is oppositely arranged in four catoptrons 130, with around forming a rectangle frame structure.In addition, catoptron 120 and supporting surface can become to be greater than the angle of 90 degree.
Wherein, when housing 20 is carried on stationary fixture 110, housing 20 is positioned at this rectangle frame, and the imaging in four catoptrons 130 respectively of the side of housing 20.In addition, due to catoptron 130 and the supporting surface of stationary fixture 110, can become to be greater than the angle of 90 degree.Therefore,, from the direction of the vis-a-vis with housing 20, can be observed the reflected image of side in catoptron 130.
In the present embodiment, catoptron 130 is arranged at the edge of stationary fixture 110 rotationally, and it is rotatable that catoptron 130 is equivalent to the edge of stationary fixture 110, to adjust the angle between catoptron 130 and supporting surface.
Concrete, catoptron 130 can be realized and being rotatably mounted by the structures such as rotating shaft, pivot and stationary fixture 100.By rotating mirror 130, the imaging effect of the side that can make housing 20 in catoptron 130 is best.Specifically in the present embodiment, rotating mirror 130, so that catoptron 130 and housing 20 sides are in angle of 45 degrees, thereby makes the deformation of side imaging in catoptron 130 of housing 20 minimum.
Be appreciated that in other embodiments, catoptron 130 can be fixedly installed on stationary fixture 110, and makes catoptron 130 inclination predetermined angle.
In the present embodiment, catoptron 130 with respect to stationary fixture 110 slidably, to change the distance between two catoptrons 130 that are oppositely arranged.
Concrete, catoptron 130 can pass through the structures such as slide rail, chute to be realized and being connected with stationary fixture 110.Because the size of distinct electronic apparatuses is different, therefore the size of housing 20 to be detected is also various.By sliding reflection mirror 130, can change the distance between two catoptrons 130 that are oppositely arranged, to change the size of rectangle frame, thereby the size of rectangle frame can be matched with the size of the housing 20 of Multiple Type.Therefore, make objective table 100 can carry the housing 20 of Multiple Type, thus easy to use, and expand the range of application of housing pick-up unit 10.
Be appreciated that in other embodiments, catoptron 130 also can be fixed on a certain position of stationary fixture 110, does not affect housing pick-up unit 10 its major functions.
Image acquisition device 102 is for gathering the image information of housing 20 fronts and catoptron 130 middle shell 20 sides.Concrete, when housing 20 to be detected is detected, housing 20 is carried on stationary fixture 110.The vis-a-vis setting of image acquisition device 102 and housing 20, and make catoptron 130 and supporting surface become to be greater than the angle of 90 degree.Image acquisition device 102 is moved to predeterminated position, just can collect the image information of housing 20 fronts and catoptron 130 middle shell sides simultaneously.
Specifically in the present embodiment, image acquisition device 102 is camera.Be appreciated that in other embodiments, image acquisition device 102 also can be video camera, image pick-up card etc.
Processor 104 is connected with image acquisition device 102 communications, for obtaining image information, and image information is processed, to obtain dimension information and the defect information of housing 20.Concrete, the dimension information obtaining comprises width, day line width, earpiece holes diameter, USB (the Universal Serial Bus USB (universal serial bus)) hole width of housing 20 sides, thereby judges according to dimension information whether the processing of housing 20 meets designing requirement in advance.Defect information refers to the shape of defect point on housing 20, if image information is processed, can obtain the defect shape on housing 20, represents to have defect on housing 20.
In the present embodiment, processor 104 comprises region extraction module 1041, conversion module 1043, convolution module 1045, image-forming module 1047 and defect extraction module 1049.
When detecting defect, the mobile phone key that housing 20 sides comprise, earpiece holes, USB hole be not for needing to detect the region of defect.Because above-mentioned zone exists projection or shrinkage pool, therefore can cause interference to housing 20 defects detection.Therefore, before defects detection, above-mentioned zone should be got rid of, to obtain the region to be detected except button, hole on housing 20.Region extraction module 1041 is for image information is changed into gray-scale map, and gray-scale map is extracted by region-growing method, to obtain the gray-scale map in region to be detected.
Region-growing method: be a kind of process in larger region that pixel or subregion aggregated into according to the criterion of predefined.Basic skills is to start with one group " Seed Points ", and the neighbor similar to " Seed Points " character appended on each seed of growth district.Specifically in the present embodiment, choose the gray-scale value of certain pixel in region to be detected as " Seed Points ", the neighbor similar to this gray-scale value appended on each seed of growth district, thereby reach the object of extracting region to be detected.
Conversion module 1043 carries out Fourier transform for treating the gray-scale map of surveyed area.Convolution module 1045 is for carrying out convolution to the result of Fourier transform.Image-forming module 1045 is for carrying out inverse fourier transform to convolution results, to obtain defect image.Defect extraction module 1049 is for carrying out Threshold segmentation to defect image, to obtain defect information.Threshold segmentation obtains the region of pixel between the threshold interval arranging.Because gray scale and other regions of the pixel of defect point distinguishes, by being set, threshold interval just defect point can be extracted separately.
Convolution: use the wave filter in frequency domain to carry out convolution to image.Concrete, the pixel value of image after Fourier transform is multiplied by the corresponding pixel value of filter graph picture, filter graph look like be pre-created with detected gray level image image of the same size.Image after convolution, for inverse Fourier transform, can make defect feature in the image of inverse transformation more obvious, is convenient to cut apart.
For the ease of showing dimension information and the defect information of housing 20.In the present embodiment, housing pick-up unit 100 also comprises display 106.Display 106 is connected with processor 104 communications, and display 106 is for display size information and defect information.
After obtaining the dimension information of housing 20, the dimension information of housing 20 and the size of design are in advance contrasted to demonstration, whether the size that just can pick out clearly housing 20 is qualified.And, the defect information of obtaining is shown, just can recognize clearly housing 20 and whether have defect, and the general shape of defect.
Be appreciated that in other embodiments, display 106 can omit, and can be by processor 104 is connected with external connection display equipment, to reach the object that shows housing 20 dimension informations and defect information.
Housing pick-up unit 10 and objective table 100 thereof, when housing 20 to be detected is carried on stationary fixture 110, the imaging in four catoptrons 130 respectively of the side of housing 20.During detection, by image acquisition device 102 and housing 20 vis-a-vis settings.Because catoptron 130 and the supporting surface of stationary fixture 110 can become to be greater than the angle of 90 degree, therefore image acquisition device 102 can gather the image information of four catoptrons, 130 middle shell 20 sides and the image information in housing 20 fronts.Therefore, only need by an image acquisition device 102, just image acquisition is carried out in and side positive to housing 20 simultaneously.Because 10 of housing pick-up units need to use an image acquisition device 102, simple in structure.Therefore, during detection, need not debug a plurality of cameras, easy to use, thus effectively improve the efficiency that housing detects.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.