CN109008950A - A kind of calibration method of direct-injection type machine-vision lighting system - Google Patents
A kind of calibration method of direct-injection type machine-vision lighting system Download PDFInfo
- Publication number
- CN109008950A CN109008950A CN201810356260.0A CN201810356260A CN109008950A CN 109008950 A CN109008950 A CN 109008950A CN 201810356260 A CN201810356260 A CN 201810356260A CN 109008950 A CN109008950 A CN 109008950A
- Authority
- CN
- China
- Prior art keywords
- optical signalling
- graphic element
- graph data
- output
- lighting system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/0059—Measuring for diagnostic purposes; Identification of persons using light, e.g. diagnosis by transillumination, diascopy, fluorescence
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/0059—Measuring for diagnostic purposes; Identification of persons using light, e.g. diagnosis by transillumination, diascopy, fluorescence
- A61B5/0077—Devices for viewing the surface of the body, e.g. camera, magnifying lens
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/0059—Measuring for diagnostic purposes; Identification of persons using light, e.g. diagnosis by transillumination, diascopy, fluorescence
- A61B5/0082—Measuring for diagnostic purposes; Identification of persons using light, e.g. diagnosis by transillumination, diascopy, fluorescence adapted for particular medical purposes
- A61B5/0088—Measuring for diagnostic purposes; Identification of persons using light, e.g. diagnosis by transillumination, diascopy, fluorescence adapted for particular medical purposes for oral or dental tissue
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B2560/00—Constructional details of operational features of apparatus; Accessories for medical measuring apparatus
- A61B2560/02—Operational features
- A61B2560/0223—Operational features of calibration, e.g. protocols for calibrating sensors
- A61B2560/0228—Operational features of calibration, e.g. protocols for calibrating sensors using calibration standards
- A61B2560/0233—Optical standards
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Medical Informatics (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Physics & Mathematics (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Dentistry (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Measuring And Recording Apparatus For Diagnosis (AREA)
Abstract
The present invention provides a kind of calibration method of direct-injection type machine-vision lighting system, the lighting system includes: graph data generating means, can generate the graph data illuminated required for machine vision;Optical signalling output device, the optical signalling of illumination required for machine vision capable of being exported according to the graph data;The graph data is corresponding with object being observed shape, and is divided into one or more graphic elements;The described method includes: providing the master pattern of object being observed, the master pattern is made to be in the observation scope of machine vision;The step of optical signalling of the graph data of the output is aligned with the master pattern;Brightness calibration step;Colour temperature calibration steps.The present invention can calibrate lighting system, so that can more precisely control the illumination of the tongue to tested patient during the diagnosis of tongue picture, to obtain higher-quality tongue image, guarantee the correct of subsequent image analysis and diagnosis.
Description
Technical field
The present invention relates to a kind of lighting systems for machine vision, are especially used for tcm diagnosis expert system or auxiliary
The lighting system of diagnostic system.
Background technique
" prestige " that lingual diagnosis belongs in the Chinese medicine four methods of diagnosis is examined, and tcm diagnosis mode is important.Lingual diagnosis only needs the tongue picture of patient,
Without the auxiliary of complex diagnostics instrument, have the characteristics that at low cost, effect is good, interference of traditional lingual diagnosis by external factor,
It cannot be guaranteed that the objectivity of diagnostic result, therefore the automation of TCM tongue diagnosis, the research that objectifies are of great significance.
Machine vision is fast-developing branch of artificial intelligence.In brief, machine vision is exactly to use machine
It measures and judges instead of human eye.NI Vision Builder for Automated Inspection is by machine vision product (i.e. image-pickup device, such as CMOS
And CCD) target will be ingested be converted into picture signal, it sends dedicated image processing system to, obtains the form of target subject
Information is transformed into digitized signal according to the information such as pixel distribution and brightness, color;Picture system carries out these signals each
Operation is planted to extract clarification of objective, and then controls the device action at scene according to the result of differentiation.
Existing image-pickup device can be sent out using lighting systems such as flash lamp, LED when the Image Acquisition for lingual diagnosis
Raw reflective phenomenon is difficult to differentiate between to form the overexposure region of white on tongue picture with the tongue fur region of white.Therefore, originally
Field need it is a kind of for for tongue picture diagnosis NI Vision Builder for Automated Inspection lighting system, can be avoided it is reflective caused by interference,
Improve picture quality.
Summary of the invention
The purpose of the present invention is to provide a kind of lighting systems for the NI Vision Builder for Automated Inspection for the diagnosis of tongue picture, can
Avoid it is reflective caused by interference, improve picture quality.
Technical scheme is as follows.
A kind of calibration method of the lighting system for machine vision, the lighting system include:
Graph data generating means can generate the graph data illuminated required for machine vision;
Optical signalling output device, the optics letter of illumination required for machine vision capable of being exported according to the graph data
Number;
The graph data is corresponding with object being observed shape, and is divided into one or more graphic elements;
The described method includes:
The master pattern of object being observed is provided, the master pattern is made to be in the observation scope of machine vision;
The step of optical signalling of the graph data of the output is aligned with the master pattern;
Brightness calibration step;
Colour temperature calibration steps.
Preferably, the optical signalling of the graphic element is output to the master pattern by the optical signalling output device
On.
It preferably, further include to the optical signalling output device before the brightness calibration step, colour temperature calibration steps
The step of preheating.
Preferably, the step of optical signalling of the graphic element by the output is aligned with the master pattern
Include:
The imaging plane of the optical signalling output device is focused on into the master pattern and is observed surface;
The output scaling of the graphic element is adjusted to minimum;
Increase the output scaling of the graphic element step by step and records reality output graphic element size and corresponding optical path
Adjustment unit scale error, until scaling is maximum;
Set the optical signalling output device to the scaling when error minimum.
Preferably, the brightness calibration step includes:
A graphic element in the graph data is chosen, corresponding output optical signalling closes the optics of other graphic elements
Signal;
The brightness value for the optical signalling that the graphic element of selection exports is adjusted to minimum;
Increase the brightness of the optical signalling of the graphic element output and the illumination model by the master pattern of object being observed step by step
It encloses with brightness storage to the graph data generating means, until the brightness for exporting optical signalling reaches maximum;
The graphic element chosen is replaced, is repeated the above steps.
Preferably, the colour temperature calibration steps colour temperature calibration steps includes:
Standard color comparison card is placed on being observed at surface of the master pattern;
A graphic element in the graph data is chosen, corresponding output optical signalling closes the optics of other graphic elements
Signal;
The color temperature value for the optical signalling that the graphic element of selection exports is adjusted to minimum;
Increase the color temperature value of the optical signalling of the graphic element output and the illumination zone and color of record standard colorimetric card step by step
Temperature, until the color temperature value of output optical signalling reaches maximum;
The graphic element chosen is replaced, is repeated the above steps.
Preferably, the colour temperature calibration steps further comprises:
Calculate the corresponding illumination zone of each graphic element and color temperature distribution data;
The illumination zone and color temperature distribution data are stored to the graph data generating means.
By above technical scheme, the present invention can calibrate lighting system, so that energy during the diagnosis of tongue picture
The illumination of the tongue to tested patient is enough more precisely controlled, to obtain higher-quality tongue image, guarantees subsequent figure
It is correct as what is analyzed and diagnosed.
Detailed description of the invention
Fig. 1 is lighting system structure schematic diagram of the invention.
Fig. 2 is tongue according to the present invention as diagnostic system structural schematic diagram.
Fig. 3 is lingual diagnosis image schematic diagram.
The meaning of each appended drawing reference is as follows in figure:
P optical signalling output device, C image acquiring device, the face for the patient that F is observed, the tongue for the patient that T is observed
Head.
Specific embodiment
As shown in Fig. 1, a kind of lighting system for machine vision provided by the invention, comprising:
Graph data generating means can generate the graph data illuminated required for machine vision;
Optical signalling output device, the optics letter of illumination required for machine vision capable of being exported according to the graph data
Number;
Wherein, the graph data is corresponding with object being observed shape, and is divided into one or more graphic elements.
Preferably, the optical signalling of the lighting system output is white light.
Specifically, the graph data generating means can obtain the initial pictures of object being observed, and according to described first
Beginning image generates the graph data.
Specifically, the graph data generating means are extracted from the initial pictures using image partition method is seen
The data of object shape are surveyed, and generate the graph data according to the data of the object being observed shape.
Specifically, described image dividing method is selected from: the dividing method based on threshold value, the dividing method based on region, base
Dividing method in region, and the dividing method based on specific theory.
Specifically, the dividing method based on specific theory includes feature space clustering procedure, fuzzy set theory segmentation side
Method, gene code division method, wavelet transformation dividing method.
In an optional embodiment, the graph data includes white light graph data and monochromatic light graph data.
Specifically, the optical signalling of the graphic element is output to object being observed by the optical signalling output device
On.
In an optional embodiment, the graph data includes a figure that can cover whole optical path adjustment units
Unit.
In an optional embodiment, the graph data includes multiple graphic elements, and in each graphic element
With different filling patterns.
As shown in Fig. 2, tongue of the invention is as diagnostic device, including control device, image acquiring device, and according to above
Lighting system described in any one of technical solution.
Before carrying out the diagnosis of tongue picture, generally tongue is calibrated as the lighting system in diagnostic device, the side of calibration
Method includes the following steps.
The master pattern for being observed patient's tongue is provided, the master pattern is made to be in the observation scope of machine vision;
The step of optical signalling of the graph data of the output is aligned with the master pattern;
Brightness calibration step;
Colour temperature calibration steps.
Specifically, the optical signalling of the graphic element is output to the master pattern by the optical signalling output device
On.
It specifically, further include to the optical signalling output device before the brightness calibration step, colour temperature calibration steps
The step of preheating.
Specifically, the step of optical signalling of the graphic element by the output is aligned with the master pattern
Include:
The imaging plane of the optical signalling output device is focused on into the master pattern and is observed surface;
The output scaling of the graphic element is adjusted to minimum;
Increase the output scaling of the graphic element step by step and records reality output graphic element size and corresponding optical path
Adjustment unit scale error, until scaling is maximum;
Set the optical signalling output device to the scaling when error minimum.
Specifically, the brightness calibration step includes:
A graphic element in the graph data is chosen, corresponding output optical signalling closes the optics of other graphic elements
Signal;
The brightness value for the optical signalling that the graphic element of selection exports is adjusted to minimum;
Increase the brightness of the optical signalling of the graphic element output and the illumination model by the master pattern of object being observed step by step
It encloses with brightness storage to the graph data generating means, until the brightness for exporting optical signalling reaches maximum;
The graphic element chosen is replaced, is repeated the above steps.
Specifically, the colour temperature calibration steps colour temperature calibration steps includes:
Standard color comparison card is placed on being observed at surface of the master pattern;
A graphic element in the graph data is chosen, corresponding output optical signalling closes the optics of other graphic elements
Signal;
The color temperature value for the optical signalling that the graphic element of selection exports is adjusted to minimum;
Increase the color temperature value of the optical signalling of the graphic element output and the illumination zone and color of record standard colorimetric card step by step
Temperature, until the color temperature value of output optical signalling reaches maximum;
The graphic element chosen is replaced, is repeated the above steps.
Specifically, the colour temperature calibration steps further comprises:
Calculate the corresponding illumination zone of each graphic element and color temperature distribution data;
The illumination zone and color temperature distribution data are stored to the graph data generating means.
As shown in figure 3, the image of the tested patient of image acquiring device shooting includes the face of patient.The tongue picture diagnosis
Device further comprises image processing apparatus, and the image of the tongue of patient can be extracted from image, further to execute
Analysis and diagnosis.
The present invention is described in detail above, specific case used herein is to the principle of the present invention and embodiment party
Formula is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas.For this
The those skilled in the art in field, according to the thought of the present invention, there will be changes in the specific implementation manner and application range,
In conclusion the contents of this specification are not to be construed as limiting the invention.
Claims (7)
1. a kind of calibration method of the lighting system for machine vision, the lighting system include:
Graph data generating means can generate the graph data illuminated required for machine vision;
Optical signalling output device, the optics letter of illumination required for machine vision capable of being exported according to the graph data
Number;
The graph data is corresponding with object being observed shape, and is divided into one or more graphic elements;
The described method includes:
The master pattern of object being observed is provided, the master pattern is made to be in the observation scope of machine vision;
The step of optical signalling of the graph data of the output is aligned with the master pattern;
Brightness calibration step;
Colour temperature calibration steps.
2. the calibration method of lighting system according to claim 1, which is characterized in that the optical signalling output device will
The optical signalling of the graphic element is output on the master pattern.
3. the calibration method of lighting system according to claim 1, which is characterized in that the brightness calibration step, colour temperature
Further include the steps that preheating the optical signalling output device before calibration steps.
4. the calibration method of lighting system according to any one of claim 1-3, which is characterized in that it is described will be described defeated
The step of optical signalling of the graphic element out is aligned with the master pattern include:
The imaging plane of the optical signalling output device is focused on into the master pattern and is observed surface;
The output scaling of the graphic element is adjusted to minimum;
Increase the output scaling of the graphic element step by step and records reality output graphic element size and corresponding optical path
Adjustment unit scale error, until scaling is maximum;
Set the optical signalling output device to the scaling when error minimum.
5. the calibration method of lighting system according to any one of claim 1-3, which is characterized in that the brightness calibration
Step includes:
A graphic element in the graph data is chosen, corresponding output optical signalling closes the optics of other graphic elements
Signal;
The brightness value for the optical signalling that the graphic element of selection exports is adjusted to minimum;
Increase the brightness of the optical signalling of the graphic element output and the illumination model by the master pattern of object being observed step by step
It encloses with brightness storage to the graph data generating means, until the brightness for exporting optical signalling reaches maximum;
The graphic element chosen is replaced, is repeated the above steps.
6. the calibration method of lighting system according to any one of claim 1-3, which is characterized in that the colour temperature calibration
Step colour temperature calibration steps includes:
Standard color comparison card is placed on being observed at surface of the master pattern;
A graphic element in the graph data is chosen, corresponding output optical signalling closes the optics of other graphic elements
Signal;
The color temperature value for the optical signalling that the graphic element of selection exports is adjusted to minimum;
Increase the color temperature value of the optical signalling of the graphic element output and the illumination zone and color of record standard colorimetric card step by step
Temperature, until the color temperature value of output optical signalling reaches maximum;
The graphic element chosen is replaced, is repeated the above steps.
7. the calibration method of lighting system according to claim 6, which is characterized in that the colour temperature calibration steps is further
Include:
Calculate the corresponding illumination zone of each graphic element and color temperature distribution data;
The illumination zone and color temperature distribution data are stored to the graph data generating means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810356260.0A CN109008950A (en) | 2018-04-19 | 2018-04-19 | A kind of calibration method of direct-injection type machine-vision lighting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810356260.0A CN109008950A (en) | 2018-04-19 | 2018-04-19 | A kind of calibration method of direct-injection type machine-vision lighting system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109008950A true CN109008950A (en) | 2018-12-18 |
Family
ID=64630167
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810356260.0A Pending CN109008950A (en) | 2018-04-19 | 2018-04-19 | A kind of calibration method of direct-injection type machine-vision lighting system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109008950A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2766771Y (en) * | 2004-12-17 | 2006-03-29 | 北京工业大学 | Integrating sphere type TCM tongue picture collection apparatus |
TW200623017A (en) * | 2004-12-31 | 2006-07-01 | Committee On Chinese Medicine And Pharmacy Dept Of Health | Tongue diagnosis systems and methods |
CN105030200A (en) * | 2015-07-24 | 2015-11-11 | 天津大学 | Traditional Chinese medicine tongue body and tongue coating separation method based on green monochromatic source |
CN106821287A (en) * | 2017-01-03 | 2017-06-13 | 中国科学院上海光学精密机械研究所 | Portable mouth cavity detector and detection method |
-
2018
- 2018-04-19 CN CN201810356260.0A patent/CN109008950A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2766771Y (en) * | 2004-12-17 | 2006-03-29 | 北京工业大学 | Integrating sphere type TCM tongue picture collection apparatus |
TW200623017A (en) * | 2004-12-31 | 2006-07-01 | Committee On Chinese Medicine And Pharmacy Dept Of Health | Tongue diagnosis systems and methods |
CN105030200A (en) * | 2015-07-24 | 2015-11-11 | 天津大学 | Traditional Chinese medicine tongue body and tongue coating separation method based on green monochromatic source |
CN106821287A (en) * | 2017-01-03 | 2017-06-13 | 中国科学院上海光学精密机械研究所 | Portable mouth cavity detector and detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110326024B (en) | Method and apparatus for processing histological images captured by a medical imaging apparatus | |
EP1587414B1 (en) | A pupilometer | |
JP6783895B2 (en) | Methods and Related Devices for Producing Contrast Images with Reduced Reflection | |
WO2008115547A1 (en) | A method of automated image color calibration | |
KR20040102038A (en) | A method for encoding image pixels, a method for processing images and a method for processing images aimed at qualitative recognition of the object reproduced by one or more image pixels | |
CN110495888B (en) | Standard color card based on tongue and face images of traditional Chinese medicine and application thereof | |
CN103829924B (en) | Apparatus and method for generating tomography images | |
US10485425B2 (en) | Apparatus and methods for structured light scatteroscopy | |
CN106295626B (en) | Iris lens, iris photographing device and iris analysis method | |
WO2015025517A1 (en) | Observation image capturing and evaluation device, method, and program | |
CN110960193A (en) | Traditional Chinese medicine diagnosis analysis system and method based on face and tongue image acquisition | |
CN103610444A (en) | Multi-point three-dimensional tongue image acquisition unit for tongue diagnosis equipment | |
CN117252875A (en) | Medical image processing method, system, medium and equipment based on hyperspectral image | |
CN109008950A (en) | A kind of calibration method of direct-injection type machine-vision lighting system | |
CN108986128A (en) | A kind of direct-injection type lighting system for machine vision | |
CN109040606A (en) | A kind of direct-injection type machine-vision lighting system with visual feedback | |
CN108769507A (en) | A kind of direct-injection type single color lighting system for machine vision | |
US20160210746A1 (en) | Organ imaging device | |
CN109044269A (en) | A kind of reflective lighting system for machine vision | |
CN109008951A (en) | A kind of calibration method of reflectometry tool visual illumination system | |
CN108109682A (en) | A kind of medical image identifying system and its method | |
CN108899074A (en) | A kind of reflectometry tool visual illumination system with visual feedback | |
CN111317462B (en) | Blood flow imaging method and device based on U-net neural network | |
CN108742525A (en) | A kind of reflective single color lighting system for machine vision | |
CN111419173B (en) | Macular pigment density measurement method and device based on fundus image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181218 |
|
RJ01 | Rejection of invention patent application after publication |