CN113834449B - Visual angle detection method and device for medical display - Google Patents

Visual angle detection method and device for medical display Download PDF

Info

Publication number
CN113834449B
CN113834449B CN202111409278.0A CN202111409278A CN113834449B CN 113834449 B CN113834449 B CN 113834449B CN 202111409278 A CN202111409278 A CN 202111409278A CN 113834449 B CN113834449 B CN 113834449B
Authority
CN
China
Prior art keywords
arm
coordinate system
rotating arm
camera
mechanical arm
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.)
Active
Application number
CN202111409278.0A
Other languages
Chinese (zh)
Other versions
CN113834449A (en
Inventor
姜伟平
李林
张雪梅
董平
王鹏
邢立腾
李冰莹
张帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Institute Of Econometrics (jiangsu Energy Measurement Data Center)
Southeast University
Original Assignee
Jiangsu Institute Of Econometrics (jiangsu Energy Measurement Data Center)
Southeast University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Jiangsu Institute Of Econometrics (jiangsu Energy Measurement Data Center), Southeast University filed Critical Jiangsu Institute Of Econometrics (jiangsu Energy Measurement Data Center)
Priority to CN202111409278.0A priority Critical patent/CN113834449B/en
Publication of CN113834449A publication Critical patent/CN113834449A/en
Application granted granted Critical
Publication of CN113834449B publication Critical patent/CN113834449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/26Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
    • G01M11/02Testing optical properties

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to a visual angle detection method and a visual angle detection device for a medical display, which belong to the technical field of instrument optical detection, and the method comprises the steps of displaying an image target in the central area of the medical display, and converting the display coordinate system into a mechanical arm coordinate system; calibrating the relative positions of the camera, the mechanical arm and the medical display, and calculating and planning the motion track of the brightness meter held at the tail end of the mechanical arm; after each 1 degree angle shift, the luminance ratio at that position is calculated. The device is including being fixed in camera and the luminance meter at the arm end, and camera and luminance meter are parallel to each other, all are perpendicular with the axial of the terminal rotation axis of the activity of arm. The invention realizes the field automatic calibration of the visual angle parameter of the medical display. The complicated support building, positioning and adjusting processes are not needed, so that the field calibration and detection of the visible angle parameters of the medical display can be conveniently carried out, and the working quality and the working efficiency are greatly improved.

Description

Visual angle detection method and device for medical display
Technical Field
The invention relates to a visual angle detection method and a visual angle detection device for a medical display, and belongs to the technical field of optical detection of instruments.
Background
With the continuous promotion of high-quality development of the medical industry, the digitalization process of hospitals at all levels is effectively promoted, and the popularity of digital medical displays (PACS) is increased year by year. The medical image diagnosis instruments including ultrasound, DR, CT, MRI and the like are equipped with professional medical displays as terminal presentation equipment of the PACS system, and the accuracy and reliability of the current medical image diagnosis depend on the quality of medical images presented by the medical displays to a great extent. Medical displays are more and more common in clinical use occasions such as operating rooms and multi-expert consultation, so that the requirement on visual angle parameters is more and more emphasized.
The published national calibration specification JJF 1746 and 2019 medical image diagnosis display system calibration specification take the visual angle as one of important measurement parameters, and provide a reference index that the horizontal visual angle and the vertical visual angle are not less than 150 degrees. The existing visual angle detection device mainly has two types, namely a guide rail type and a rotary table type, the size and the weight are not suitable for developing field detection, the detection of a vertical visual angle cannot be developed under the condition that a medical display does not have a rotary screen function, and when actual calibration work is developed, the measurement of a visual angle parameter is also one of the most time-consuming and labor-consuming items. Therefore, developing a set of measuring device for field calibration aiming at developing rapid and efficient automatic detection of visible angle parameters of a medical display is a research work with practical requirements in the field of current medical measurement.
Patent document CN107463789A provides an integrated automatic calibration device for medical display. The luminance meter and the colorimeter are fixed on the rotating table and the balance supporting mechanism, and the balance supporting mechanism moves back and forth, left and right and up and down along the guide rail. This calibration device is bulky and is only suitable for use in fixed locations. Also, when the display plane is not perpendicular to the desktop, calibration is difficult to perform. The existing design is not suitable for carrying out the field calibration work of the medical display, particularly the construction of a visual angle detection device, is relatively complex, has certain requirements on the size and the shape of a base of the medical display, and limits the application range of the medical display. Meanwhile, the high-resolution liquid crystal screen of the medical display belongs to fragile products, the transportation requirement is high in the process of a submission laboratory, and in addition, the medical display is an indispensable terminal display part of each medical imaging device, and the timeliness of the submission laboratory can hardly meet the clinical requirements of hospitals.
Disclosure of Invention
The invention aims to provide a method and a device for detecting visual angle parameters of a medical display, which solve the problem that the current medical display cannot be calibrated on site and meet the requirements of national calibration standards of the medical display on corresponding technical indexes of the visual angle parameters.
The technical solution for realizing the purpose of the invention is as follows:
a visual angle detection method of a medical display comprises the following operation steps:
step 1: displaying an image target in the central area of the medical display, obtaining a conversion relation between a camera pixel coordinate and a mechanical arm space coordinate through hand-eye calibration, and converting a display coordinate system into a mechanical arm coordinate system;
step 2: calculating the target pose under the mechanical arm coordinate system by using the conversion relation obtained by calibrating the hand eyes, resolving the obtained pose information into a specific output signal by a mechanical arm motion resolving controller through robot inverse kinematics, and driving the tail end of the mechanical arm to move towards the center of the display;
and step 3: calculating the position error between the image center and the target center after the target image is obtained by the camera, driving the mechanical arm to move by taking the position error as a control condition, and compensating the error introduced by the calibration precision and the coordinate conversion in the visual servo positioning process based on the position in the step 2;
and 4, step 4: after the vertical positioning of the tail end of the mechanical arm relative to the central area of the display is completed, calculating and planning the motion trail of the tail end of the mechanical arm: the central point of the display is taken as the center of sphere, the distance between the brightness meter at the initial position and the central point of the display is taken as the radius, and the brightness meter extends in four directions, namely vertical, horizontal and left and right directions;
and 5: taking a brightness meter vertical to the middle area of the display as an initial position, according to the track planned in the step 4, respectively moving the brightness meter held at the tail end of the mechanical arm in a stepping manner along the track in the horizontal left-right direction and the vertical up-down direction at an angle of 1 degree, always aligning the brightness meter to the center of the display in the moving process, reading the luminance measurement values of 100% full white field and 0% full black field of the display once after moving for each angle of 1 degree, and calculating the luminance ratio of the position;
step 6: in the process of moving towards each direction, when the brightness ratio of the position is less than 10, stopping moving continuously, and driving the mechanical arm to return to an initial position vertical to the center of the display;
and 7: the sum of the angles measured by moving according to the horizontal left and right direction tracks is the horizontal visual angle, and the sum of the angles measured by moving according to the vertical upper and lower direction tracks is the vertical visual angle.
Further, step a1, step a 1: the camera (2) and the brightness meter (3) are fixed at the tail end of the mechanical arm, the mechanical arm is fixed in front of the medical display through a support or a chassis, and the brightness meter held at the tail end of the mechanical arm can move along the circular arc tracks in the horizontal and vertical directions of the medical display by taking the center of the medical display as the center of a circle.
Further, the specific process of step 1 is as follows:
establishing a camera coordinate system by using the optical center of the camera, establishing a world coordinate system on the image target, wherein the Z axis of the world coordinate system is vertical to the medical display, the acquired image comprises the characteristic information of the image target, the coordinates of the characteristic points of the image target under the world coordinate system are known, and the following steps are obtained according to the relationship of the characteristic points under the world coordinate system and the camera coordinate system:
Figure 533764DEST_PATH_IMAGE001
the above equation is a conversion relation of the camera coordinate system,
Figure 732795DEST_PATH_IMAGE002
is a matrix of parameters in the camera and is,
Figure 43691DEST_PATH_IMAGE003
is a pose matrix of the world coordinate system of the medical display under the coordinate system of the camera and is expressed as an external parameter matrix of the camera in the coordinate system of the camera,
Figure 235638DEST_PATH_IMAGE004
for feature points in the camera coordinate system
Figure 581169DEST_PATH_IMAGE005
Orientation coordinate and pose matrix
Figure 685522DEST_PATH_IMAGE003
Correlation, in the positioning of medical displays, world coordinates of image target feature points on the medical display
Figure 749293DEST_PATH_IMAGE006
And pixel coordinates
Figure 479352DEST_PATH_IMAGE007
Are all known, camera intrinsic parameters
Figure 695700DEST_PATH_IMAGE002
As known, the medical display image target is a pose transformation matrix from a world coordinate system to a camera coordinate system
Figure 220223DEST_PATH_IMAGE003
And substituting coordinate information of a plurality of characteristic points into the formula to obtain a pose matrix
Figure 505710DEST_PATH_IMAGE003
And positioning the medical display is completed.
Further, the specific process of calculating the target pose under the mechanical arm coordinate system in the step 2 is as follows:
the method comprises the steps of collecting image targets under different poses to carry out hand-eye positioning work of a mechanical arm, placing the image targets in front of the mechanical arm to be fixed, continuously changing the poses of the mechanical arm to collect the image targets with different relative poses, and calculating the positions of the image targets relative to a mechanical arm coordinate system according to the relationship between the poses of the image targets and a camera and the terminal poses of the mechanical arm when each image target is collected.
Further, the specific process of calculating the position error between the image center and the target center in step 3 is as follows:
let the camera coordinate system be
Figure 773881DEST_PATH_IMAGE008
The coordinate system of the end of the mechanical arm
Figure 412165DEST_PATH_IMAGE009
Coordinate system of medical display
Figure 373167DEST_PATH_IMAGE010
The position of the mechanical arm is changed twice, the initial position is regarded as the first moving position, and before moving, the coordinate system of the camera and the coordinate system of the tail end of the mechanical arm are composed of
Figure 145951DEST_PATH_IMAGE011
Figure 952233DEST_PATH_IMAGE012
Represents; after moving, the camera coordinate system and the mechanical arm end coordinate system are composed of
Figure 143174DEST_PATH_IMAGE013
Figure 9499DEST_PATH_IMAGE014
Representing the medical display coordinate system
Figure 269579DEST_PATH_IMAGE010
Inner point
Figure 630285DEST_PATH_IMAGE015
In corresponding four coordinate systems
Figure 659420DEST_PATH_IMAGE011
Figure 962226DEST_PATH_IMAGE012
Figure 444023DEST_PATH_IMAGE013
Figure 608419DEST_PATH_IMAGE014
The point coordinates under the corresponding coordinates are set as
Figure 492061DEST_PATH_IMAGE016
Figure 965768DEST_PATH_IMAGE017
Figure 934861DEST_PATH_IMAGE018
Figure 900018DEST_PATH_IMAGE019
By using the position transformation between coordinate systems, the following relation equation between points is obtained:
Figure 903747DEST_PATH_IMAGE020
from the above formula, one can obtain:
Figure 548355DEST_PATH_IMAGE021
in the formula (I), the compound is shown in the specification,
Figure 4744DEST_PATH_IMAGE022
as a terminal coordinate system
Figure 510942DEST_PATH_IMAGE012
Figure 369177DEST_PATH_IMAGE014
A homogeneous transformation matrix between them
Figure 184686DEST_PATH_IMAGE023
Is a basic coordinate system of the mechanical arm,
Figure 879104DEST_PATH_IMAGE024
Figure 438261DEST_PATH_IMAGE025
as the end coordinate system of the robot arm
Figure 151002DEST_PATH_IMAGE012
Figure 871834DEST_PATH_IMAGE014
And base coordinate system
Figure 53547DEST_PATH_IMAGE023
A homogeneous transformation matrix in between; wherein the content of the first and second substances,
Figure 150816DEST_PATH_IMAGE024
Figure 983643DEST_PATH_IMAGE025
obtained by reading the joint information of the mechanical arm and deducted
Figure 875376DEST_PATH_IMAGE026
It is recorded as
Figure 807035DEST_PATH_IMAGE027
Figure 707995DEST_PATH_IMAGE028
As a terminal coordinate system
Figure 129749DEST_PATH_IMAGE011
Figure 457962DEST_PATH_IMAGE013
The camera coordinate system is obtained through the camera external parameters
Figure 348689DEST_PATH_IMAGE011
Figure 53340DEST_PATH_IMAGE013
Coordinate system of medical displayHomogeneous transformation matrix of cells
Figure 860759DEST_PATH_IMAGE029
Figure 110606DEST_PATH_IMAGE030
From which a relation matrix between the camera coordinate systems can be obtained
Figure 737896DEST_PATH_IMAGE031
It is recorded as
Figure 980659DEST_PATH_IMAGE032
(ii) a Since the position of the camera is fixed, the homogeneous transformation matrix between the camera coordinate system and the end coordinate system is also fixed and recorded as
Figure 377005DEST_PATH_IMAGE003
The formula is written as:
Figure 63332DEST_PATH_IMAGE033
the above formula is a basic equation for calibrating the hand and the eye, and the pose solving process of calibrating the hand and the eye is to obtain a plurality of basic equations according to the poses of a plurality of groups of mechanical arms so as to solve a matrix
Figure 177919DEST_PATH_IMAGE003
The utility model provides a visual angle detection device of medical display, includes arm, camera and luminance meter are fixed in the activity of arm and are terminal, just camera and luminance meter are parallel to each other, all with the axial vertical of the terminal rotation axis of the activity of arm.
Further, the mechanical arm is a six-axis mechanical arm and comprises a first rotating arm, a second rotating arm, a third rotating arm, a fourth rotating arm, a fifth rotating arm and a sixth rotating arm which are sequentially connected and can rotate 360 degrees around respective central axes;
the first rotating arm is vertically arranged on the mounting platform, the central axis of the first rotating arm is perpendicular to the plane of the mounting platform, and the mounting platform is arranged on the bracket or the chassis;
the first rotating arm and the second rotating arm are connected, wherein the axes are vertical to each other;
an arm lever a is connected between the second rotating arm and the third rotating arm, the arm lever a is perpendicular to the central axes of the second rotating arm and the third rotating arm respectively, the central axes of the second rotating arm and the third rotating arm are parallel, when the second rotating arm rotates, the arm lever a rotates around the central axis of the second rotating arm, and the arm lever a drives the third rotating arm to move synchronously;
an arm lever b is connected between the third rotating arm and the fourth rotating arm, the arm lever b is perpendicular to the central axes of the third rotating arm and the fourth rotating arm respectively, the central axes of the third rotating arm and the fourth rotating arm are parallel, one end of the axis of the third rotating arm is provided with an L-shaped transition plate extending forwards, one side of the L-shaped transition plate is fixed with the end face of the third rotating arm, the other side of the L-shaped transition plate is parallel to the central axis of the third rotating arm and is fixed with the head end of the arm lever b, and the tail end of the arm lever b is connected with the axial outer wall of the fourth rotating arm;
the fourth rotating arm and the fifth rotating arm are connected, wherein the axes are vertical to each other;
the fifth rotating arm and the sixth rotating arm are connected, wherein the axes are vertical to each other;
the sixth rocking arm is the activity end, the luminance meter sets up in the axial direction center top of sixth rocking arm, and the luminance meter is parallel with the sixth rocking arm, the camera sets up in the luminance meter top, the axis coplane of camera and luminance meter.
Furthermore, the first rotating arm, the second rotating arm, the third rotating arm, the fourth rotating arm, the fifth rotating arm and the sixth rotating arm are respectively internally provided with an independently controlled servo motor and a communication module, and the independently controlled servo motor and the communication module are used for feeding back the position information of the corresponding rotating arm in time and receiving a control instruction of the servo motor.
Furthermore, the base plate is rectangular, suckers are arranged at positions, close to the four corners, of the bottom surface of the base plate, the suckers are of a cavity structure, and the side walls of the suckers are connected with vacuum-pumping pipes in a through mode.
Compared with the prior art, the invention has the following remarkable advantages:
the invention can realize the field automatic detection of the visual angle detection of the medical display. The method has the advantages that a complex positioning and adjusting process is not needed, the moving path of the tail end of the mechanical arm is automatically planned after hand-eye calibration is completed through machine vision, and the central axis extension line of the brightness meter is ensured to be always aligned to the central area of the display in the detection process. In addition, the current medical display is inconvenient to transport to a laboratory for detection, the cost is high, the risk is high, the field detection can be carried out in the use place of a user by adopting the scheme of the invention, and the detection quality and the working efficiency are greatly improved.
Drawings
Figure 1 is a schematic flow diagram of the present invention,
FIG. 2 is a flow chart of the pose algorithm of the mechanical arm of the present invention,
figure 3 is a schematic flow chart of the calibration of the mechanical arm of the present invention,
figure 4 is a schematic view of the coordinate system for calibration of the robotic arm of the present invention,
figure 5 is a schematic view of the robotic arm of the present invention facing a medical display,
figure 6 is a schematic view of the robotic arm of the present invention rotated to the left side of the medical display,
figure 7 is a schematic view of the robotic arm of the present invention rotated to the right of the medical display,
1-medical display, 2-camera, 3-luminance meter, 4-sixth mechanical arm, 5-fifth mechanical arm, 6-fourth mechanical arm, 7-third mechanical arm, 8-second mechanical arm, 9-first mechanical arm, 10-base, 11-sucking disc, 12-evacuation pipe, 13-mount table.
Detailed Description
The invention is further described with reference to the following figures and embodiments.
The luminance ratio is calculated according to the following formula:
Figure 958793DEST_PATH_IMAGE034
LRthe ratio of the luminance brightness is expressed,L LR,maxindicating when a white field test image is displayed (e.g., 255 gray scale), brightMaximum luminance value, cd/m, measured by a photometer2L LR,maxIndicating the maximum luminance value, cd/m, measured by a luminance meter when a black field test image is displayed (e.g., 0-gradation)2
The ratio of the luminance of the light measured by the luminance meter at each angle is calculated and compared to the 0 ° angle, i.e., the ratio of the luminance of the light perpendicular to the display screen, and if greater than 1.0 or other value, the viewing angle requirement is deemed to be satisfied.
In the visual angle detection, the starting position was set to 0 ° when the luminance meter was vertically aligned with the center of the display. Setting the brightness as a calibration brightness value recommended by a manufacturer; if there is no recommended value, the brightness value is set to 60% of the maximum brightness value that the display can adjust to. Taking the horizontal visual angle as an example, the luminance meter needs to rotate concentrically from the initial position to the left and right along the same horizontal plane until the luminance meter is parallel to the display screen. Namely, the extension line of the central axis of the brightness meter is always aligned with the central area of the display, moves towards the left side and the right side of the display in an arc shape and keeps the distance from the center of the display constant. Similarly, for a vertically viewable angle, the luminance meter needs to be rotated concentrically upward and downward along the same horizontal plane from the starting position to be parallel to the display screen.
The invention aims to conveniently realize the movement of the brightness meter on site, thereby realizing the automation of the monitoring of the visual angle of the medical display; and the brightness ratio of the display is measured at intervals of 1 degree in the rotation and movement process of the luminance meter, so that the detection accuracy is improved.
As can be seen from fig. 1, the specific detection process of the present patent is as follows:
step 1: displaying an image target in the central area of the medical display 1, obtaining a conversion relation between a camera pixel coordinate and a mechanical arm space coordinate through hand-eye calibration, and converting a display coordinate system into a mechanical arm coordinate system;
step 2: calculating the target pose under the mechanical arm coordinate system by using the conversion relation obtained by calibrating the hand eyes, resolving the obtained pose information into a specific output signal by a mechanical arm motion resolving controller through robot inverse kinematics, and driving the tail end of the mechanical arm to move towards the center of the display;
and step 3: calculating the position error between the image center and the target center after the target image is obtained by the camera, driving the mechanical arm to move by taking the position error as a control condition, and compensating the error introduced by the calibration precision and the coordinate conversion in the visual servo positioning process based on the position in the step 2;
and 4, step 4: after the vertical positioning of the tail end of the mechanical arm relative to the central area of the display is completed, calculating and planning the motion trail of the tail end of the mechanical arm: the central point of the display is taken as the center of sphere, the distance between the brightness meter at the initial position and the central point of the display is taken as the radius, and the brightness meter extends in four directions, namely vertical, horizontal and left and right directions;
and 5: taking a brightness meter vertical to the middle area of the display as an initial position, according to the track planned in the step 4, respectively moving the brightness meter held at the tail end of the mechanical arm in a stepping manner along the track in the horizontal left-right direction and the vertical up-down direction at an angle of 1 degree, always aligning the brightness meter to the center of the display in the moving process, reading the luminance measurement values of 100% full white field and 0% full black field of the display once after moving for each angle of 1 degree, and calculating the luminance ratio of the position;
step 6: in the process of moving towards each direction, when the brightness ratio of the position is less than 10, stopping moving continuously, and driving the mechanical arm to return to an initial position vertical to the center of the display;
and 7: the sum of the angles measured by moving according to the horizontal left and right direction tracks is the horizontal visual angle, and the sum of the angles measured by moving according to the vertical upper and lower direction tracks is the vertical visual angle.
Referring to fig. 2, the pose algorithm process of the mechanical arm of the invention is as follows: the method comprises the steps of collecting image targets under different poses to carry out hand-eye positioning work of a mechanical arm, placing the image targets in front of the mechanical arm to be fixed, continuously changing the poses of the mechanical arm to collect the image targets with different relative poses, and calculating the positions of the image targets relative to a mechanical arm coordinate system according to the relationship between the poses of the image targets and a camera and the terminal poses of the mechanical arm when each image target is collected.
The visual servoing system in fig. 2 can use a camera, the camera shoots a calibration pattern (image target) on the display in real time, so as to position the poses of the camera and the luminance meter relative to the display in real time (because the camera and the luminance meter are relatively fixed, the pose of the luminance meter relative to the display screen can be directly obtained by the pose of the camera), the control system controls the movement of the mechanical arm based on the real-time pose of the luminance meter, so that the luminance meter rotates step by 1 degree each time, and the movement track of the luminance meter is required to be ensured in a concentric plane (including a horizontal vertical plane in the left-right direction and/or a vertical plane in the up-down direction) vertical to the display screen. The display alternately displays white field images and black field images, and when the target position is reached, the luminance information of the white field images and the black field images is captured by utilizing the machine vision driven luminance meter, and the luminance ratio is calculated. For example, when the horizontal deflection is 50 degrees to the left, the brightness ratio meets the measurement requirement, and when the horizontal deflection reaches 51 degrees, the brightness ratio exceeds the measurement requirement; and the horizontal deflection is 45 degrees to the right to obtain the brightness ratio meeting the measurement requirement, and the visual angle of the display in the horizontal direction is 95 degrees. Thereby, the process of measuring the light luminance ratio at each step point is completed. Similarly, the vertical direction is measured by deflecting upwards and downwards.
Referring to fig. 3, the calibration process of the mechanical arm of the present invention is: let the camera coordinate system be
Figure 475225DEST_PATH_IMAGE008
The coordinate system of the end of the mechanical arm
Figure 63945DEST_PATH_IMAGE009
Coordinate system of medical display
Figure 665828DEST_PATH_IMAGE010
The position of the mechanical arm is changed twice, the initial position is regarded as the first moving position, and before moving, the coordinate system of the camera and the coordinate system of the tail end of the mechanical arm are composed of
Figure 515972DEST_PATH_IMAGE011
Figure 621331DEST_PATH_IMAGE012
Represents; after moving, the camera coordinate system and the mechanical arm end coordinate system are composed of
Figure 383882DEST_PATH_IMAGE013
Figure 473061DEST_PATH_IMAGE014
Representing the medical display coordinate system
Figure 861317DEST_PATH_IMAGE010
Inner point
Figure 837494DEST_PATH_IMAGE015
In corresponding four coordinate systems
Figure 20214DEST_PATH_IMAGE011
Figure 596689DEST_PATH_IMAGE012
Figure 523056DEST_PATH_IMAGE013
Figure 353740DEST_PATH_IMAGE014
The point coordinates under the corresponding coordinates are set as
Figure 972940DEST_PATH_IMAGE016
Figure 36711DEST_PATH_IMAGE017
Figure 501191DEST_PATH_IMAGE018
Figure 449031DEST_PATH_IMAGE019
By using the position transformation between coordinate systems, the following relation equation between points is obtained:
Figure 239132DEST_PATH_IMAGE020
from the above formula, one can obtain:
Figure 524620DEST_PATH_IMAGE021
in the formula (I), the compound is shown in the specification,
Figure 792790DEST_PATH_IMAGE022
as a terminal coordinate system
Figure 598066DEST_PATH_IMAGE012
Figure 559069DEST_PATH_IMAGE014
A homogeneous transformation matrix between them
Figure 66274DEST_PATH_IMAGE023
Is a basic coordinate system of the mechanical arm,
Figure 154447DEST_PATH_IMAGE024
Figure 329076DEST_PATH_IMAGE025
as the end coordinate system of the robot arm
Figure 195401DEST_PATH_IMAGE012
Figure 721060DEST_PATH_IMAGE014
And base coordinate system
Figure 81765DEST_PATH_IMAGE023
A homogeneous transformation matrix in between; wherein the content of the first and second substances,
Figure 110901DEST_PATH_IMAGE024
Figure 148127DEST_PATH_IMAGE025
obtained by reading the joint information of the mechanical arm and deducted
Figure 895504DEST_PATH_IMAGE026
It is recorded as
Figure 56970DEST_PATH_IMAGE027
Figure 940612DEST_PATH_IMAGE028
As a terminal coordinate system
Figure 414319DEST_PATH_IMAGE011
Figure 383412DEST_PATH_IMAGE013
The camera coordinate system is obtained through the camera external parameters
Figure 85920DEST_PATH_IMAGE011
Figure 355227DEST_PATH_IMAGE013
Homogeneous transformation matrix between medical display coordinate system
Figure 734256DEST_PATH_IMAGE029
Figure 941378DEST_PATH_IMAGE030
From which a relation matrix between the camera coordinate systems can be obtained
Figure 696844DEST_PATH_IMAGE031
It is recorded as
Figure 555079DEST_PATH_IMAGE032
(ii) a Since the position of the camera is fixed, the homogeneous transformation matrix between the camera coordinate system and the end coordinate system is also fixed and recorded as
Figure 636167DEST_PATH_IMAGE003
The formula is written as:
Figure 330585DEST_PATH_IMAGE033
the above formula is a basic equation for calibrating the hand and the eye, and the pose solving process of calibrating the hand and the eye is to obtain a plurality of basic equations according to the poses of a plurality of groups of mechanical arms so as to solve a matrix
Figure 624163DEST_PATH_IMAGE003
Referring to fig. 4-6, the visual angle detecting apparatus for a medical display includes a robot arm, a camera 2 and a luminance meter 3, the camera 2 and the luminance meter 3 are fixed to a movable end of the robot arm, and the camera 2 and the luminance meter 3 are parallel to each other and are perpendicular to an axial direction of a rotation shaft of the movable end of the robot arm.
The mechanical arm is a six-axis mechanical arm and comprises a first rotating arm 9, a second rotating arm 8, a third rotating arm 7, a fourth rotating arm 6, a fifth rotating arm 5 and a sixth rotating arm 4 which are sequentially connected and can rotate 360 degrees around respective central axes;
the first rotating arm 9 is vertically arranged on the mounting table 13, the central axis of the first rotating arm 9 is perpendicular to the plane of the mounting table 13, and the mounting table 13 is arranged on the bracket or the chassis;
the first rotating arm 9 and the second rotating arm 8 are connected, wherein the axes are mutually vertical;
an arm rod a is connected between the second rotating arm 8 and the third rotating arm 7, the arm rod a is perpendicular to the central axes of the second rotating arm 8 and the third rotating arm 7 respectively, the central axes of the second rotating arm 8 and the third rotating arm 7 are parallel, when the second rotating arm 8 rotates, the arm rod a rotates around the central axis of the second rotating arm 8, and the arm rod a drives the third rotating arm 7 to move synchronously;
an arm lever b is connected between the third rotating arm 7 and the fourth rotating arm 6, the arm lever b is perpendicular to the central axes of the third rotating arm 7 and the fourth rotating arm 6 respectively, the central axes of the third rotating arm 7 and the fourth rotating arm 6 are parallel, one end of the axis of the third rotating arm 7 is provided with an L-shaped transition plate extending forwards, one side of the L-shaped transition plate is fixed with the end face of the third rotating arm 7, the other side of the L-shaped transition plate is parallel to the central axis of the third rotating arm 7 and is fixed with the head end of the arm lever b, and the tail end of the arm lever b is connected with the axial outer wall of the fourth rotating arm 6;
the fourth rotating arm 6 is connected with the fifth rotating arm 5, wherein the axes are vertical to each other;
the fifth rotating arm 5 is connected with the sixth rotating arm 4, wherein the axes are vertical to each other;
the sixth rotating arm 4 is a movable tail end, the brightness meter 3 is arranged above the axial center of the sixth rotating arm 4, the brightness meter 3 is parallel to the sixth rotating arm 4, the camera 2 is arranged at the top of the brightness meter 3, and the central axes of the camera 2 and the brightness meter 3 are coplanar.
The first rotating arm 9, the second rotating arm 8, the third rotating arm 7, the fourth rotating arm 6, the fifth rotating arm 5 and the sixth rotating arm 4 are respectively internally provided with an independently controlled servo motor and a communication module which are used for feeding back the position information of the corresponding rotating arm in time and receiving the control instruction of the servo motor.
The specific embodiment of the base plate 10 is given, the base plate 10 is rectangular, the positions of the bottom surface of the base plate, which are close to four corners, are provided with the suction cups 11, the suction cups 11 are in a cavity structure, and the side walls of the suction cups 11 are connected with the vacuumizing pipes 12 in a penetrating way. During the use, place medical display 1 in the place ahead of arm, the chassis adsorbs on the desktop, and the sucking disc bottom is pasted in the desktop, connects the suction pump through the evacuation pipe, forms the inside negative pressure of sucking disc, and sucking disc 11 stabilizes the absorption and the desktop, and the chassis is fixed, and the arm can not have the displacement deviation in the use.
Before the device is used, the mechanical arm is firstly fixed at a proper position right in front of the medical display, then the relative coordinates of the mechanical arm, the medical display and the camera are calibrated by using the method, after the calibration is finished, each path point passed by the mechanical arm is automatically planned, stepping rotation is realized by controlling each rotating arm of the mechanical arm, and the moving track of the camera is accurately controlled.

Claims (7)

1. A visual angle detection method of a medical display is characterized by comprising the following steps: the method comprises the following operation steps:
step 1: displaying an image target in the central area of the medical display, obtaining a conversion relation between a camera pixel coordinate and a mechanical arm space coordinate through hand-eye calibration, and converting a display coordinate system into a mechanical arm coordinate system;
the specific process is as follows:
establishing a camera coordinate system by using the optical center of the camera, establishing a world coordinate system on the image target, wherein the Z axis of the world coordinate system is vertical to the medical display, the acquired image comprises the characteristic information of the image target, the coordinates of the characteristic points of the image target under the world coordinate system are known, and the following steps are obtained according to the relationship of the characteristic points under the world coordinate system and the camera coordinate system:
Figure DEST_PATH_IMAGE002
the above equation is a conversion relation of the camera coordinate system,
Figure DEST_PATH_IMAGE003
is a matrix of parameters in the camera and is,
Figure DEST_PATH_IMAGE004
is a pose matrix of the world coordinate system of the medical display under the coordinate system of the camera and is expressed as an external parameter matrix of the camera in the coordinate system of the camera,
Figure DEST_PATH_IMAGE005
for feature points in the camera coordinate system
Figure DEST_PATH_IMAGE006
Orientation coordinate and pose matrix
Figure 620968DEST_PATH_IMAGE004
Correlation, in the positioning of medical displays, world coordinates of image target feature points on the medical display
Figure DEST_PATH_IMAGE007
And pixel coordinates
Figure DEST_PATH_IMAGE008
Are all known, camera intrinsic parameters
Figure 351158DEST_PATH_IMAGE003
As known, the medical display image target is a pose transformation matrix from a world coordinate system to a camera coordinate system
Figure 865316DEST_PATH_IMAGE004
And substituting coordinate information of a plurality of characteristic points into the formula to obtain a pose matrix
Figure 57263DEST_PATH_IMAGE004
Positioning the medical display is completed;
step 2: calculating the target pose under the mechanical arm coordinate system by using the conversion relation obtained by calibrating the hand eyes, resolving the obtained pose information into a specific output signal by a mechanical arm motion resolving controller through robot inverse kinematics, and driving the tail end of the mechanical arm to move towards the center of the display;
and step 3: calculating the position error between the image center and the target center after the target image is obtained by the camera, driving the mechanical arm to move by taking the position error as a control condition, and compensating the error introduced by the calibration precision and the coordinate conversion in the visual servo positioning process based on the position in the step 2;
and 4, step 4: after the vertical positioning of the tail end of the mechanical arm relative to the central area of the display is completed, calculating and planning the motion trail of the tail end of the mechanical arm: the central point of the display is taken as the center of sphere, the distance between the brightness meter at the initial position and the central point of the display is taken as the radius, and the brightness meter extends in four directions, namely vertical, horizontal and left and right directions;
and 5: taking a brightness meter vertical to the middle area of the display as an initial position, according to the track planned in the step 4, respectively moving the brightness meter held at the tail end of the mechanical arm in a stepping manner along the track in the horizontal left-right direction and the vertical up-down direction at an angle of 1 degree, always aligning the brightness meter to the center of the display in the moving process, reading the luminance measurement values of 100% full white field and 0% full black field of the display once after moving for each angle of 1 degree, and calculating the luminance ratio of the position;
step 6: in the process of moving towards each direction, when the brightness ratio of the position is less than 10, stopping moving continuously, and driving the mechanical arm to return to an initial position vertical to the center of the display;
and 7: the sum of the angles measured by moving according to the horizontal left and right direction tracks is the horizontal visual angle, and the sum of the angles measured by moving according to the vertical upper and lower direction tracks is the vertical visual angle.
2. The visual angle detection method of a medical display according to claim 1, characterized in that: step a1, step a 1: the camera (2) and the brightness meter (3) are fixed at the tail end of the mechanical arm, the mechanical arm is fixed in front of the medical display through a support or a chassis, and the brightness meter held at the tail end of the mechanical arm can move along the circular arc tracks in the horizontal and vertical directions of the medical display by taking the center of the medical display as the center of a circle.
3. The visual angle detection method of a medical display according to claim 1, characterized in that: the specific process of calculating the target pose under the mechanical arm coordinate system in the step 2 is as follows:
the method comprises the steps of collecting image targets under different poses to carry out hand-eye positioning work of a mechanical arm, placing the image targets in front of the mechanical arm to be fixed, continuously changing the poses of the mechanical arm to collect the image targets with different relative poses, and calculating the positions of the image targets relative to a mechanical arm coordinate system according to the relationship between the poses of the image targets and a camera and the terminal poses of the mechanical arm when each image target is collected.
4. The visual angle detection method of a medical display according to claim 1, characterized in that: the specific process of calculating the position error between the image center and the target center in the step 3 is as follows:
let the camera coordinate system be
Figure DEST_PATH_IMAGE009
End of arm coordinate systemIs composed of
Figure DEST_PATH_IMAGE010
Coordinate system of medical display
Figure DEST_PATH_IMAGE011
The position of the mechanical arm is changed twice, the initial position is regarded as the first moving position, and before moving, the coordinate system of the camera and the coordinate system of the tail end of the mechanical arm are composed of
Figure DEST_PATH_IMAGE012
Figure DEST_PATH_IMAGE013
Represents; after moving, the camera coordinate system and the mechanical arm end coordinate system are composed of
Figure DEST_PATH_IMAGE014
Figure DEST_PATH_IMAGE015
Representing the medical display coordinate system
Figure 776695DEST_PATH_IMAGE011
Inner points in the corresponding four coordinate systems
Figure 130316DEST_PATH_IMAGE012
Figure 131770DEST_PATH_IMAGE013
Figure 878140DEST_PATH_IMAGE014
Figure 281439DEST_PATH_IMAGE015
The point coordinates under the corresponding coordinates are set as
Figure DEST_PATH_IMAGE016
Figure DEST_PATH_IMAGE017
Figure DEST_PATH_IMAGE018
Figure DEST_PATH_IMAGE019
By using the position transformation between coordinate systems, the following relation equation between points is obtained:
Figure DEST_PATH_IMAGE021
from the above formula, one can obtain:
Figure DEST_PATH_IMAGE023
in the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE024
as a terminal coordinate system
Figure 179863DEST_PATH_IMAGE013
Figure 465351DEST_PATH_IMAGE015
A homogeneous transformation matrix between them
Figure DEST_PATH_IMAGE025
Is a basic coordinate system of the mechanical arm,
Figure DEST_PATH_IMAGE026
Figure DEST_PATH_IMAGE027
as the end coordinate system of the robot arm
Figure 15412DEST_PATH_IMAGE013
Figure 69956DEST_PATH_IMAGE015
And base coordinate system
Figure 296538DEST_PATH_IMAGE025
A homogeneous transformation matrix in between; wherein the content of the first and second substances,
Figure 272584DEST_PATH_IMAGE026
Figure 344445DEST_PATH_IMAGE027
obtained by reading the joint information of the mechanical arm and deducted
Figure DEST_PATH_IMAGE028
It is recorded as
Figure DEST_PATH_IMAGE029
Figure DEST_PATH_IMAGE030
As a terminal coordinate system
Figure 33921DEST_PATH_IMAGE012
Figure 165825DEST_PATH_IMAGE014
The camera coordinate system is obtained through the camera external parameters
Figure 425906DEST_PATH_IMAGE012
Figure 239141DEST_PATH_IMAGE014
Homogeneous transformation matrix between medical display coordinate system
Figure DEST_PATH_IMAGE031
Figure DEST_PATH_IMAGE032
From which a relation matrix between the camera coordinate systems can be obtained
Figure DEST_PATH_IMAGE033
It is recorded as
Figure DEST_PATH_IMAGE034
(ii) a Since the position of the camera is fixed, the homogeneous transformation matrix between the camera coordinate system and the end coordinate system is also fixed and recorded as
Figure 81326DEST_PATH_IMAGE004
The formula is written as:
Figure DEST_PATH_IMAGE035
the above formula is a basic equation for calibrating the hand and the eye, and the pose solving process of calibrating the hand and the eye is to obtain a plurality of basic equations according to the poses of a plurality of groups of mechanical arms so as to solve a matrix
Figure 384131DEST_PATH_IMAGE004
5. A visual angle detection device of a medical display is characterized in that: the automatic detection device comprises a mechanical arm, a camera (2) and a brightness meter (3), wherein the camera (2) and the brightness meter (3) are fixed at the movable tail end of the mechanical arm, and the camera (2) and the brightness meter (3) are parallel to each other and are perpendicular to the axial direction of a rotating shaft at the movable tail end of the mechanical arm;
the mechanical arm is a six-axis mechanical arm and comprises a first rotating arm (9), a second rotating arm (8), a third rotating arm (7), a fourth rotating arm (6), a fifth rotating arm (5) and a sixth rotating arm (4) which are sequentially connected and can rotate 360 degrees around respective central axes;
the first rotating arm (9) is vertically arranged on the mounting table (13), the central axis of the first rotating arm (9) is perpendicular to the plane of the mounting table (13), and the mounting table (13) is arranged on the support or the chassis;
the first rotating arm (9) and the second rotating arm (8) are connected, wherein the axes are vertical to each other;
an arm lever a is connected between the second rotating arm (8) and the third rotating arm (7), the arm lever a is perpendicular to the central axes of the second rotating arm (8) and the third rotating arm (7), the central axes of the second rotating arm (8) and the third rotating arm (7) are parallel, when the second rotating arm (8) rotates, the arm lever a rotates around the central axis of the second rotating arm (8), and the arm lever a drives the third rotating arm (7) to move synchronously;
an arm lever b is connected between the third rotating arm (7) and the fourth rotating arm (6), the arm lever b is perpendicular to the central axes of the third rotating arm (7) and the fourth rotating arm (6), the central axes of the third rotating arm (7) and the fourth rotating arm (6) are parallel, one end of the axis of the third rotating arm (7) is provided with an L-shaped transition plate extending forwards, one side of the L-shaped transition plate is fixed with the end face of the third rotating arm (7), the other side of the L-shaped transition plate is parallel to the central axis of the third rotating arm (7) and fixed with the head end of the arm lever b, and the tail end of the arm lever b is connected with the axial outer wall of the fourth rotating arm (6);
the fourth rotating arm (6) is connected with the fifth rotating arm (5), wherein the axes are vertical to each other;
the fifth rotating arm (5) is connected with the sixth rotating arm (4), wherein the axes are vertical to each other;
sixth rocking arm (4) are the activity end, luminance meter (3) set up in the axial direction center top of sixth rocking arm (4), and luminance meter (3) are parallel with sixth rocking arm (4), camera (2) set up in luminance meter (3) top, the axis coplane of camera (2) and luminance meter (3).
6. The visual angle detection device of a medical display according to claim 5, wherein: the first rotating arm (9), the second rotating arm (8), the third rotating arm (7), the fourth rotating arm (6), the fifth rotating arm (5) and the sixth rotating arm (4) are internally provided with independently controlled servo motors and communication modules for feeding back the position information of the corresponding rotating arm in time and receiving the control instruction of the servo motors.
7. The visual angle detection device of a medical display according to claim 5, wherein: the base plate is rectangular, suckers are arranged at positions, close to four corners, of the bottom surface of the base plate, the suckers are of a cavity structure, and the side walls of the suckers are connected with vacuum-pumping tubes in a through mode.
CN202111409278.0A 2021-11-25 2021-11-25 Visual angle detection method and device for medical display Active CN113834449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111409278.0A CN113834449B (en) 2021-11-25 2021-11-25 Visual angle detection method and device for medical display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111409278.0A CN113834449B (en) 2021-11-25 2021-11-25 Visual angle detection method and device for medical display

Publications (2)

Publication Number Publication Date
CN113834449A CN113834449A (en) 2021-12-24
CN113834449B true CN113834449B (en) 2022-03-15

Family

ID=78971730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111409278.0A Active CN113834449B (en) 2021-11-25 2021-11-25 Visual angle detection method and device for medical display

Country Status (1)

Country Link
CN (1) CN113834449B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114822132A (en) * 2022-05-06 2022-07-29 北京智扬北方国际教育科技有限公司 Amplification display device for detection numerical values in automobile detection teaching

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW486562B (en) * 2001-08-07 2002-05-11 Dynacolor Inc Method and apparatus for detecting light emitting intensity of liquid crystal display in different angles
JP2007271350A (en) * 2006-03-30 2007-10-18 Fujifilm Corp Reference planar setting method for planar representation type display, and visibility angle measuring method
CN102752629B (en) * 2012-06-21 2014-05-21 工业和信息化部电子工业标准化研究院 Visual angle test method for three-dimensional image display
CN206946132U (en) * 2017-03-29 2018-01-30 公安部第三研究所 Liquid crystal display angle of visibility test device based on angular transducer
CN107463789B (en) * 2017-08-21 2020-11-13 中国计量科学研究院 Integrated automatic calibration device and calibration method for medical display

Also Published As

Publication number Publication date
CN113834449A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN111638041B (en) Position adjusting device, curved surface display screen testing equipment and testing method
CN113834449B (en) Visual angle detection method and device for medical display
CN107702653B (en) Robot gluing three-dimensional information visual detection device and method
CN209406712U (en) A kind of five axis dispenser systems
CN113532318B (en) Three-dimensional scanning system and method for positioning by using multiple groups of laser trackers
CN105835045A (en) Panel mounting truss mechanical arm and mounting method
CN208818162U (en) Positioning robot
CN102736280A (en) Polarizing plate attached precision detection device and method
JP2018094648A (en) Control device, robot, and robot system
CN206258081U (en) A kind of 3-dimensional image measurement apparatus with real-time height calibrating function
CN204088274U (en) The wafer core grain automatic alignment apparatus of probe station
CN202126417U (en) X-ray fluoroscopy imaging four-axis moving platform of measured object
CN107627101B (en) Shaft assignment device and method
CN115219156A (en) Display screen detection system and display screen detection method
CN113406122A (en) Double-mechanical-arm digital ray detection device and automatic detection method
CN111551126B (en) Irregular pipeline inner wall mobile measurement robot and three-dimensional reconstruction method and system
CN108620781A (en) A kind of bond pad locations adjustment System and method for
CN209280272U (en) The positioning device and control system of screen test
CN209945278U (en) Image and laser combined artillery barrel height angle measuring device
CN113276115A (en) Hand-eye calibration method and device without robot movement
CN113406121B (en) Automatic device and method for multi-angle X-ray detection of weld defects
CN215179602U (en) Object scanning computing equipment
CN215910370U (en) Automatic device for multi-angle X-ray detection of weld defects
CN111823222A (en) Monocular camera multi-view visual guidance device and method
CN209978837U (en) Side measuring device for height angle of gun barrel

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
GR01 Patent grant
GR01 Patent grant