Wrinkle detection method, computer program, and wrinkle detection system

The wrinkle detection method uses machine learning models to accurately identify individual wrinkles by determining candidate contours and applying adaptive binarization, effectively reducing false detections and generating precise wrinkle segmentations.

JP2026186106APending Publication Date: 2026-11-27POLA CHEMICAL INDUSTRIES INC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2026208661
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2026-09-17
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies do not effectively detect individual wrinkles in images using machine learning models.

Method used

A wrinkle detection method involving an input image receiving process, candidate contour determination, feature calculation, and wrinkle detection using a trained model, with adaptive binarization and multiple detection models to enhance accuracy.

Benefits of technology

Enables detection of both micro and macro wrinkles, reduces false detections, and generates a mask image displaying wrinkle segmentation, even with changes in face position or light reflection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026186106000001_ABST
    Figure 2026186106000001_ABST
Patent Text Reader

Abstract

To provide a novel technology for detecting individual wrinkles in an image. [Solution] A wrinkle detection method performed by a computer, comprising: an input image receiving step of receiving an input image; a candidate contour determination step of determining candidate contours of wrinkles from the input image; a feature calculation step of calculating feature quantities of the candidate contours; and a wrinkle detection step of inputting the candidate contour feature quantities of wrinkles to a wrinkle detection model learned using wrinkle annotation to detect wrinkles, wherein the input image is a frame image from a video, and in the wrinkle detection step, a Kalman filter is applied as a detection model to each candidate contour, and the classification estimate of the candidate contour in the current frame image is calculated using the classification estimate of the same candidate contour in the previous frame image.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This invention relates to a wrinkle detection method, a computer program, and a wrinkle detection system. [Background technology]

[0002] Conventionally, various methods have been developed to analyze a subject's skin by focusing on wrinkles. For example, Patent Document 1 describes an image analysis method characterized by having a tracking step, which tracks the amount of change of a plurality of tracking points pre-arranged in an analysis region of the subject's face based on changes in the subject's facial expression contained in a moving image, and obtains the compression ratio of the skin in the analysis region from the amount of change; and a skin condition analysis step, which analyzes the subject's skin condition based on the compression ratio obtained in the tracking step.

[0003] Patent Document 2 describes a method for evaluating crease lines in the skin, in which facial images are taken before and after crease formation, in which the skin is moved so that a predetermined position on the skin surface is displaced by a predetermined length and time. Based on a wrinkle score index that evaluates the state in which wrinkles are formed or emphasized (hereinafter referred to as the wrinkle formation state) in multiple stages, a score value for the wrinkle formation state is obtained for both the facial image before and after crease formation, and the difference between the score value for the wrinkle formation state of the facial image after crease formation and the score value for the wrinkle formation state of the facial image before crease formation is used as the evaluation value for skin crease lines.

[0004] Patent Document 3 describes a skin image analysis method in which one or more processors that can utilize a trained discriminant model, which is machine-trained based on multiple training data including multiple combinations of ground truth information indicating common attributes or states of the skin in a training skin image and a group of training skin patch images of a predetermined image size extracted from the training skin image, acquire an evaluation skin image, acquire a group of skin patch images of a predetermined image size from the acquired evaluation skin image, normalize the pixel values ​​of each acquired skin patch image, and input each normalized skin patch image into the discriminant model to acquire index values ​​of skin attributes or skin states for each skin patch image.

[0005] Patent Document 4 discloses a skin diagnostic device in which the memory unit stores and provides a CNN, which is a convolutional neural network that classifies image pixels to determine a diagnosis for each of the N skin signs, the CNN is a deep neural network for image classification configured to generate a diagnosis for each of the N skin signs, the CNN is trained using skin sign data for each of the N skin signs, and the processing unit receives the image, processes the image using the CNN, and generates a diagnosis for each of the N skin signs. [Prior art documents] [Patent Documents]

[0006] [Patent Document 1] Japanese Patent Publication No. 2014-193197 [Patent Document 2] Japanese Patent Publication No. 2022-045280 [Patent Document 3] Japanese Patent Publication No. 2022-078936 [Patent Document 4] Special Publication No. 2022-512044

[0007] In the technologies described in Patent Documents 1 and 2, wrinkle detection was performed by placing tracking marks on the subject's face. In the technologies described in Patent Documents 3 and 4, skin evaluation was performed using neural networks, etc. On the other hand, Patent Documents 1 to 4 do not disclose any technology for detecting individual wrinkles in an image using machine learning models. [Overview of the Initiative] [Problems that the invention aims to solve]

[0008] The present invention aims to provide a novel technique for detecting individual wrinkles in images using a machine learning model. [Means for solving the problem]

[0009] To solve the above problems, the present invention provides a wrinkle detection method performed by a computer, An input image receiving process that receives input images, A candidate contour determination step is performed to determine candidate contours of wrinkled areas from the input image, A feature calculation step for calculating the feature quantities of the candidate contours, The method includes a wrinkle detection step in which candidate contour features of wrinkles are input to a wrinkle detection model that has been trained using annotation of wrinkles, and wrinkles are detected.

[0010] With this configuration, candidate contours of wrinkles in the input image can be determined, and wrinkle detection can be performed using a detection model trained with wrinkle annotations.

[0011] In a preferred embodiment of the present invention, the candidate contour determination step includes a first candidate contour determination step in which a filter is applied to the input image with a first window size to determine a first candidate contour, The process includes a second candidate contour determination step, in which a filter is applied to the input image using a second window size larger than the first window size, and a second candidate contour is determined. Furthermore, the process includes a non-wrinkle detection step in which candidate contour features of non-wrinkle areas are input to a non-wrinkle area detection model trained using annotation of non-wrinkle areas to detect non-wrinkle areas, The process includes an image output step in which the wrinkled and non-wrinkled areas detected in the wrinkle detection step and the non-wrinkled area detection step are masked and combined with the input image.

[0012] In a preferred embodiment of the present invention, the wrinkle elements generated by the masking process are combined with the input image.

[0013] In a preferred embodiment of the present invention, the input image is a grayscale image, The filtering process is a binarization filter process applied to the input image.

[0014] In a preferred embodiment of the present invention, the binarization filter processing is adaptive binarization processing.

[0015] In a preferred embodiment of the present invention, in the wrinkle detection step, a candidate contour feature amount of the wrinkle portion is input to a wrinkle portion detection model to create segmentation of the wrinkle portion.

[0016] With such a configuration, it is possible to detect micro-features such as wrinkles and more macro-features such as nasolabial folds in a face image, for example, and it is possible to generate a mask image displaying the segmentation of the wrinkle portion.

[0017] In a preferred embodiment of the present invention, in the wrinkle detection step, a classification estimation value for each model is calculated for each candidate contour using a plurality of different detection models, and the wrinkle portion is detected using the plurality of classification estimation values.

[0018] In a preferred embodiment of the present invention, the detection model used in the wrinkle detection step includes at least one of a random forest, a multilayer perceptron, and a Kalman filter.

[0019] In a preferred embodiment of the present invention, the input image is a frame image in a moving image, In the wrinkle detection step, a Kalman filter is applied as a detection model to each candidate contour, and a classification estimation value of the current frame image is calculated using the classification estimation value in the previous frame image.

[0020] With such a configuration, it is possible to detect a wrinkle portion using classification estimation values for a plurality of models, and a reduction in the risk of erroneous detection or the like is expected.

[0021] In a preferred embodiment of the present invention, the wrinkle detection method according to claim 1, wherein the feature amount calculated in the feature amount calculation step includes at least one of the following (a) to (e): (a) position information of the candidate contour as viewed from a reference portion in the input image, (b) Color information based on the chromaticity of the candidate contour and the chromaticity of the region surrounding the candidate contour, (c) Area of ​​the candidate contour, (d) The circularity of the candidate contour, and (e) The slope of the linear fitting to the candidate contour.

[0022] In a preferred embodiment of the present invention, the input image includes the eyes, forehead, cheeks and the entire face of the subject, The aforementioned positional information indicates the relative position of the candidate contour as seen from the subject's eyes within the input image.

[0023] In a preferred embodiment of the present invention, the chromaticity of the candidate contour peripheral region includes the chromaticity of one or more candidate contour regions outside the bounding rectangle of a given candidate contour.

[0024] This configuration is expected to reduce the risk of false detections, even if the position of the face in the image changes or the degree of light reflection changes.

[0025] Furthermore, the present invention is a computer program that causes the computer device to execute the wrinkle detection method described above.

[0026] Furthermore, the present invention relates to a wrinkle detection device, A reception unit that receives input images, A candidate contour determination unit determines candidate contours of wrinkled areas from the input image, A feature calculation unit that calculates the feature quantities of the candidate contours, The system includes a wrinkle detection unit that detects wrinkles by inputting candidate contour features of wrinkles to a wrinkle detection model trained using annotations of wrinkles. [Effects of the Invention]

[0027] This invention provides a novel technique for detecting individual wrinkles in images using a machine learning model. [Brief explanation of the drawing]

[0028] [Figure 1] A block diagram showing the functional configuration of a system in one embodiment. [Figure 2] Hardware configuration diagram of a system according to one embodiment. [Figure 3] A list of features of one embodiment. [Figure 4] An example of calculating feature quantities according to one embodiment. [Figure 5] An example of calculating feature quantities according to one embodiment. [Figure 6] A processing flowchart of the learning process in one embodiment. [Figure 7] A processing flowchart of a wrinkle detection process according to one embodiment. [Modes for carrying out the invention]

[0029] The present invention will be described in more detail below with reference to the attached drawings. While preferred embodiments are shown in the drawings, the present invention can be carried out in different forms and is not limited to the embodiments described herein. In this embodiment, the configuration and operation of the learning device and wrinkle detection device will be described, but similar effects can be achieved by methods executed by the devices, computer programs, etc. The computer program may be provided as a computer-readable, non-transient recording medium.

[0030] <1. System Configuration> Figure 1 is a block diagram showing the configuration of a system according to one embodiment. As shown in Figure 1, the wrinkle detection system 0 comprises a learning device 1, a wrinkle detection device 2, a terminal device 3, and an imaging device 4.

[0031] One or more general-purpose information processing devices 10, such as servers or personal computers, can be used as the learning device 1 and the wrinkle detection device 2. The learning device 1 and the wrinkle detection device 2 may be configured in the same information processing device 10, or they may be configured in separate information processing devices 10. Furthermore, although the learning device 1 and the wrinkle detection device 2 have the functional configurations described later, some of the functional configurations of the learning device 1 may be located in another device configured to communicate with the learning device 1. Similarly, some of the functional configurations of the wrinkle detection device 2 may be located in another device configured to communicate with the learning device 1 and the wrinkle detection device 2.

[0032] The imaging device 4 is a device for transferring images to the learning device 1 and the wrinkle detection device 2, and in this embodiment, a video camera equipped with a video recording function is used. The imaging device 4 may also be a camera equipped with a still image capture function.

[0033] Terminal device 3 is used to transfer facial images (including video) captured by imaging device 4 to learning device 1 and wrinkle detection device 2, and for inputting and outputting information to learning device 1 and wrinkle detection device 2. Terminal device 3 can be a personal computer, smartphone, tablet, or other terminal device 90. Multiple terminal devices 3 may be used, or only one. Similarly, multiple imaging devices 4 may be used, or only one. Furthermore, if terminal device 3 has video recording and still image capture functions, terminal device 3 may also function as imaging device 4.

[0034] In this embodiment, multiple terminal devices 3 and imaging devices 4 are used. Terminal devices 3 that input and output information to and from the learning device 1 are designated as terminal device 31, and imaging devices 4 that transmit facial images to the learning device 1 via terminal device 31 are designated as imaging device 41. Similarly, terminal devices 3 that input and output information to and from the wrinkle detection device 2 are designated as terminal device 32, and imaging devices 4 that transmit facial images to the wrinkle detection device 2 via terminal device 32 are designated as imaging device 42. When distinction is unnecessary, they may simply be referred to as terminal device 3 and imaging device 4.

[0035] These devices may communicate via any network using any communication protocol, such as an IP (Internet Protocol) network.

[0036] <1.1. Hardware Configuration> Figure 2 is a hardware configuration diagram. As shown in Figure 2(a), the information processing device 10 (learning device 1 and wrinkle detection device 2) has a processing unit 101, a storage unit 102, and a communication unit 103, which are used to perform the functions of each unit and each process.

[0037] The processing unit 101 has a processor such as a CPU capable of executing instruction sets, and executes the OS and a learning program (in the case of learning device 1) or a wrinkle detection program (in the case of wrinkle detection device 2), etc. The memory unit 102 has a volatile memory such as RAM capable of storing instruction sets, and a non-volatile recording medium such as an HDD or SSD capable of storing an OS, a learning program, or a wrinkle detection program. The communication unit 103 has an interface for physically connecting to the network, performs communication control with the network, and communicates with other information processing devices 10 and terminal devices 90.

[0038] As shown in Figure 2(b), the terminal device 90 (terminal device 3) has a processing unit 901, a storage unit 902, a communication unit 903, an input unit 904, and an output unit 905, which are used to perform the functions of each unit and each process.

[0039] The processing unit 901 has a processor such as a CPU capable of executing instruction sets, and executes the OS and a learning device utilization program (in the case of terminal device 31) or a wrinkle detection device utilization program (in the case of terminal device 32), etc. The learning device utilization program and the wrinkle detection device utilization program are programs for operating learning device 1 and wrinkle detection device 2, inputting data, displaying output results, etc., but they may also be provided to terminal devices 31 and 32 as web programs that can be accessed via a web browser. The memory unit 902 includes a volatile memory such as RAM capable of storing instruction sets, an OS, and a non-volatile recording medium such as an HDD or SSD capable of recording learning device utilization programs or wrinkle detection device utilization programs. The communication unit 903 has an interface for physically connecting to the network, performs communication control with the network, and communicates with the information processing device 10. The input unit 904 includes an operation input device capable of input processing such as a touch panel or keyboard, an audio input device capable of voice input such as a microphone, and an image input device capable of image input such as a camera. The output unit 905 includes a display device capable of display processing, such as a display, and an audio output device, such as a speaker.

[0040] <1.2. Functional Configuration of Wrinkle Detection System 0> As shown in Figure 1, the learning device 1 comprises a reception unit 11, a candidate contour determination unit 12, a feature calculation unit 13, a classification assignment unit 14, a wrinkle detection model learning unit 15, and a non-wrinkle detection model learning unit 16. The wrinkle detection device 2 comprises a reception unit 21, a candidate contour determination unit 22, a feature calculation unit 23, a wrinkle detection unit 24, a non-wrinkle detection unit 25, and a mask image display unit 26. This is an example where information processing by software (a learning program / wrinkle detection program temporarily or permanently stored in the memory unit 102, etc.) is concretely realized by hardware (the processing unit 101, etc.).

[0041] Here, "non-wrinkles" refers to things other than wrinkles, such as age spots, moles, pores, hair, and nasolabial folds.

[0042] <1.3. Input Image> The imaging device 4 acquires images input for learning a detection model or for wrinkle detection using a learned model, and passes them to the reception units 11 and 21 via the terminal device 3. In this embodiment, the input image includes the subject's eyes, forehead, cheeks, and entire face, but the system may be configured to perform learning and wrinkle detection using input images that include only a part of these areas. The input image is, for example, a color or grayscale gradation image.

[0043] The reception units 11 and 21 receive input images. The input images may be in image file format or video file format. If the input image is in video file format, the reception units 11 and 21 convert the video frame images into image file format and store the image files in the storage unit 102 while preserving the time series of the video. Here, "preserving the time series" means that information indicating the order of the frame images is included, for example, by including the serial number of the frame in the image file name. In addition, the time series may be preserved in any way, such as associating the order etc. with the image file names and storing them in the storage area.

[0044] <1.4. Determination of Candidate Contours> The candidate contour determination units 12 and 22 determine candidate contours of wrinkled and non-wrinkled areas in the input image. The candidate contour determination units 12 and 22 perform filtering on the input image with a first window size to determine continuous regions in the input image and designate them as first candidate contours. They also perform the same filtering on the input image with a second window size larger than the first window size to determine continuous regions in the input image and designate them as second candidate contours.

[0045] The filtering process is, for example, a binarization process with a predetermined convolution window size. In this embodiment, the candidate contour determination units 12 and 22 perform adaptive binarization processing on the input image with a predetermined window size. For example, when the input image is 4000 × 3000 pixels, the first window size is, for example, 41 × 41 pixels, and the second window size is, for example, 121 × 121 pixels, but the window sizes can be set arbitrarily. The length of one side of the second window is preferably at least twice the length of the first window, preferably at least 2.5 times the length, preferably at least 4 times the length of the first window, preferably at least 3.5 times the length, and preferably at least 3 times the length. The area of ​​the second window is preferably at least 4 times the area of ​​the first window, preferably at least 8 times the area, preferably at least 16 times the area of ​​the first window, and preferably at least 9 times the area. Furthermore, the candidate contour determination units 12 and 22 may issue identifiers such as serial numbers or IDs for each candidate contour obtained by filtering, and store them in association with coordinate points that can identify the candidate contour, thereby storing the segments in a distinguishable manner.

[0046] <1.5. Feature Calculation Process> The feature calculation units 13 and 23 calculate feature quantities for the first candidate contour and the second candidate contour determined by the candidate contour determination units 12 and 22, respectively. In this embodiment, the feature calculation units 13 and 23 calculate feature quantities for multiple attributes for each candidate contour. Figure 3 shows a list of feature quantities calculated by the feature calculation units 13 and 23 in this embodiment.

[0047] The feature calculation units 13 and 23 calculate (a) the position information of the candidate contour as seen from the reference unit in the input image as a feature of the position attribute, and use this as the first feature. In this embodiment, the feature calculation units 13 and 23 perform arbitrary image processing to perform eye detection processing in the input image, and use the eye as the reference unit as the first feature, and calculate polar coordinates (angle and distance) to any point on the candidate contour as information of the relative position of the candidate contour as seen from the reference unit.

[0048] <1.6. Features> Figure 4 shows an example of feature calculation. The symbol (a) represents an example of the calculation of the first feature. In the illustrated example, feature calculation units 13 and 23 perform a known eye detection process on the input image to detect the center of the eye region, and using the center of the bounding box (outer tangent rectangle) of the eye region as the origin, calculate the polar coordinates (r, θ) to the centroid position of the candidate contour and use this as the first feature. The reference part may be something other than the eye, for example, the nose, mouth, or the entire face. The relative position may be coordinates in any coordinate system. The origin of the coordinate system may be an endpoint of the input image, but it is preferable to use the reference part as the origin because it reduces the influence of the position of the face in the input image.

[0049] The origin can be any coordinate associated with the reference part, such as the center coordinates, centroid coordinates, edge coordinates, or endpoint coordinates of the reference part's contour or its circumscribing rectangle. Similarly, the coordinates of the candidate contour can be any coordinate associated with the candidate contour, such as the center coordinates, centroid coordinates, edge coordinates, or endpoint coordinates of the candidate contour or its circumscribing rectangle.

[0050] Furthermore, the feature quantity calculation units 13 and 23 calculate (b) color information based on the chromaticity of the candidate contour and the chromaticity of the region surrounding the candidate contour as color attribute features, and use these as second features.

[0051] Figure 5 shows an example of the calculation of the second feature. In the illustrated example, the feature calculation units 13 and 23 calculate the difference between the average chromaticity in the region surrounding the candidate contour of the input image (grayscale image) and the average chromaticity of the candidate contour, and use this as color information. Here, the candidate contour (L i Candidate contour surrounding region P i This refers to the candidate contour (L i Candidate contours (L) within the bounding rectangle, etc. i Around ) the i-th wrinkle candidate (L i ) Wrinkle candidates outside the contour region and other than the i-th (L j ) The region outside the contour is defined as (Equation (1)). The candidate contour is the object L. i That is the case.

[0052]

number

[0053] Furthermore, the feature calculation units 13 and 23 further calculate (c) the area of ​​the candidate contour as a feature of the size attribute, and use it as a third feature. The area can be determined, for example, by the number of pixels within the candidate contour. The area may also be a relative value with respect to the area of ​​a comparison target such as the eyes, nose, or the entire face.

[0054] Furthermore, the feature calculation units 13 and 23 calculate (d) the circularity of the candidate contour as a feature of the shape attribute, and use it as the fourth feature. The circular longitude can be calculated, for example, using equation (2).

[0055]

number

[0056] Furthermore, the feature calculation units 13 and 23 further calculate (e) the slope of the linear fitting to the candidate contour as a feature of the orientation attribute, and make it a fifth feature. The feature calculation units 13 and 23 perform a linear fitting process on the candidate contour and calculate the slope of the line.

[0057] <1.7. Creating training data> The classification assignment unit 14 assigns annotations to each candidate contour and generates training data for training the detection model by linking the annotations with the first to fifth features calculated by the feature calculation unit 13. In this embodiment, the classification assignment unit 14 generates training data for training the wrinkle detection model by linking the features of the first candidate contour with classification information, and generates training data for training the non-wrinkle detection model by linking the features of the second candidate contour with classification information.

[0058] The classification information is annotation information, such as information indicating the type of object, such as wrinkles, blemishes, moles, pores, hair, nasolabial folds, etc., and the segmentation of candidate contours is displayed in different colors according to the set classification information. Note that the classification information may consist of two types, for example, wrinkles and non-wrinkles, and the learning process and detection model judgment described later may also classify wrinkles and non-wrinkles accordingly.

[0059] In this embodiment, the classification assignment unit 14 masks the input image with one or more first candidate contours and one or more second candidate contours determined by the candidate contour determination unit 12 and displays them on the terminal device 31, and accepts registration of classification information for each candidate contour. Here, candidate contours of wrinkled areas that are located within candidate contours of non-wrinkled areas may be excluded from the training data. At this time, candidate contours of wrinkled areas that are only partially located within candidate contours of non-wrinkled areas may also be excluded from the training data. Alternatively, for candidate contours of wrinkled areas that are located within candidate contours of non-wrinkled areas, the classification information set for non-wrinkled areas may be set. At this time, for candidate contours of wrinkled areas that are only partially located within candidate contours of non-wrinkled areas, the classification information set for non-wrinkled areas may also be set.

[0060] <1.8. Learning Process> The wrinkle detection model learning unit 15 uses the combination of features calculated by the feature calculation unit 13 for the first candidate contour determined by the candidate contour determination unit 12 (candidate contour features) and classification information set via the classification assignment unit 14 as training data to perform training on the wrinkle detection model, which is a machine learning model. Similarly, the non-wrinkle detection model learning unit 16 uses the combination of features calculated by the feature calculation unit 13 for the second candidate contour determined by the candidate contour determination unit 12 (candidate contour features) and classification information set via the classification assignment unit 14 as training data to perform training on the non-wrinkle detection model, which is a machine learning model.

[0061] The wrinkle detection model learning unit 15 learns a plurality of types of machine learning models as wrinkle detection models. Similarly, the non-wrinkle detection model learning unit 16 performs learning processing on a plurality of types of machine learning models as non-wrinkle detection models. In the present embodiment, the wrinkle detection model learning unit 15 performs learning processing on a random forest and a multilayer perceptron using a set of teacher data of the first candidate contour. Further, the non-wrinkle detection model learning unit 16 performs learning processing on the random forest and the multilayer perceptron using a set of teacher data of the second candidate contour. The wrinkle detection model learning unit 15 and the non-wrinkle detection model learning unit 16 may perform learning processing on the random forest and the multilayer perceptron using the same set of teacher data, or may perform learning processing on each of them using partially or entirely different teacher data.

[0062] <1.9. Wrinkle Detection> The wrinkle detection unit 24 calculates a classification estimation value by inputting the feature amount of the first candidate contour to the wrinkle detection model learned by the wrinkle detection model learning unit 15, and assigns classification information to the first candidate contour. This detects wrinkle portions and non-wrinkle portions. The classification estimation value indicates which classification information the input feature amount is classified into. In the present embodiment, first, the feature amount is input to each of the random forest and multilayer perceptron detection models learned by the wrinkle detection model learning unit 15, and the classification estimation value in each detection model is calculated. Then, for example, as shown in formula (3), the classification estimation value of the first candidate contour is determined using the classification estimation values calculated via a plurality of detection models. In formula (3), the symbol i denotes the number of the candidate contour in the input image, P rfi and w rf denote the classification estimation value of the candidate contour i calculated using the random forest and the weight of the classification estimation value, P mpi and w mp denote the classification estimation value of the candidate contour i calculated using the multilayer perceptron and the weight of the classification estimation value, P i denotes the final classification estimation value of the candidate contour i. The weight value is an example, and may be set arbitrarily.

[0063]

number

[0064] Furthermore, if the input image is a video and segmentation of wrinkles is performed on multiple consecutive frame images over time, a Kalman filter is used to calculate the classification estimate. For example, as shown in equation (4), the classification estimate of the first candidate contour in the frame image may be determined using the classification estimate calculated through multiple detection models including a Kalman filter. In equation (4), the symbol h indicates the frame image number, and the wrinkle detection unit 24 uses the Kalman filter to calculate the classification estimate P of the same candidate contour (h-1)i in the frame image of the previous frame h-1. (h-1)i Using this, the classification estimate P in the current frame image is calculated. hi The following is calculated. Note that, as with equation (3), the weights are just examples and can be set arbitrarily. Note that the previous frame image does not necessarily have to be the frame image immediately preceding the video, but it is preferable that it be a frame image that is close in time series.

[0065]

number

[0066] The non-wrinkle detection unit 25, similar to the wrinkle detection unit 24, calculates a classification estimate by inputting the feature quantities of the second candidate contour to the non-wrinkle detection model trained by the non-wrinkle detection model learning unit 16, and assigns classification information to the second candidate contour. This detects wrinkled and non-wrinkled areas. For example, as shown in equation (3), the classification estimate of the first candidate contour is determined using classification estimates calculated through multiple detection models. Furthermore, when the input image is a video and segmentation of non-wrinkled areas is performed on multiple consecutive frames over time, the classification estimate is calculated using a Kalman filter as shown in equation (4).

[0067] In this embodiment, the wrinkle detection unit 24 and the non-wrinkle detection unit 25 classify segmentations such as moles and nasolabial folds based on classification information, but these segmentations other than wrinkles are collectively referred to as non-wrinkle areas.

[0068] The mask image display unit 26 generates a mask image using the classification estimate calculated by the wrinkle detection unit 24 and the classification estimate calculated by the non-wrinkle detection unit 25, and displays the segmentation of wrinkled and non-wrinkled areas superimposed on the input image on the terminal device 32. If the input image is a video, the mask image display unit 26 may display the video with the segmentation of wrinkled and non-wrinkled areas superimposed on the terminal device 32.

[0069] The classification information for each first candidate contour is determined from the classification estimate calculated by the wrinkle detection unit 24, and the classification information for each second candidate contour is determined from the classification estimate calculated by the non-wrinkle detection unit 25. The mask image display unit 26 uses the classification information for each first candidate contour and the classification information for each second candidate contour to fill in the segmentation of wrinkled areas and non-wrinkle areas, etc., and generates a mask image superimposed on the input image. The mask image display unit 26 may also generate the mask image by coloring the segmentation edges, etc.

[0070] The wrinkle detection unit 24 identifies the wrinkled areas (segments classified as wrinkles from the first candidate contours) as the first candidate contours for wrinkle classification, and the detected non-wrinkled areas (segments classified as non-wrinkled from the first candidate contours) as the first candidate contours for non-wrinkled classification. In addition, the wrinkled areas detected by the non-wrinkled detection unit 25 (segments classified as wrinkles from the second candidate contours) as the second candidate contours for wrinkle classification, and the detected non-wrinkled areas (segments classified as non-wrinkled from the second candidate contours) as the second candidate contours for non-wrinkled classification.

[0071] In this case, for example, the mask image display unit 26 may determine the first candidate contour for wrinkle classification and the second candidate contour for wrinkle classification as the final segmentation of the wrinkled area. In this case, in order to exclude false detections of the first candidate contour for wrinkle classification, the mask image display unit 26 may exclude segmentation classified as wrinkles from the first candidate contour for wrinkle classification in which some or all of the pixels are included within the segmentation of the non-wrinkled area candidate contour, and then determine the final segmentation of the wrinkled area. If only a part of the pixels are included, the entire candidate contour may be excluded, or only the portion of the pixels that are included may be excluded from the candidate contour.

[0072] Similarly, for example, the mask image display unit 26 may determine the second candidate contour for non-wrinkle classification and the first candidate contour for non-wrinkle classification as the final segmentation for the non-wrinkle area. Furthermore, in order to exclude false detections of the second candidate contour for non-wrinkle classification, the mask image display unit 26 may exclude segmentation classified as non-wrinkle from the second candidate contour for non-wrinkle classification where some or all pixels are included within the segmentation of the wrinkled area candidate contour for wrinkle classification, and then determine the final segmentation for the non-wrinkle area. If only a portion of a pixel is included, the entire candidate contour may be excluded, or only the portion of the pixel containing the pixel may be excluded from the candidate contour.

[0073] The mask image display unit 26 may perform segmentation of wrinkled and non-wrinkled areas by overlaying a first mask image, which fills the area within the first candidate contour with a color corresponding to the classification estimate and makes the area outside the first candidate contour transparent, and a first mask image, which fills the area within the second candidate contour with a color corresponding to the classification estimate and makes the second candidate contour transparent, onto the input image. In this case, the input image may be placed on the bottom layer, the first mask image on the next layer, and the second mask image on the layer above it, thereby excluding wrinkled areas (which are actually non-wrinkled areas) that were mistakenly detected in the first mask image by segmentation of the second mask image.

[0074] <2. Learning Process Procedure> Next, the procedure for the learning process will be explained using Figure 6. In step S101, the reception unit 11 receives the specification of a video file for which training data will be created, and in step S102, it receives the specification of a frame image from the video file and uses it as the input image.

[0075] In step S103, the candidate contour determination unit 12 performs adaptive binarization on the input image using a small window, which is the first window size, to extract microscopic features. In step S104, the continuous region in the adaptively binarized input image is designated as the first candidate contour. Similarly, in step S103, the candidate contour determination unit 12 performs adaptive binarization on the input image using a large window, which is the second window size, to extract macroscopic features. In step S104, the continuous region in the adaptively binarized input image is designated as the second candidate contour.

[0076] In step S105, the feature calculation unit 13 is used to calculate features for both the first candidate contour and the second candidate contour. The classification assignment unit 14 is then used to assign correct classification information to both the first and second candidate contours. The features calculated and the assigned classification information for the first candidate contour are combined to generate training data for the wrinkle detection model. Similarly, the features calculated and the assigned classification information for the second candidate contour are combined to generate training data for the non-wrinkle detection model.

[0077] In step S106, these processes are repeated until a predetermined number of training data are created. If the desired number of training data have not been created (NO in step S106), proceed to step S107. In step S107, if a different frame image from the same video file is used (YES in step S107), proceed to step S102. If a different video file is used (NO in step S107), proceed to step S101.

[0078] In step S108, the wrinkle detection model learning unit 15 trains a wrinkle detection model using the training data of the first candidate contour generated in step S105. The non-wrinkle detection model learning unit 16 also trains a non-wrinkle detection model using the training data of the second candidate contour.

[0079] <3. Wrinkle detection processing procedure> Next, the procedure for wrinkle detection will be explained using Figure 7. In step S201, the reception unit 21 receives the specification of a video file to be subjected to wrinkle detection, and in step S202, the frame images from the video file are used as input images.

[0080] In step S203A, the candidate contour determination unit 22 performs adaptive binarization on the input image using a small window, which is the first window size, to extract microscopic features. In step S204A, the continuous region in the adaptively binarized input image is designated as the first candidate contour. Similarly, in step S203B, the candidate contour determination unit 12 performs adaptive binarization on the input image using a large window, which is the second window size, to extract macroscopic features. In step S204B, the continuous region in the adaptively binarized input image is designated as the second candidate contour.

[0081] In step S205A, the feature calculation unit 23 calculates the feature quantities of the first candidate contour, and the wrinkle detection unit 24 inputs the calculated feature quantities of the first candidate contour into the wrinkle detection model to assign classification information to each first candidate contour. In step S206A, the mask image display unit 26 determines the segmentation of the wrinkled areas based on this classification information. Similarly, in step S205B, the feature calculation unit 23 calculates the feature quantities of the second candidate contour, and the non-wrinkle detection unit 25 inputs the calculated feature quantities of the second candidate contour into the non-wrinkle detection model to assign classification information to each second candidate contour. In step S206B, the mask image display unit 26 determines the segmentation of the non-wrinkle areas based on this classification information.

[0082] In step S207, the mask image display unit 26 uses the segmentation of wrinkled areas and the segmentation of non-wrinkled areas to determine the final segmentation of wrinkled areas and the final segmentation of non-wrinkled areas, and generates a mask image by superimposing these segmentations onto the input image.

[0083] In this embodiment, wrinkle detection is performed using facial images, but the detection model may be trained to enable wrinkle detection on parts other than the face. Also, in this embodiment, the reception units 11 and 21, candidate contour determination units 12 and 22, and feature calculation units 13 and 23 are provided in the learning device 1 and the wrinkle detection device 2 respectively, but one may be configured to serve the other. [Industrial applicability]

[0084] According to the present invention, candidate contours of wrinkles in an input image can be determined, and wrinkles can be detected using a detection model trained with wrinkle annotations. Furthermore, according to the present invention, for example, in a facial image, microscopic features such as wrinkles and more macroscopic features such as nasolabial folds can be detected separately, and a mask image displaying the segmentation of wrinkles can be generated. In addition, according to the present invention, wrinkle detection is possible using classification estimates from multiple models, which is expected to reduce the risk of false detections. Furthermore, according to the present invention, even if the position of the face in the image changes or the degree of light reflection changes, the risk of false detections is expected to be reduced. [Explanation of Symbols]

[0085] 0: Wrinkle detection system 1: Learning device 2: Wrinkle detection device 3, 31, 32: Terminal devices 4, 41, 42: Imaging device 10: Information Processing Device 11, 21: Reception Department 12, 22: Candidate contour determination unit 13, 23: Feature calculation unit 14: Classification Assignment Unit 15: Wrinkle detection model learning unit 16: Non-wrinkle detection model learning unit 24: Wrinkle detection unit 25: Non-wrinkle detection area 26: Mask image display section 90: Terminal device 101: Processing Unit 102: Storage section 103: Communications Department 901: Processing Unit 902: Storage section 903: Communications Department 904: Input section 905: Output section

Claims

1. A computer-based method for detecting wrinkles, An input image receiving process that receives input images, A candidate contour determination step is performed to determine candidate contours of wrinkled areas from the input image, A feature calculation step for calculating the feature quantities of the candidate contours, The process includes a wrinkle detection step in which candidate contour features of wrinkles are input to a wrinkle detection model trained using wrinkle annotations, and then wrinkles are detected. The aforementioned input image is a frame image from a video. The wrinkle detection method involves applying a Kalman filter as a detection model to each candidate contour in the wrinkle detection step, and calculating the classification estimate of the candidate contour in the current frame image using the classification estimate of the same candidate contour in the previous frame image.

2. The candidate contour determination step includes a first candidate contour determination step in which a filter is applied to the input image with a first window size to determine a first candidate contour, The process includes a second candidate contour determination step, in which a filter is applied to the input image using a second window size larger than the first window size, and a second candidate contour is determined. Furthermore, the process includes a non-wrinkle detection step in which candidate contour features of non-wrinkle areas are input to a non-wrinkle area detection model trained using annotation of non-wrinkle areas to detect non-wrinkle areas, The wrinkle detection method according to claim 1, further comprising an image output step of masking the wrinkled portion and the non-wrinkled portion detected in the wrinkle detection step and the non-wrinkled portion and synthesizing them with the input image.

3. The wrinkle detection method according to claim 1, wherein in the wrinkle detection step, candidate contour features of the wrinkled portion are input to the wrinkle detection model to create a segmentation of the wrinkled portion.

4. The wrinkle detection method according to claim 1, wherein, in the wrinkle detection step, a classification estimate value for each candidate contour is calculated using a plurality of different detection models, and the wrinkled area is detected using the plurality of classification estimate values.

5. The wrinkle detection method according to claim 4, wherein the detection model used in the wrinkle detection step includes at least one random forest and a multilayer perceptron.

6. The wrinkle detection method according to claim 1, wherein the feature calculated in the feature calculation step includes at least one of the following (a) to (e): (a) Position information of the candidate contour as seen from the reference part in the input image, (b) Color information based on the chromaticity of the candidate contour and the chromaticity of the region surrounding the candidate contour, (c) Area of ​​the candidate contour, (d) The roundness of the candidate contour, and (e) The slope of the linear fitting to the candidate contour.

7. A computer program that causes the computer to execute the wrinkle detection method described in any one of claims 1 to 6.

8. A wrinkle detection device, A reception unit that receives input images, A candidate contour determination unit determines candidate contours of wrinkled areas from the input image, A feature calculation unit that calculates the feature quantities of the candidate contours, The system includes a wrinkle detection unit that detects wrinkles by inputting candidate contour features of wrinkles to a wrinkle detection model trained using wrinkle annotations, The aforementioned input image is a frame image from a video. The wrinkle detection unit applies a Kalman filter as a detection model to each candidate contour and calculates the classification estimate of the candidate contour in the current frame image using the classification estimate of the same candidate contour in the previous frame image.

Citation Information

Patent Citations

  • Image analysis device, image analysis method, and image analysis program

    JP2014193197A

  • Wrinkle evaluation method

    JP2022045280A

  • Skin image analysis method

    JP2022078936A

  • Automatic Image-Based Skin Diagnosis Using Deep Learning

    JP2022512044A