CN111192314A - Method and system for determining ratio of inner contour and outer contour of finger in GDV energy image - Google Patents

Method and system for determining ratio of inner contour and outer contour of finger in GDV energy image Download PDF

Info

Publication number
CN111192314A
CN111192314A CN201911425763.XA CN201911425763A CN111192314A CN 111192314 A CN111192314 A CN 111192314A CN 201911425763 A CN201911425763 A CN 201911425763A CN 111192314 A CN111192314 A CN 111192314A
Authority
CN
China
Prior art keywords
finger
gdv
image
energy
outer contour
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.)
Granted
Application number
CN201911425763.XA
Other languages
Chinese (zh)
Other versions
CN111192314B (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.)
Ennova Health Technology Co ltd
Original Assignee
Ennova Health Technology Co ltd
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 Ennova Health Technology Co ltd filed Critical Ennova Health Technology Co ltd
Priority to CN201911425763.XA priority Critical patent/CN111192314B/en
Publication of CN111192314A publication Critical patent/CN111192314A/en
Application granted granted Critical
Publication of CN111192314B publication Critical patent/CN111192314B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Image Analysis (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The invention discloses a method and a system for determining the ratio of inner and outer contours of a finger in a GDV energy image, wherein the method comprises the following steps: preprocessing the acquired GDV finger energy original image to acquire a GDV finger energy processing image; performing binarization processing on the GDV finger energy processing image, and determining an inner contour map and an outer contour map of each finger; determining the inner contour length and the outer contour length in the inner contour diagram and the outer contour diagram of each finger by using a polar coordinate method; and calculating the ratio of the outer contour length to the inner contour length in the contour map of each finger as the ratio of the inner contour to the outer contour of each finger. The method for determining the ratio of the inner contour to the outer contour of the finger in the GDV energy image can quickly and accurately determine the ratio of the inner contour to the outer contour of the finger in the GDV energy image, provides technical support for research of the GDV energy image, and lays a solid foundation for further research of a human body energy field.

Description

Method and system for determining ratio of inner contour and outer contour of finger in GDV energy image
Technical Field
The present invention relates to the field of metrology calibration, and more particularly, to a method and system for determining the ratio of inner and outer contours of a finger in a GDV energy image.
Background
Modern biophotonic studies have shown that the human body can spontaneously emit electrons and photons. Scientists regard electrons and photons emitted by the human body as the representation of the energy of the human body; the energy generated by the human body spontaneously forms a human body energy field, and ten finger energies of the human body can be detected by using the energy field detection equipment. Gas Discharge Visualization (GDV) technology an innovative technology developed in 1995 by a team led by professor korotkov (pr. korotkov), with which GDV finger energy images can be obtained.
However, how to process the acquired finger energy image to acquire the ratio of the inner contour to the outer contour of the finger in the energy image and further study the energy field is a problem to be solved.
Disclosure of Invention
The invention provides a method for determining the ratio of the inner contour and the outer contour of a finger in a GDV energy image, which aims to solve the problem of how to determine the ratio of the inner contour and the outer contour of the finger in the GDV energy image.
In order to solve the above problem, according to an aspect of the present invention, there is provided a method of determining an inside-outside contour ratio of a finger in a GDV energy image, the method including:
preprocessing the acquired GDV finger energy original image to acquire a GDV finger energy processing image;
performing binarization processing on the GDV finger energy processing image, and determining an inner contour map and an outer contour map of each finger;
determining the inner contour length and the outer contour length in the inner contour diagram and the outer contour diagram of each finger by using a polar coordinate method;
and calculating the ratio of the outer contour length to the inner contour length in the contour map of each finger as the ratio of the inner contour to the outer contour of each finger.
Preferably, the preprocessing the acquired raw image of GDV finger energy to acquire a GDV finger energy processed image comprises:
respectively calculating pixel mean values of RGB three colors in a preset area of the GDV finger energy original image;
respectively calculating the ratio of the preset pixel value of each color to the corresponding pixel mean value as a correction coefficient of each color;
calculating the product of the pixel values of the three RGB colors of each pixel point of the GDV finger energy original image and the correction coefficient of the corresponding color to obtain a GDV finger energy correction image;
modifying the pixel value of a pixel point of which the pixel value of a red channel in the GDV finger energy correction image is smaller than a preset red pixel threshold value into a preset pixel value so as to obtain a GDV finger energy denoising image;
and carrying out graying processing on the acquired GDV finger energy denoising image to acquire a GDV finger energy processing image.
Preferably, the binarizing the GDV finger energy processing image and determining the inside and outside contour map of each finger includes:
according to a preset binarization processing threshold value, performing binarization processing on the GDV finger energy processing image to obtain a GDV finger energy binarization image;
determining all finger contours in the GDV finger energy binary image, and calculating the contour area of each finger contour;
and deleting the finger outline with the outline area smaller than the preset outline area threshold value, and integrating according to the circle center and the radius of the remaining finger outline to obtain the inner and outer outline maps of each finger.
Preferably, the determining the inner contour length and the outer contour length in the inner and outer contour maps of each finger by using a polar coordinate method comprises:
converting the inner and outer contour diagrams of each finger in the polar coordinate system into a Cartesian coordinate system to obtain a converted image corresponding to each finger;
calculating the maximum value and the minimum value of each column of the converted image corresponding to each finger, and converting the obtained maximum value and minimum value into polar coordinates to obtain an inner contour map and an outer contour map corresponding to each finger;
and determining the inner contour length and the outer contour length in the inner contour map and the outer contour map of each finger according to the number of pixel points in the inner contour map and the outer contour map corresponding to each finger.
Preferably, wherein the method further comprises:
converting the pixel points in the polar coordinate system into a Cartesian coordinate system by the following method:
x=r cos(θ),
y=r sin(θ),
converting the pixel points in the Cartesian product coordinate system into a polar coordinate system by the following method:
Figure BDA0002336040570000031
θ=arctan(y/x),
wherein r is the radius of a circle where any pixel point P (i, j) in the polar coordinate system is located; theta is the angle corresponding to the pixel point; the coordinate of the point corresponding to the pixel point P in the cartesian coordinate system is (x, y).
According to another aspect of the present invention, there is provided a system for determining a ratio of an inner and outer contour of a finger in a GDV energy image, the system comprising:
the preprocessing unit is used for preprocessing the acquired GDV finger energy original image to acquire a GDV finger energy processing image;
an inner and outer contour map determining unit, configured to perform binarization processing on the GDV finger energy processing image, and determine an inner and outer contour map of each finger;
the inner and outer contour length determining unit is used for determining the inner contour length and the outer contour length in the inner and outer contour map of each finger by using a polar coordinate method;
and the inner and outer contour ratio determining unit is used for calculating the ratio of the outer contour length and the inner contour length in the contour map of each finger as the inner and outer contour ratio of each finger.
Preferably, the preprocessing unit, which preprocesses the acquired raw image of GDV finger energy to acquire a GDV finger energy processed image, includes:
respectively calculating pixel mean values of RGB three colors in a preset area of the GDV finger energy original image;
respectively calculating the ratio of the preset pixel value of each color to the corresponding pixel mean value as a correction coefficient of each color;
calculating the product of the pixel values of the three RGB colors of each pixel point of the GDV finger energy original image and the correction coefficient of the corresponding color to obtain a GDV finger energy correction image;
modifying the pixel value of a pixel point of which the pixel value of a red channel in the GDV finger energy correction image is smaller than a preset red pixel threshold value into a preset pixel value so as to obtain a GDV finger energy denoising image;
and carrying out graying processing on the acquired GDV finger energy denoising image to acquire a GDV finger energy processing image.
Preferably, the inside and outside contour map determining unit, which performs binarization processing on the GDV finger energy processing image and determines the inside and outside contour map of each finger, includes:
according to a preset binarization processing threshold value, performing binarization processing on the GDV finger energy processing image to obtain a GDV finger energy binarization image;
determining all finger contours in the GDV finger energy binary image, and calculating the contour area of each finger contour;
and deleting the finger outline with the outline area smaller than the preset outline area threshold value, and integrating according to the circle center and the radius of the remaining finger outline to obtain the inner and outer outline maps of each finger.
Preferably, the inside and outside contour length determining unit, which determines the inside contour length and the outside contour length in the inside and outside contour map for each finger by using a polar coordinate method, includes:
converting the inner and outer contour diagrams of each finger in the polar coordinate system into a Cartesian coordinate system to obtain a converted image corresponding to each finger;
calculating the maximum value and the minimum value of each column of the converted image corresponding to each finger, and converting the obtained maximum value and minimum value into polar coordinates to obtain an inner contour map and an outer contour map corresponding to each finger;
and determining the inner contour length and the outer contour length in the inner contour map and the outer contour map of each finger according to the number of pixel points in the inner contour map and the outer contour map corresponding to each finger.
Preferably, the inner and outer contour length determining unit converts the pixel points in the polar coordinate system into a cartesian coordinate system by using the following method:
x=r cos(θ),
y=r sin(θ),
converting the pixel points in the Cartesian product coordinate system into a polar coordinate system by the following method:
Figure BDA0002336040570000051
θ=arctan(y/x),
wherein r is the radius of a circle where any pixel point P (i, j) in the polar coordinate system is located; theta is the angle corresponding to the pixel point; the coordinate of the point corresponding to the pixel point P in the cartesian coordinate system is (x, y).
The invention provides a method and a system for determining the ratio of inner and outer contours of a finger in a GDV energy image, wherein the method comprises the following steps: preprocessing the acquired GDV finger energy original image to acquire a GDV finger energy processing image; performing binarization processing on the GDV finger energy processing image, and determining an inner contour map and an outer contour map of each finger; determining the inner contour length and the outer contour length in the inner contour diagram and the outer contour diagram of each finger by using a polar coordinate method; and calculating the ratio of the outer contour length to the inner contour length in the contour map of each finger as the ratio of the inner contour to the outer contour of each finger. The method provided by the invention can be used for rapidly and accurately determining the ratio of the inner contour and the outer contour of the finger in the GDV energy image, provides technical support for the research of the GDV energy image, and lays a solid foundation for further researching a human body energy field.
Drawings
A more complete understanding of exemplary embodiments of the present invention may be had by reference to the following drawings in which:
FIG. 1 is a flow diagram of a method 100 of determining the ratio of inner and outer contours of a finger in a GDV energy image according to an embodiment of the present invention;
FIG. 2 is a GDV finger energy raw image according to an embodiment of the present invention;
FIG. 3 is a GDV finger energy correction image according to an embodiment of the present invention;
FIG. 4 is a GDV finger energy processing image according to an embodiment of the present invention;
FIG. 5 is a view of the inner and outer contours of a finger according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating a process for integrating the profile of the deformity according to an embodiment of the present invention;
FIGS. 7a and 7b are schematic diagrams of an inside and outside contour map in a polar coordinate system and a corresponding image in a Cartesian coordinate system, respectively, according to an embodiment of the invention;
FIGS. 8a and 8b are images of determined maxima and minima in a Cartesian product coordinate system, according to an embodiment of the invention;
FIGS. 9a and 9b are inner and outer contour images of a finger in a determined polar coordinate system according to an embodiment of the present invention; and
FIG. 10 is a block diagram of a system 1000 for determining the ratio of the inner and outer contours of a finger in a GDV energy image according to an embodiment of the present invention.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
FIG. 1 is a flow chart of a method 100 of determining the ratio of inner and outer contours of a finger in a GDV energy image in accordance with an embodiment of the present invention. As shown in fig. 1, the method for determining the ratio of the inner contour and the outer contour of the finger in the GDV energy image according to the embodiment of the present invention can quickly and accurately determine the ratio of the inner contour and the outer contour of the finger in the GDV energy image, provide technical support for the research of the GDV energy image, and lay a solid foundation for the further research of the human body energy field. The method 100 for determining the ratio of the inner contour to the outer contour of the finger in the GDV energy image provided by the embodiment of the invention starts from step 101, and the acquired GDV finger energy raw image is preprocessed in step 101 to acquire a GDV finger energy processing image.
Preferably, the preprocessing the acquired raw image of GDV finger energy to acquire a GDV finger energy processed image comprises:
respectively calculating pixel mean values of RGB three colors in a preset area of the GDV finger energy original image;
respectively calculating the ratio of the preset pixel value of each color to the corresponding pixel mean value as a correction coefficient of each color;
calculating the product of the pixel values of the three RGB colors of each pixel point of the GDV finger energy original image and the correction coefficient of the corresponding color to obtain a GDV finger energy correction image;
modifying the pixel value of a pixel point of which the pixel value of a red channel in the GDV finger energy correction image is smaller than a preset red pixel threshold value into a preset pixel value so as to obtain a GDV finger energy denoising image;
and carrying out graying processing on the acquired GDV finger energy denoising image to acquire a GDV finger energy processing image.
For a GDV image acquired under the low illumination condition, due to the reasons of automatic exposure of a camera, automatic white balance and the like, the background color has deviation and a lot of noises exist; therefore, we need background color correction. In an embodiment of the invention, the entire GDV image is corrected using efficient local background area RGB statistics.
Fig. 2 is a GDV finger energy raw image according to an embodiment of the present invention, as shown in fig. 2, which is a GDV image of a left hand and a right hand, respectively. Taking the left hand as an example, the step of obtaining a corrected image from the original image comprises: firstly, setting preset pixel values, wherein the pixel values are RGB pixel values which are respectively 25, 45 and 20; selecting a part only containing background pixels as a preset area; determining a preset region as an upper left corner rectangular region of an original image (left-hand original image), wherein the width and the height are respectively one tenth of the width and the height of the image, and calculating the pixel mean value of three colors of RGB in the region; dividing the average value of the red, green and blue pixels by 25, 45 and 20 respectively to determine a correction coefficient corresponding to each color; and calculating the product of the pixel values of the three RGB colors of each pixel point in the original image and the correction coefficient of the corresponding color to obtain a corrected image. Wherein the acquired correction image is shown in fig. 3.
Then, for the corrected image, denoising is performed by changing pixels of which the pixel values of the red channel R are smaller than a preset red pixel threshold value into a background, so as to obtain a denoised image.
And finally, graying the denoised image obtained after denoising to obtain a processed image. Wherein the implementation can be directly carried out by using the opencv function cvtColor. The processed image obtained by the embodiment of the present invention is shown in fig. 4.
In step 102, the GDV finger energy processing image is subjected to binarization processing, and an inner and outer contour map of each finger is determined.
Preferably, the binarizing the GDV finger energy processing image and determining the inside and outside contour map of each finger includes:
according to a preset binarization processing threshold value, performing binarization processing on the GDV finger energy processing image to obtain a GDV finger energy binarization image;
determining all finger contours in the GDV finger energy binary image, and calculating the contour area of each finger contour;
and deleting the finger outline with the outline area smaller than the preset outline area threshold value, and integrating according to the circle center and the radius of the remaining finger outline to obtain the inner and outer outline maps of each finger.
In the embodiment of the present invention, the binarization processing threshold is set to 30. And (3) for the image of any hand, carrying out binarization processing on the processed image by using an opencv function threshold to obtain a GDV finger energy binarization image. Then, finger contours are searched in the binary image by using an opencv function findContours, and 5 fingers are found. Since there will be many low profiles, they need to be eliminated. Specifically, the area of each contour is calculated, and finger contours smaller than a preset contour area threshold are deleted, and the rest is an inner and outer contour map of each finger, as shown in fig. 5.
Due to the presence of fracture deformities in the finger contours, it is also necessary to merge adjacent contours. In the embodiment of the invention, adjacent profiles are combined into a whole according to the circle center and the radius of each profile. The process of integrating the profile of the deformity according to the embodiment of the present invention is shown in fig. 6.
In step 103, the inner contour length and the outer contour length in the inner and outer contour map of each finger are determined by using a polar coordinate method.
Preferably, the determining the inner contour length and the outer contour length in the inner and outer contour maps of each finger by using a polar coordinate method comprises:
converting the inner and outer contour diagrams of each finger in the polar coordinate system into a Cartesian coordinate system to obtain a converted image corresponding to each finger;
calculating the maximum value and the minimum value of each column of the converted image corresponding to each finger, and converting the obtained maximum value and minimum value into polar coordinates to obtain an inner contour map and an outer contour map corresponding to each finger;
and determining the inner contour length and the outer contour length in the inner contour map and the outer contour map of each finger according to the number of pixel points in the inner contour map and the outer contour map corresponding to each finger.
Preferably, wherein the method further comprises:
converting the pixel points in the polar coordinate system into a Cartesian coordinate system by the following method:
x=r cos(θ),
y=rsin(θ),
converting the pixel points in the Cartesian product coordinate system into a polar coordinate system by the following method:
Figure BDA0002336040570000091
θ=arctan(y/x),
wherein r is the radius of a circle where any pixel point P (i, j) in the polar coordinate system is located; theta is the angle corresponding to the pixel point; the coordinate of the point corresponding to the pixel point P in the cartesian coordinate system is (x, y).
In the embodiment of the present invention, in order to more accurately find the inside and outside contours, a polar coordinate method is used. First, for any finger, the binarized finger image is transformed into a polar coordinate system. Converting the pixel points in the polar coordinate system into a Cartesian coordinate system by the following method:
x=r cos(θ),
y=r sin(θ),
wherein r is the radius of a circle where any pixel point P (i, j) in the polar coordinate system is located; theta is the angle corresponding to the pixel point; the coordinate of the point corresponding to the pixel point P in the cartesian coordinate system is (x, y). The inside and outside silhouettes of the finger in a polar coordinate system and the corresponding images in a cartesian coordinate system determined by embodiments of the present invention are shown in fig. 7a and 7b, respectively.
Then, for the image in the polar coordinate system, the maximum value and the minimum value are calculated for each column, and the images of the maximum value and the minimum value determined by the embodiment of the present invention in the cartesian product coordinate system are shown in fig. 8a and 8 b.
Then, the maximum value map and the minimum value map are respectively converted back to a Cartesian coordinate system, and the inner contour and the outer contour of the finger are obtained. The following method is used for converting pixel points in a Cartesian product coordinate system into a polar coordinate system:
Figure BDA0002336040570000092
θ=arctan(y/x),
wherein r is the radius of a circle where any pixel point P (i, j) in the polar coordinate system is located; theta is the angle corresponding to the pixel point; the coordinate of the point corresponding to the pixel point P in the cartesian coordinate system is (x, y). The embodiment of the present invention determines the inner contour image and the outer contour image of one finger in the polar coordinate system as shown in fig. 9a and 9 b.
And finally, calculating the number of pixel points in the inner contour map and the outer contour map corresponding to each finger, and determining the inner contour length and the outer contour length in the inner contour map and the outer contour map of each finger.
In step 104, the ratio of the outer contour length and the inner contour length in the contour map of each finger is calculated as the inner and outer contour ratio of each finger.
FIG. 10 is a block diagram of a system 1000 for determining the ratio of the inner and outer contours of a finger in a GDV energy image according to an embodiment of the present invention. As shown in fig. 10, the system 1000 for determining the ratio of the inner contour to the outer contour of the finger in the GDV energy image according to the embodiment of the present invention includes: a preprocessing unit 1001, an inside and outside contour map determining unit 1002, an inside and outside contour length determining unit 1003, and an inside and outside contour ratio determining unit 1004.
Preferably, the preprocessing unit 1001 is configured to preprocess the acquired GDV finger energy raw image to acquire a GDV finger energy processed image.
Preferably, the preprocessing unit 1001, which preprocesses the acquired GDV finger energy raw image to acquire a GDV finger energy processed image, includes:
respectively calculating pixel mean values of RGB three colors in a preset area of the GDV finger energy original image;
respectively calculating the ratio of the preset pixel value of each color to the corresponding pixel mean value as a correction coefficient of each color;
calculating the product of the pixel values of the three RGB colors of each pixel point of the GDV finger energy original image and the correction coefficient of the corresponding color to obtain a GDV finger energy correction image;
modifying the pixel value of a pixel point of which the pixel value of a red channel in the GDV finger energy correction image is smaller than a preset red pixel threshold value into a preset pixel value so as to obtain a GDV finger energy denoising image;
and carrying out graying processing on the acquired GDV finger energy denoising image to acquire a GDV finger energy processing image.
Preferably, the inside and outside contour map determining unit 1002 is configured to perform binarization processing on the GDV finger energy processing image and determine an inside and outside contour map of each finger.
Preferably, the inside and outside contour map determining unit 1002, which performs binarization processing on the GDV finger energy processing image and determines the inside and outside contour map of each finger, includes:
according to a preset binarization processing threshold value, performing binarization processing on the GDV finger energy processing image to obtain a GDV finger energy binarization image;
determining all finger contours in the GDV finger energy binary image, and calculating the contour area of each finger contour;
and deleting the finger outline with the outline area smaller than the preset outline area threshold value, and integrating according to the circle center and the radius of the remaining finger outline to obtain the inner and outer outline maps of each finger.
Preferably, the inside and outside contour length determination unit 1003 is configured to determine the inside contour length and the outside contour length in the inside and outside contour map of each finger by using a polar coordinate method.
Preferably, the inside and outside contour length determining unit 1003 determines the inside contour length and the outside contour length in the inside and outside contour map of each finger by using a polar coordinate method, including:
converting the inner and outer contour diagrams of each finger in the polar coordinate system into a Cartesian coordinate system to obtain a converted image corresponding to each finger;
calculating the maximum value and the minimum value of each column of the converted image corresponding to each finger, and converting the obtained maximum value and minimum value into polar coordinates to obtain an inner contour map and an outer contour map corresponding to each finger;
and determining the inner contour length and the outer contour length in the inner contour map and the outer contour map of each finger according to the number of pixel points in the inner contour map and the outer contour map corresponding to each finger.
Preferably, the inner and outer contour length determining unit converts the pixel points in the polar coordinate system into a cartesian coordinate system by using the following method:
x=r cos(θ),
y=r sin(θ),
converting the pixel points in the Cartesian product coordinate system into a polar coordinate system by the following method:
Figure BDA0002336040570000111
θ=arctan(y/x),
wherein r is the radius of a circle where any pixel point P (i, j) in the polar coordinate system is located; theta is the angle corresponding to the pixel point; the coordinate of the point corresponding to the pixel point P in the cartesian coordinate system is (x, y).
Preferably, the inner and outer contour ratio determination unit 1004 is configured to calculate a ratio of an outer contour length and an inner contour length in the contour map of each finger as the inner and outer contour ratio of each finger.
The system 1000 for determining the ratio of the inner and outer contours of the finger in the GDV energy image according to the embodiment of the present invention corresponds to the method 100 for determining the ratio of the inner and outer contours of the finger in the GDV energy image according to another embodiment of the present invention, and therefore, the detailed description thereof is omitted.
The invention has been described with reference to a few embodiments. However, other embodiments of the invention than the one disclosed above are equally possible within the scope of the invention, as would be apparent to a person skilled in the art from the appended patent claims.
Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a/an/the [ device, component, etc ]" are to be interpreted openly as referring to at least one instance of said device, component, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.

Claims (10)

1. A method of determining a ratio of an inner and outer contour of a finger in a GDV energy image, the method comprising:
preprocessing the acquired GDV finger energy original image by the gas release imaging technology to acquire a GDV finger energy processing image;
performing binarization processing on the GDV finger energy processing image, and determining an inner contour map and an outer contour map of each finger;
determining the inner contour length and the outer contour length in the inner contour diagram and the outer contour diagram of each finger by using a polar coordinate method;
and calculating the ratio of the outer contour length to the inner contour length in the contour map of each finger as the ratio of the inner contour to the outer contour of each finger.
2. The method of claim 1, wherein the pre-processing the acquired raw image of GDV finger energy to acquire a GDV finger energy processed image comprises:
respectively calculating pixel mean values of RGB three colors in a preset area of the GDV finger energy original image;
respectively calculating the ratio of the preset pixel value of each color to the corresponding pixel mean value as a correction coefficient of each color;
calculating the product of the pixel values of the three RGB colors of each pixel point of the GDV finger energy original image and the correction coefficient of the corresponding color to obtain a GDV finger energy correction image;
modifying the pixel value of a pixel point of which the pixel value of a red channel in the GDV finger energy correction image is smaller than a preset red pixel threshold value into a preset pixel value so as to obtain a GDV finger energy denoising image;
and carrying out graying processing on the acquired GDV finger energy denoising image to acquire a GDV finger energy processing image.
3. The method according to claim 1, wherein the binarizing the GDV finger energy processing image and determining the inside and outside contour map of each finger comprises:
according to a preset binarization processing threshold value, performing binarization processing on the GDV finger energy processing image to obtain a GDV finger energy binarization image;
determining all finger contours in the GDV finger energy binary image, and calculating the contour area of each finger contour;
and deleting the finger outline with the outline area smaller than the preset outline area threshold value, and integrating according to the circle center and the radius of the remaining finger outline to obtain the inner and outer outline maps of each finger.
4. The method of claim 1, wherein determining the inner contour length and the outer contour length in the inner and outer contour map for each finger using polar coordinates comprises:
converting the inner and outer contour diagrams of each finger in the polar coordinate system into a Cartesian coordinate system to obtain a converted image corresponding to each finger;
calculating the maximum value and the minimum value of each column of the converted image corresponding to each finger, and converting the obtained maximum value and minimum value into polar coordinates to obtain an inner contour map and an outer contour map corresponding to each finger;
and determining the inner contour length and the outer contour length in the inner contour map and the outer contour map of each finger according to the number of pixel points in the inner contour map and the outer contour map corresponding to each finger.
5. The method of claim 4, further comprising:
converting the pixel points in the polar coordinate system into a Cartesian coordinate system by the following method:
x=rcos(θ),
y=rsin(θ),
converting the pixel points in the Cartesian product coordinate system into a polar coordinate system by the following method:
Figure FDA0002336040560000021
θ=arctan(y/x),
wherein r is the radius of a circle where any pixel point P (i, j) in the polar coordinate system is located; theta is the angle corresponding to the pixel point; the coordinate of the point corresponding to the pixel point P in the cartesian coordinate system is (x, y).
6. A system for determining a ratio of an inner and outer contour of a finger in a GDV energy image, the system comprising:
the preprocessing unit is used for preprocessing the acquired original GDV finger energy image by the gas release imaging technology to acquire a GDV finger energy processing image;
an inner and outer contour map determining unit, configured to perform binarization processing on the GDV finger energy processing image, and determine an inner and outer contour map of each finger;
the inner and outer contour length determining unit is used for determining the inner contour length and the outer contour length in the inner and outer contour map of each finger by using a polar coordinate method;
and the inner and outer contour ratio determining unit is used for calculating the ratio of the outer contour length and the inner contour length in the contour map of each finger as the inner and outer contour ratio of each finger.
7. The system of claim 6, wherein the pre-processing unit pre-processes the acquired raw image of GDV finger energy to acquire a GDV finger energy processed image, comprising:
respectively calculating pixel mean values of RGB three colors in a preset area of the GDV finger energy original image;
respectively calculating the ratio of the preset pixel value of each color to the corresponding pixel mean value as a correction coefficient of each color;
calculating the product of the pixel values of the three RGB colors of each pixel point of the GDV finger energy original image and the correction coefficient of the corresponding color to obtain a GDV finger energy correction image;
modifying the pixel value of a pixel point of which the pixel value of a red channel in the GDV finger energy correction image is smaller than a preset red pixel threshold value into a preset pixel value so as to obtain a GDV finger energy denoising image;
and carrying out graying processing on the acquired GDV finger energy denoising image to acquire a GDV finger energy processing image.
8. The system according to claim 6, wherein the inside-outside contour map determination unit that performs binarization processing on the GDV finger energy processing image and determines the inside-outside contour map for each finger includes:
according to a preset binarization processing threshold value, performing binarization processing on the GDV finger energy processing image to obtain a GDV finger energy binarization image;
determining all finger contours in the GDV finger energy binary image, and calculating the contour area of each finger contour;
and deleting the finger outline with the outline area smaller than the preset outline area threshold value, and integrating according to the circle center and the radius of the remaining finger outline to obtain the inner and outer outline maps of each finger.
9. The system of claim 6, wherein the inside and outside contour length determining unit determines the inside contour length and the outside contour length in the inside and outside contour map for each finger using a polar coordinate method, comprising:
converting the inner and outer contour diagrams of each finger in the polar coordinate system into a Cartesian coordinate system to obtain a converted image corresponding to each finger;
calculating the maximum value and the minimum value of each column of the converted image corresponding to each finger, and converting the obtained maximum value and minimum value into polar coordinates to obtain an inner contour map and an outer contour map corresponding to each finger;
and determining the inner contour length and the outer contour length in the inner contour map and the outer contour map of each finger according to the number of pixel points in the inner contour map and the outer contour map corresponding to each finger.
10. The system of claim 9, wherein the inner and outer contour length determining unit converts the pixel points in the polar coordinate system into the cartesian coordinate system by:
x=rcos(θ),
y=rsin(θ),
converting the pixel points in the Cartesian product coordinate system into a polar coordinate system by the following method:
Figure FDA0002336040560000041
θ=arctan(y/x),
wherein r is the radius of a circle where any pixel point P (i, j) in the polar coordinate system is located; theta is the angle corresponding to the pixel point; the coordinate of the point corresponding to the pixel point P in the cartesian coordinate system is (x, y).
CN201911425763.XA 2019-12-25 2019-12-25 Method and system for determining inner and outer contour ratio of finger in GDV energy image Active CN111192314B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911425763.XA CN111192314B (en) 2019-12-25 2019-12-25 Method and system for determining inner and outer contour ratio of finger in GDV energy image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911425763.XA CN111192314B (en) 2019-12-25 2019-12-25 Method and system for determining inner and outer contour ratio of finger in GDV energy image

Publications (2)

Publication Number Publication Date
CN111192314A true CN111192314A (en) 2020-05-22
CN111192314B CN111192314B (en) 2024-02-20

Family

ID=70710600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911425763.XA Active CN111192314B (en) 2019-12-25 2019-12-25 Method and system for determining inner and outer contour ratio of finger in GDV energy image

Country Status (1)

Country Link
CN (1) CN111192314B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112614095A (en) * 2020-12-15 2021-04-06 新绎健康科技有限公司 Method and system for analyzing liver meridian energy based on image processing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102113012A (en) * 2008-06-04 2011-06-29 国立大学法人筑波大学 Finger shape estimating device, and finger shape estimating method and program
CN103208002A (en) * 2013-04-10 2013-07-17 桂林电子科技大学 Method and system used for recognizing and controlling gesture and based on hand profile feature
CN110414333A (en) * 2019-06-20 2019-11-05 平安科技(深圳)有限公司 A kind of detection method and device of image boundary

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102113012A (en) * 2008-06-04 2011-06-29 国立大学法人筑波大学 Finger shape estimating device, and finger shape estimating method and program
CN103208002A (en) * 2013-04-10 2013-07-17 桂林电子科技大学 Method and system used for recognizing and controlling gesture and based on hand profile feature
CN110414333A (en) * 2019-06-20 2019-11-05 平安科技(深圳)有限公司 A kind of detection method and device of image boundary

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
K. G. KOROTKOV等: "Analysis and monitoring of the human energy state with gas discharge visualization technique" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112614095A (en) * 2020-12-15 2021-04-06 新绎健康科技有限公司 Method and system for analyzing liver meridian energy based on image processing

Also Published As

Publication number Publication date
CN111192314B (en) 2024-02-20

Similar Documents

Publication Publication Date Title
US8285039B2 (en) Image processor
US8036438B2 (en) Outline detection apparatus, outline detection method, and program thereof
CN109523551B (en) Method and system for acquiring walking posture of robot
US10458927B2 (en) Image processing device, image processing method, and program
CN108615239B (en) Tongue image segmentation method based on threshold technology and gray level projection
EP3067856B1 (en) Image processing apparatus and image processing method
CN105147311A (en) Visual equipment assisted scanning and positioning method and system applied to CT system
CN110047059B (en) Image processing method and device, electronic equipment and readable storage medium
CN107622475A (en) Gray correction method in image mosaic
CN113177935A (en) Near-infrared light intensity uniformity detection method and device and computer equipment
CN111192314B (en) Method and system for determining inner and outer contour ratio of finger in GDV energy image
CN114511567A (en) Tongue body and tongue coating image identification and separation method
CN111161293B (en) Method and system for determining outline of GDV energy image based on rectangular coordinate space
GB2522663A (en) A method of selecting a region of interest
CN115995208B (en) Lamp positioning method, correction method and device for spherical LED display screen
CN104933681A (en) Image processing apparatus and an image processing program
JP5203159B2 (en) Image processing method, image processing system, and image processing program
CN103226689B (en) Detect blood-shot eye illness method and device, removal blood-shot eye illness method and device
EP4233691A1 (en) Image processing method and image processing apparatus using same
JPH10234674A (en) Method for judging presence or absence of change of fundus oculi image with time
JP2012213518A (en) Image processing apparatus, image processing method, and image processing program
JP2007243987A (en) Image processing method, image processing system, and image processing program
CN109658382B (en) Tongue positioning method based on image clustering and gray projection
CN114023249A (en) LED display screen image light point extraction method and device and LED display screen correction method
JP4406978B2 (en) Template matching method

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