Image processing device, image processing method, program and recording medium

The image processing device employs machine learning and edge detection techniques to enhance the accuracy and efficiency of extracting printed images from photographs, addressing issues of false detection and improving precision.

JP2024121891APending Publication Date: 2024-09-09FUJIFILM CORP

Patent Information

Application Number
JP2023029108
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-09-09

AI Technical Summary

Technical Problem

Existing image extraction methods from photographed prints suffer from inaccurate and inefficient edge detection, leading to false positives and a need for improved detection accuracy.

Method used

An image processing device utilizing machine learning-based range estimation models to identify the printed area, followed by edge detection algorithms to accurately delineate the print boundaries, while accounting for potential shadows and frame areas, and superimposing indicators for user confirmation.

Benefits of technology

Accurately and efficiently extracts the printed image from a photographed scene, minimizing false detections and ensuring precise edge detection even in the presence of shadows.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide an image processing device, an image processing method, a program and a recording medium for further appropriately extracting, from a picked-up image of a print object, an image corresponding to the print object.SOLUTION: An image processing device that extracts an image corresponding to a print object from a picked-up image includes a processor. The processor applies, to the picked-up image, a range estimation model established by machine learning relating to the print object, thereby executing an estimation process of estimating a first range including the print object within the picked-up image.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] One embodiment of the present invention relates to an image processing apparatus that extracts an image corresponding to a print from a captured image. [Background technology]

[0002] In some cases, an image of a predetermined object is extracted from a captured image, the extracted image is digitized and stored, and then the digitized image is used. Edge detection is a common method for extracting an image of a target object from a captured image.

[0003] An example of a situation in which the above image extraction technique is used is when a print on which a print image is printed, such as a photographic print, is photographed and an image of the photographic print is extracted from the photographed image (see, for example, Patent Document 1). In the technology of Patent Document 1, an edge detection method is applied when extracting an area where a photographic print image, which is an image of a photographic print that is assumed to have faded, exists from a photographic print image. A binary image of the photographic image is then generated, and edges adjacent to the periphery of the binary image are removed, and the area where the photographic print image exists is extracted from the photographic image by targeting the remaining edges. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2007-074579 A Summary of the Invention [Problem to be solved by the invention]

[0005] When extracting an image corresponding to a print from a photographed image, it is preferable to extract the image to be extracted more accurately and more efficiently. To achieve this, when extracting an image corresponding to a print, it is necessary to take measures such as suppressing erroneous detection of edges of the image. In addition, there is a demand for an edge detection method with improved detection accuracy compared to conventional methods.

[0006] One embodiment of the present invention aims to solve the problems of the conventional technology and provide an image processing device, an image processing method, a program, and a recording medium for more appropriately extracting an image corresponding to a print from a captured image. [Means for solving the problem]

[0007] In order to achieve the above object, the image processing device of the present invention is an image processing device that extracts an image corresponding to a printed matter from a captured image, and is equipped with a processor, and is characterized in that the processor performs an estimation process to estimate a first range in the captured image that includes the printed matter by applying a range estimation model constructed by machine learning on the printed matter to the captured image.

[0008] In addition, in the estimation process, the processor may estimate the first range by applying a range estimation model constructed by machine learning regarding the appearance of the print to the captured image. The appearance may be at least one of the size and shape of the printed matter, and the characteristics of the printing surface of the printed matter. The processor may also execute a setting process to set a second range in the captured image based on the first range, the second range including the first range and being wider than the first range, and a detection process to detect a specific area of ​​the image corresponding to the printed matter within the second range.

[0009] The processor may also superimpose, on the captured image, an object indicating a particular area of ​​the image corresponding to the print detected in the detection process. The processor may superimpose the object on a live view image as a captured image. The processor may also execute an extraction process to extract an image corresponding to a print from the captured image based on a user operation. Additionally, the image corresponding to the print may be defined by a particular area or object of the image corresponding to the print.

[0010] In addition, in the detection process, the processor may execute a first detection process, a determination process, and a second detection process. In the first detection process, an edge detection algorithm may be applied to the captured image to detect a first edge in the captured image. In the determination process, a target range may be set in which the first edge is one end and a position a preset number of pixels away from the first edge is the other end, and a plurality of second points in the target range may be determined based on color information of each of the first point and the second point in correspondence with a plurality of first points lined up along the first edge at one end side of the target range. In the second detection process, the second edge may be detected based on the plurality of second points. In the above configuration, the processor may execute an extraction process to extract an image corresponding to the print from the captured image based on the detected second edge.

[0011] In addition, in the determination process, the processor may perform, for each of a plurality of first points, a process of calculating the color difference between the pixel of the first point and the pixel of the target point while shifting the target point within the target range by one pixel at a time from the first point toward the other end, and a process of determining, among the target points whose color difference is equal to or greater than a threshold, the target point whose color difference is the largest as the second point. Additionally, in the determining process, the processor may determine a plurality of first points on the first edge. Furthermore, when a plurality of first edges are detected in the first detection process, the processor may execute the determination process and the second detection process for each of the plurality of first edges.

[0012] In addition, when the printing surface of the printed matter includes a printing area in which the image to be printed is printed and a frame area located around the printing area, the preset number of pixels may be smaller than the number of pixels corresponding to the width of the frame area. In addition, the processor may further execute a display process to display the captured image on a screen, and during execution of the display process, the processor may superimpose an object indicating the second edge detected in the second detection process onto the captured image.

[0013] In addition, when a dark color area is present in a position adjacent to the printed matter in the captured image, the processor may detect a boundary located on the opposite side of the printed matter in the image of the dark color area as a first edge in the first detection process. In the above case, the processor may determine a plurality of second points in correspondence with a plurality of first points located on the first edge within a target range including the image of the dark color area in the determination process. In the above case, the processor may detect a second edge based on the plurality of second points in the second detection process. In the above case, the processor may extract an image corresponding to the printed matter excluding the image of the dark color area from the captured image based on the detected second edge in the extraction process.

[0014] Furthermore, the printed matter may be a medium having a print surface on which an image to be printed is printed.

[0015] Furthermore, an image processing method according to one embodiment of the present invention is an image processing method for extracting an image corresponding to a printed matter from a captured image, and is characterized in that it includes a step in which a processor estimates a first range in the captured image that includes the printed matter by applying a range estimation model constructed by machine learning on the printed matter to the captured image.

[0016] The above image processing method may also include a step in which the processor sets a second range in the captured image based on the first range, the second range including the first range and being wider than the first range, and a step in which the processor detects a specific area of ​​the image corresponding to the printed matter within the second range.

[0017] In the image processing method, in the step of detecting a specific region of the image corresponding to the print, the processor may apply an edge detection algorithm to the captured image to detect a first edge in the captured image. The processor may set a target range whose one end is the first edge and whose other end is a position a preset number of pixels away from the first edge. The processor may determine a plurality of second points in the target range based on color information of each of the first and second points, in correspondence with a plurality of first points arranged along the first edge at one end of the target range. In this case, the image processing method may include a step in which the processor detects the second edge based on the plurality of second points, and a step in which the processor extracts an image corresponding to the print from the captured image based on the detected second edge.

[0018] Moreover, a program according to an embodiment of the present invention is a program for causing a computer to execute the steps included in the image processing method described above. Furthermore, a recording medium according to one embodiment of the present invention is a computer-readable recording medium having recorded thereon a program for causing a computer to execute the steps included in the above-mentioned image processing method. Effect of the Invention

[0019] According to one embodiment of the present invention, an image corresponding to a print can be accurately extracted from a photographed image. Also, according to one embodiment of the present invention, an image corresponding to a print can be efficiently extracted from a photographed image. [Brief description of the drawings]

[0020] [Figure 1] FIG. 13 is a diagram showing an example of a printed matter. [Diagram 2] 1 is a diagram showing an image processing system including an image processing device according to an embodiment of the present invention. [Diagram 3]FIG. 2 is a diagram showing a photographed image and an image corresponding to the printout. [Figure 4] 1 is a diagram illustrating a hardware configuration of an image processing apparatus according to an embodiment of the present invention. [Figure 5A] FIG. 1 is a diagram showing a flow of extracting an image corresponding to a print from a captured image (part 1). [Figure 5B] FIG. 2 is a diagram showing a flow of extracting an image corresponding to a print from a captured image (part 2). [Figure 5C] FIG. 3 is a diagram showing a flow of extracting an image corresponding to a print from a captured image (part 3). [Figure 5D] FIG. 4 is a diagram showing a flow of extracting an image corresponding to a print from a captured image (part 4). [Figure 6] FIG. 2 is an explanatory diagram of functions of an image processing device according to an embodiment of the present invention. [Figure 7] FIG. 11 is a first explanatory diagram of a procedure of a detection process. [Figure 8] FIG. 2 is a second explanatory diagram of the procedure of the detection process. [Figure 9] FIG. 11 is a third explanatory diagram of the procedure of the detection process. [Figure 10] FIG. 4 is a fourth explanatory diagram of the procedure of the detection process. [Figure 11] FIG. 4 is a diagram showing an image processing flow according to an embodiment of the present invention. [Figure 12] FIG. 11 is a diagram showing the flow of a detection process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] A specific embodiment of the present invention will be described. For convenience of explanation, the following description may be given from the viewpoint of a GUI (Graphic User Interface). However, since the basic data processing technologies (communication / transmission technology, data acquisition technology, data recording technology, data processing / analysis technology, image processing technology, visualization technology, etc.) required to realize the contents are well-known technologies, the description thereof will be omitted.

[0022] In addition, in this specification, the concept of "device" includes a single device that performs a specific function, and also includes a combination of multiple devices that exist in a distributed and independent manner but cooperate (link) to perform a specific function.

[0023] In addition, in this specification, a "user" is a user of the image processing device of the present invention, and specifically, for example, a person who obtains a print image GP described below by utilizing the functions of the image processing device of the present invention.

[0024] In addition, in this specification, "person" means a subject that performs a specific action, and includes individuals, groups, corporations such as companies, and organizations, and may also include computers and devices that constitute artificial intelligence (AI). Artificial intelligence is realized by using hardware and software resources to perform intelligent functions such as inference, prediction, and judgment. The algorithm of artificial intelligence is arbitrary, and may be, for example, an expert system, case-based reasoning (CBR), Bayesian network, or subsumption architecture.

[0025] <<Outline of specific embodiments of the present invention>> One embodiment of the present invention (hereinafter, referred to as the present embodiment) relates to an image processing device, an image processing method, a program, and a recording medium. More specifically, the present embodiment is a technology for extracting an image corresponding to a print from a captured image obtained by photographing a print P shown in FIG.

[0026] The print P is a photosensitive film F on which an image to be printed is printed. The print in this embodiment is, for example, an instant photography print. Specifically, the photosensitive film F is exposed to light to form a latent image, and a developer pot provided at the end of the film is broken and the developer in the pot is spread on the film surface, thereby forming an image in which the latent image is visualized. The printing method is not limited to the instant photography method, and may be an inkjet method, a dye-sublimation thermal transfer method, an electrophotographic method using toner, or the like.

[0027] The photosensitive film F is an example of a medium on which an image to be printed is printed on one surface, which is the print surface, and is also called instant color film, and is a film exclusively for the printer 50 described below. The photosensitive film F has a rectangular outer shape and a slight thickness. There are multiple types of photosensitive film F, and each type of film has different outer shapes, dimensions, and sizes of the film, as well as characteristics of the print surface. The characteristics of the print surface are visual characteristics of the print surface, such as the color (background color) of the frame area R, the design, the picture, and the pattern. In this embodiment, there may be only one type of photosensitive film F. In addition, the outer shape of the photosensitive film F is not limited to a rectangle, and may be a circle, an ellipse, a quadrangle other than a rectangle, or a polygon other than a quadrangle.

[0028] As shown in Fig. 1, the printing surface of the print P is composed of a printing area M where the image to be printed is printed, and a frame area R surrounding the printing area M. The printing area M is located in the center of the printing surface and is a square or rectangular area. As shown in Fig. 1, the frame area R is a square frame-shaped area and has a predetermined width. The width of the frame area R is the distance between the outer edge of the photosensitive film F and the end position of the printing area M, and the end position of the printing area M is the boundary position between the printing area M and the frame area R.

[0029] The print P is created, for example, by a printer 50 shown in Fig. 2. The printer 50 stores an unused photosensitive film F therein, and prints an image (positive image) in an image forming area of ​​the photosensitive film F by operating an exposure head and a transport mechanism (not shown) provided in the printer. It should be noted that the printer 50 is not limited to a device owned by the user, but may be a printer installed in a store or the like that can be used in a store.

[0030] 2, the printer 50 is connected to the control device 52 wirelessly or wired, and performs a printing operation under the control of the control device 52. More specifically, the control device 52 transmits a print request including an image to be printed (hereinafter referred to as the image to be printed) to the printer 50, and upon receiving the print request, the printer 50 prints the image to be printed related to the print request on a photosensitive film F. The image to be printed may be an image taken by a digital camera or the like, or may be an illustrated image or a CG (Computer Graphic) image created by image creation software or the like. The image to be printed may also be a text image.

[0031] The control device 52 may be built into the printer 50. In that case, an auxiliary storage device such as a memory card or a photographing device such as a digital camera is connected to the printer 50, and the control device 52 reads out an image from the device or equipment connected to the printer 50. The read-out image may be printed by the printer 50 on a photosensitive film F as an image to be printed. The control device 52 may also be mounted on the photographing device. The control device 52 may also be a user terminal 12 constituting the image processing device according to this embodiment.

[0032] A user who has obtained a print P photographs the print P using a digital camera or a camera mounted on a smart device or the like in order to obtain an image (more specifically, digital image data) corresponding to the print P. The image corresponding to the print P is an image of the area in which the print P exists among the images obtained by photographing the print P, and for convenience of explanation, will be referred to as a "print image GP" below.

[0033] As shown in Fig. 3, objects and background around the print P (hereinafter also referred to as a peripheral image) are reflected in the captured image. In this embodiment, as shown in Fig. 3, it is possible to acquire a print image GP while avoiding the reflection of the peripheral image. In other words, according to this embodiment, it is possible to detect the edge of the print P in the captured image and extract and acquire (capture) the image within the edge, i.e., the print image GP. The acquired image of the print P is saved as image data and is thereafter used by the user for various purposes.

[0034] <<Configuration of an image processing device according to one embodiment of the present invention>> A configuration example of an image processing device according to this embodiment (hereinafter, referred to as an image processing device 10) will be described. The image processing device 10 is used by a user for the purpose of extracting a print image GP from a captured image obtained by photographing a print P, with the surrounding image removed.

[0035] The image processing device 10 is configured by a computer having a processor, for example, an information processing terminal owned by a user (hereinafter, referred to as a user terminal 12). Specific examples of the user terminal 12 include a PC (Personal Computer), a smartphone, a tablet terminal, and a digital camera equipped with a data processing function. In the following, a case where the user terminal 12 is a smart device such as a smartphone or a tablet terminal will be described as an example.

[0036] 4, the user terminal 12 includes a processor 12A, a memory 12B, a communication interface 12C, etc. The processor 12A is configured, for example, by a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), or a tensor processing unit (TPU). The memory 12B is configured, for example, by semiconductor memories such as a read only memory (ROM) and a random access memory (RAM). The communication interface 12C is configured, for example, by a network interface card or a communication interface board, etc.

[0037] 4, the user terminal 12 further includes an input device 12D, an output device 12E, and a storage 12G. The input device 12D is configured with a touch panel, a cursor button, etc., and receives input operations by the user. The input operations by the user include a capture operation performed when the user acquires (captures) a print image GP. The output device 12E includes a display as a display device.

[0038] The input device 12D also includes a photographing device 12F such as a built-in camera of the terminal. The photographing device 12F has a photographing lens and an image sensor (image pickup element), receives light from a subject within the photographing angle of view, converts the received light image into an electrical signal, and digitizes the electrical signal to generate image data.

[0039] In this embodiment, the photographing device 12F is used to photograph a print P. More specifically, when the photographing device 12F is started and the print P is placed within the photographing angle of view, the photographing device 12F photographs the print P and its surroundings. As a result, a photographed image of the print P, more specifically, a live view image GL, is displayed on the display screen. The live view image GL is a photographed image generated based on an output signal from an image sensor of the photographing device 12F, and is a real-time image while photographing is being performed by the photographing device 12F.

[0040] Furthermore, when the user performs the above-mentioned capture operation while the live view image GL is being displayed, the user terminal 12 captures a print image GP using the photographing device 12F. Here, capturing the print image GP means extracting an area in the photographed image where the print P exists, photographing an image of that area, and acquiring it as the print image GP.

[0041] The storage 12G stores various types of information required to acquire the print image GP. The processor 12A can freely access the various types of information stored in the storage 12G. The information stored in the storage 12G includes a range estimation model, which will be described later. The storage 12G may be built into or externally attached to the user terminal 12, or may be configured by a network attached storage (NAS) or the like. Alternatively, the storage 12G may be an external device, such as an online storage, that can communicate with the user terminal 12 via the Internet or a mobile communication network.

[0042] The memory 12B stores an image processing program (hereinafter, referred to as an image processing program) for acquiring the print image GP. The image processing program is an application program for causing the processor 12A to execute each process (each step) in the image processing flow described later. The image processing program may be acquired by reading it from a computer-readable recording medium, or may be acquired by downloading it via a communication network such as the Internet or an intranet.

[0043] The image processing device 10 may be configured by a server computer for ASP (Application Service Provider), SaaS (Software as a Service), PaaS (Platform as a Service), or IaaS (Infrastructure as a Service) in cooperation with the user terminal 12. In this case, when the user inputs necessary information through the user terminal 12, the server computer executes a series of processes related to obtaining the print image GP based on the input information. As a result, the user can obtain the print image GP.

[0044] <<How to obtain a print image>> The procedure for acquiring (capturing) the print image GP will be described with reference to FIGS. 5A to 5D. When acquiring a print image GP, first, a target print P is created by the printer 50. Then, as shown in Fig. 5A, the print P is photographed by the photographing device 12F of the user terminal 12. As a result, a photographed image of the print P, more specifically, a live view image GL, is displayed on the display screen of the user terminal 12.

[0045] While the live view image GL is displayed, a range of the live view image GL that includes the print P (hereinafter, referred to as a first range) is estimated. The first range is set as a range that surrounds the print P. For example, in the case of FIG. 5B, a rectangular range indicated by a dashed line is set as the first range. The directions of the long and short sides of the first range are determined by two axes (coordinate axes) that define the display screen of the live view image GL. Specifically, the long side of the first range is parallel to one coordinate axis, and the short side of the first range is parallel to the other coordinate axis.

[0046] As shown in FIG. 5B, the first area is set so that the outer edge of the print P is inscribed therein, more specifically, so that the corners of the print P are positioned on the contour line of the first area. The shape of the first area is not limited to a rectangle, and may be, for example, a quadrangle other than a rectangle, a polygon other than a quadrangle, a circle, or an ellipse.

[0047] Then, based on the first range, a range (hereinafter referred to as the second range) for detecting the print object P is set in the live view image GL. The second range is a range that is expanded more than the first range, and has an outer edge at a position a predetermined distance outward from the outer edge of the first range. In other words, the second range is a range that is wider than the first range and includes the second range within it. In this way, the second range is set so that the print object image GP is included within it with a high probability. This makes it possible to more reliably detect the edges of the print object image GP within the second range when detecting the edges of the print object image GP.

[0048] The second range has a shape corresponding to the first range, and in the case of Fig. 5B, a rectangular range indicated by a dashed line is set as the second range. The long side and short side of the second range are defined by two axes (coordinate axes) that define the display screen of the live view image GL, similar to the first range. Specifically, the long side of the second range is parallel to one coordinate axis, and the short side of the second range is parallel to the other coordinate axis. The shape of the second area is not limited to a rectangle, and may be, for example, a quadrangle other than a rectangle, a polygon other than a quadrangle, a circle, or an ellipse. The distance between the contour line of the first area and the contour line of the second area can be determined arbitrarily.

[0049] Then, a detection process is applied to the second range, and a first edge of the image of the print object P is detected within the second range. The first edge is a normal edge detected by a known edge detection technique. The original first edge corresponds to a specific area of ​​the print object image GP in the captured image, and more specifically, corresponds to an image of the outer edge of the print object image GP.

[0050] On the other hand, in the live view image GL, a dark area K may exist at a position adjacent to a part of the outer edge of the print P due to the position of the light source at the time of shooting, as shown in Fig. 5B. The dark area K is an area in the live view image GL that is significantly lower in brightness than the frame area R of the print P, and more specifically, is an area in which the shadow of the print P is reflected. A brightness gradation is formed in the dark area K, and for example, it becomes darker as it approaches the outer edge of the print P.

[0051] When a dark color area K exists, the boundary of the dark color area K may be detected as the first edge. In particular, when photographing a print P having some thickness as in this embodiment, shadows are likely to occur around the print P, and the boundary of the dark color area K may be detected as the first edge. Here, the boundary of the dark color area K refers to the boundary between the image of the dark color area K and the image of the area outside the dark color area K. The area outside the dark color area K refers to the desk or floor on which the print P is placed, i.e., the part corresponding to the background of the print P.

[0052] Therefore, in this embodiment, a process is performed to avoid a situation in which the boundary of the dark color area K is erroneously detected as an edge of the print image GP. Specifically, when a dark color area K exists in a position adjacent to the print P, a second edge is detected at a position closer to the print P than the first edge. The second edge is not the dark color area K but an edge that corresponds to the outer edge of the true print P, and corresponds to the boundary between the print P and the dark color area K (in other words, a specific area of ​​the print image GP).

[0053] Then, when an edge of the print image GP is identified by the first edge and, if a second edge is detected, the second edge, an object OJ indicating the edge is superimposed on the live view image GL, as shown in Fig. 5C. The object OJ is a frame surrounding the image of the print P, and more specifically, is a line image located at the first edge or the second edge. By displaying this object OJ, the user can check the position, size, shape, etc. of the print P in the live view image GL.

[0054] The display mode (e.g., display color, whether or not to highlight the object OJ by blinking, display time, etc.) when displaying the object OJ may be freely set. Also, the type of the object OJ is not limited to a frame-shaped object surrounding the image of the print P, and may be an indicator such as a cursor, or an L-shaped mark or mark indicating a corner of the image of the print P.

[0055] Thereafter, when the user performs a capture operation and the capture operation is accepted, this triggers the extraction and capture of the print image GP from the captured image at that time. Here, the print image GP to be extracted is defined by an edge (first edge or second edge) of the print image GP or an object OJ, and specifically, is surrounded by an edge indicated by the object OJ. The capture of the print image GP is not limited to being performed based on a capture operation by the user, but may be performed automatically when an edge of the print image GP is detected.

[0056] A geometric transformation is appropriately performed on the captured print image GP. Specifically, if the print surface of the print P does not face forward relative to the shooting direction at the time of capture, keystone correction is performed on the captured print image GP. This makes it possible to obtain a print image GP with the print surface facing forward, as shown in FIG. 5D.

[0057] <<Functions of an image processing device according to one embodiment of the present invention>> The configuration of the image processing device 10 according to this embodiment will be described again from the functional aspect. As shown in Fig. 6, the image processing device 10 has an imaging control unit 21, an estimation unit 22, a setting unit 23, a detection unit 24, a display control unit 25, an extraction unit 26, a correction unit 27, and a storage unit 28. These functional units are realized by cooperation between hardware devices provided in the user terminal 12 constituting the image processing device 10 and various programs (software) including the image processing program described above. In addition, some functions may be realized by artificial intelligence (AI). Each functional unit will be described below.

[0058] (Shooting control unit) The photographing control unit 21 executes a photographing process to acquire a photographed image by controlling the photographing device 12F of the user terminal 12. When the photographing process is executed, if the print P is placed within the photographing angle of view, the photographing control unit 21 executes the photographing process to acquire a photographed image, specifically a live view image GL, that includes the print P and its surroundings.

[0059] (Estimation Department) The estimation unit 22 executes an estimation process to estimate a first range including the print object P from the live view image GL (captured image) acquired by the shooting control unit 21. In the estimation process, the first range is estimated by applying a range estimation model to the live view image GL (captured image). The range estimation model is constructed by machine learning on the print object P, more specifically, machine learning on the appearance of the print object P.

[0060] The appearance of the print object P used in machine learning is at least one of the size, shape, and characteristics of the print surface of the print object P. Machine learning is performed using images of multiple print objects P having various appearances as learning data. According to a range estimation model constructed by machine learning, the print object P is recognized based on the appearance of the print object P captured in the live view image GL, and the position, shape, and size of the print object P in the live view image GL are estimated.

[0061] As described above, in this embodiment, by utilizing a range estimation model constructed by machine learning, it is possible to appropriately and accurately estimate the first range in the live view image as the range in which the print object P exists. The type of machine learning may be any of supervised learning, unsupervised learning, and reinforcement learning. The machine learning algorithm is not particularly limited, and known algorithms such as backpropagation and gradient descent can be used.

[0062] In addition, the range estimation model constructed by machine learning is an arbitrary mathematical model, and specific examples include neural networks, convolutional neural networks, recurrent neural networks, attention, transformers, generative adversarial networks, deep learning neural networks, etc. In addition, for example, Boltzmann machines, matrix factorization, factorization machines, m-way factorization machines, field-aware factorization machines, field-aware neural factorization machines, support vector machines, Bayesian networks, decision trees, random forests, etc. can be used as range estimation models.

[0063] Furthermore, the machine learning may be performed by the image processing device 10. In that case, the range estimation model may be stored in the storage 12G or the like, and the estimation unit 22 may read out the range estimation model from the storage 12G or the like when executing the estimation process. Alternatively, the machine learning may be performed by an external device (not shown) different from the image processing device 10. In that case, the estimation unit 22 can execute the estimation process using the range estimation model by receiving it from the device that performed the machine learning.

[0064] (Settings section) The setting unit 23 executes a setting process based on the first range estimated by the estimation unit 22. In the setting process, a second range that includes the first range and is wider than the first range is set in the live view image GL based on the first range. In this way, in the setting process, the second range is set so that the print image GP is included within the range with a high probability. That is, in this embodiment, the second range can be set so that the edge of the print image GP can be more reliably detected in the detection process described later.

[0065] (Detection unit) The detection unit 24 executes a detection process on the live view image GL acquired in the shooting process. In the detection process, an edge that is a specific region of the print image GP is detected in the second range set in the setting process in the live view image GL. When the entire print P is captured in the live view image GL, each side of the rectangle formed by the outer edge of the print P, i.e., each of the four sides, is detected as an edge.

[0066] In the detection process of this embodiment, the detection unit 24 detects second edges as edges in the print image GP where the above-mentioned dark color area K exists, and detects first edges as edges in the print image GP where the dark color area K does not exist. Specific steps of the detection process will be described in detail later.

[0067] (Display control unit) The display control unit 25 controls the display (display device) of the user terminal 12 to execute a display process. In the display process, a live view image GL acquired by the photographing process is displayed on the screen of the display. The display process is executed simultaneously with the photographing process while the photographing process is being executed. That is, while the print P is being photographed, a live view image GL including the print P is displayed on the screen.

[0068] During the display process, the display control unit 25 also superimposes an object OJ indicating the edge detected in the above-mentioned detection process on the live view image GL (see FIG. 5C). At this time, if a second edge is detected in the detection process, the object OJ indicating the detected second edge is superimposed on the live view image GL.

[0069] (Extraction part) When the user performs a capture operation (one example of an operation), the extraction unit 26 executes an extraction process based on the operation. In the extraction operation, an image defined by the edge detected by the detection unit 24 (in other words, the edge indicated by the above-mentioned object OJ) is extracted and captured from the captured image at the time of the capture operation by the extraction unit 26. In the extraction process when the detection unit 24 detects a second edge, the print image GP is extracted from the captured image based on the detected second edge.

[0070] (Correction section) The correction unit 27 executes a correction process on the print image GP extracted by the extraction unit 26. In the correction process, for example, keystone correction is performed to correct the print image GP to an image of the print P when viewed from the front. It should be noted that, since a known image processing technique for keystone correction can be used for the keystone correction, a description of the specific procedure will be omitted.

[0071] (Preservation Department) The saving unit 28 executes a saving process and saves the print image GP extracted by the extraction unit 26 in the storage 12G or the like. In the saving process when the correction unit 27 performs keystone correction on the print image GP, the saving unit 28 saves the print image GP after the keystone correction.

[0072] <<About the detection process>> The procedure of the above-mentioned detection process will be described with reference to Figures 7 to 10. Figures 8 and 9 are enlarged views of a portion of a live view image GL, specifically, an enlarged image of the periphery of the side adjacent to the dark color area K of the outer edge of the print P.

[0073] In the detection process, a first detection process, a determination process, and a second detection process are executed in this order. In the first detection process, an edge detection algorithm is applied to the captured image to detect a first edge in the live view image GL within the second range. The first edge is detected by applying a known edge detection algorithm.

[0074] More specifically, in the first detection process, color information of each pixel in the second range is first identified from the outer edge of the second range toward the inside, specifically, the gradation value, density, brightness, or color space coordinate value of each pixel. Then, when the color information changes significantly between two adjacent pixels, that is, when the color difference between the pixels is equal to or greater than a threshold, for example, the pixel on the inner side is identified as the pixel on the first edge. The first edge is detected by sequentially detecting such pixels.

[0075] In the first detection process, the edges of the print image GP in the live view image GL, that is, the image of the outer edge of the print P, are detected as the first edges. In addition, in the first detection process, a plurality of edges surrounding the print image GP are detected, and specifically, as shown in Fig. 7, four first edges (indicated by the symbol E1 in Fig. 7) are detected corresponding to the four sides of the rectangle formed by the outer edge of the print P.

[0076] On the other hand, in the live view image GL, a dark color area K, such as an image of a shadow of the print P, may exist at a position adjacent to a part of the outer edge of the print P, as shown in FIG. 7. In this case, in the first detection process, the boundary of the dark color area K, i.e., the boundary of the image of the dark color area K that is located on the opposite side of the print P, is detected as the first edge. Such a first edge is not an original edge of the print image GP, and it is necessary to detect the correct edge of the print image GP. Therefore, in this embodiment, the detection unit 24 executes a determination process and a second detection process after executing the first detection process.

[0077] In this embodiment, a plurality of first edges are detected in the first detection process, and the determination process and the second detection process are executed for each of the plurality of first edges. To explain in more detail, in the first detection process, four first edges are detected corresponding to the four sides of the rectangle formed by the outer edge of the print object P, and therefore the determination process and the second detection process are repeatedly executed four times each.

[0078] In the determination process, first, a target range is set in the second range. The target range is a range whose one end is the first edge and whose other end is a position a preset number of pixels away from the first edge. When the first edge extends in a straight line or a substantially straight line, the one end and the other end of the target range are both ends of the target range in a direction perpendicular to the first edge. The other end of the target range is the end located on the print image GP side as viewed from the one end of the target range (i.e., the first edge).

[0079] Furthermore, as shown in Fig. 8, the target range (the range surrounded by the dashed line in Fig. 8) has a certain width. The width of the target range is determined by the number of pixels from one end of the target range to the other end, and this number of pixels (hereinafter, the number of pixels m: m is a natural number) is set in advance. More specifically, for the target range set for a location where a dark color area K exists, the number of pixels m is set so that the dark color area K is included within the target range as shown in Fig. 8.

[0080] Furthermore, the number of pixels m is smaller than the number of pixels corresponding to the width of the frame region R of the printed matter P. With such a setting, for example, it is possible to avoid detecting the boundary between the frame region R and the print region M of the printed matter P as the second edge. In other words, the second edge is detected outside the boundary between the frame region R and the print region M.

[0081] The number of pixels m may be set arbitrarily as long as it is smaller than the number of pixels corresponding to the width of the frame region R, but may be determined according to the distance (spacing) between the photographing device 12F and the print P when photographing the print P. For example, the number of pixels m may be about 15 pixels. The number of pixels m may be dynamically changed in conjunction with a change in the distance between the photographing device 12F and the print P.

[0082] After the target range is set, a plurality of first points are set along a first edge at one end of the target range. In this embodiment, as shown in Fig. 9, a plurality of first points (represented by black dots in Fig. 9) are determined on the first edge. It should be noted that each of the multiple first points is not limited to being set on the first edge, and may be set at a position closer to the other end of the target range than the first edge.

[0083] Furthermore, the number of set first points and the interval (pitch) between two adjacent first points are not particularly limited, but are preferably values ​​suitable for detecting the second edge.

[0084] Next, as shown in FIG. 9, a plurality of second points (indicated by white dots in FIG. 9) in the target range are determined in correspondence with the plurality of set first points. At this time, the second points are determined based on color information of the first point and the second point corresponding to the second point. The color information is the gradation value, density, brightness, or color space coordinate value of the pixel where each of the first point and the second point is located, and in this embodiment, it is the gradation value of three colors RGB (Red Green Blue). Note that the gradation value is not limited to a value expressed in the RGB color space, and may be, for example, a coordinate value expressed in the HSV (Hue, Saturation Chroma, Value Brightness) space.

[0085] The procedure for determining the multiple second points is as follows: a calculation process and a point determination process are executed for each of the multiple first points. In the calculation process, a target point within a target range is set, and the target point is shifted pixel by pixel from one first point toward the other end of the target range in a direction perpendicular to the first edge, and the color difference between the pixel of the first point and the pixel of the target point is calculated. With reference to FIG. 10, the color difference with pixel #1 corresponding to the first point is calculated for each of pixels #2 to #m.

[0086] In the point determination process, it is determined whether there is a target point whose color difference calculated by the calculation process is equal to or greater than a threshold value. If there is a target point whose color difference is equal to or greater than the threshold value, the target point whose color difference is the largest is determined as the second point. 10, when the target point is at pixel #k (k is a natural number equal to or greater than 2) and when the target point is at pixel #k+1, the color difference is equal to or greater than the threshold. In this case, the color difference calculated for pixel #k+1 is the largest, and the point (target point) located at pixel #k+1 is determined as the second point. The above threshold value should be set to an appropriate value for determining the second point.

[0087] An example of a method for determining the second point in the above procedure is a method for generating a MaxImage. The procedure for generating a MaxImage will be described below. First, bilateral filtering is applied to the RGB image constituting the live view image GL. The RGB image to which the bilateral filtering is applied is converted into a gray image. The RGB image to which the bilateral filtering is applied is also divided into component images of an R image, a G image, and a B image. The RGB image to which the bilateral filtering is applied is further converted into an image in the HSV space, and the hue and saturation channels are extracted from the converted image, and the images for each channel are separated.

[0088] As a result, six single channel images, namely a gray image (Gray), a saturation image (Saturation), a hue image (Hue), an R image (Red), a G image (Green), and a B image (Blue), are obtained for the RGB image. Then, Median blur, Gaussian blur, and Canny filter are applied to each of the six single channel images. After that, from the gradation value of the pixel at each position in each single channel image, the maximum gradation value among the six channel images is specified for each pixel at each position using the following formula (1), and the value is set as the gradation value of the pixel at each position.

number

[0089] Then, by setting the gradation value of the pixel at each position in the above manner, MaxImage is generated. Then, using the generated MaxImage, for each of the multiple first points on the first edge, a point on a virtual line that passes through the first points and intersects the first edge at right angles is found where the gradation value of MaxImage is maximum. The point (pixel) found in this way is determined as the second point.

[0090] The determination process is performed according to the above procedure. In the determination process when the target range includes a dark color area K, a plurality of second points corresponding to a plurality of first points are determined within the target range. Specifically, a plurality of second points are determined along the boundary of the dark color area K included within the target range.

[0091] After the determination process is performed, a second detection process is performed to detect a second edge based on the determined second points. In detail, the OpenCV fitLine algorithm is applied to determine a line passing through the determined second points, and the determined line is detected as a second edge.

[0092] By executing the detection process according to the above-mentioned procedure, when an image of a dark color area K is adjacent to the print image GP, the second edge located at the boundary between the two images can be detected. This allows the edges of the print image GP to be accurately detected. As a result, in the subsequent extraction process, the print image GP excluding the image of the dark color area K can be extracted and captured from the captured image based on the detected second edge.

[0093] <<Example of operation of an image processing device according to one embodiment of the present invention>> Next, as an operation example of the image processing device 10 in this embodiment, an image processing flow using the image processing device 10 will be described. In the image processing flow described below, the image processing method of the present invention is used. In other words, each step in the image processing flow described below corresponds to a component of the image processing method of the present invention. Note that the flow below is merely an example, and some steps in the flow may be deleted, new steps may be added to the flow, or the order of execution of two steps in the flow may be reversed, without departing from the spirit of this embodiment.

[0094] Each step in the image processing flow according to this embodiment is performed in the order shown in Fig. 11 by the processor 12A included in the user terminal 12 constituting the image processing device 10. Furthermore, in each process in the image processing flow, the processor 12A executes processing corresponding to each process among data processing defined in the image processing program.

[0095] When the image processing flow is executed, the user creates a printout P using the printer 50. After that, the user operates the user terminal 12 to start the image processing program, which starts the image processing flow.

[0096] In the image processing flow, first, the processor 12A executes a photographing process to control the photographing device 12F of the user terminal 12 to acquire a photographed image (S001). At this point, the print P is placed within the photographing angle of view of the photographing device 12F. Therefore, in the photographing process, the print P and its surroundings are photographed, and a live view image GL is acquired as the photographed image.

[0097] While the photographing process is being performed, the processor 12A repeatedly executes an estimation process (S002), a setting process (S003), a detection process (S004), and a display process (S005).

[0098] In the estimation process, the above-mentioned range estimation model is applied to the live view image GL (captured image) to estimate a first range in the live view image GL that includes the print object P (see FIG. 5B). That is, in the image processing flow, the learning results of machine learning on the print object P are used to accurately estimate the range in the live view image where the print object P exists.

[0099] In the setting process, a second range that includes the first range and is wider than the first range is set in the live view image GL based on the first range estimated in the setting process (see FIG. 5B). The set second range almost certainly includes the entire print image GP.

[0100] In the detection process, edges of the print image GP are detected in the second range. When the entire print P is captured in the live view image GL, each side of the rectangle formed by the outer edge of the print P, i.e., each of the four sides, is detected as an edge.

[0101] The detection process proceeds according to the flow shown in Fig. 12. More specifically, in the detection process, first, a first detection process is executed (S021). In the first detection process, a known edge detection algorithm is applied to the live view image GL (captured image). As a result, a first edge is detected within the second range set in the setting process. In particular, when the entire print image GP is included in the second range, four first edges are detected corresponding to the four sides of the outer edge of the print P.

[0102] After the first detection process is performed, the determination process (S022) and the second detection process (S023) are performed. The determination process is performed as described above. Specifically, in the second range, a set range is set based on the first edge, and a plurality of first points are set on one end side of the set range, for example, on the first edge. Then, within the set range, a plurality of second points corresponding to the plurality of first points are determined. Each of the plurality of second points is determined based on the color difference between the corresponding first point and second point.

[0103] In the second detection process, the second edge is detected based on the multiple second points determined in the determination process. This makes it possible to detect the second edge as an edge of the original print image GP even if a shadow-like dark color area K exists in a position adjacent to the print P and the boundary of the dark color area K is detected as the first edge.

[0104] Then, the determination process and the second detection process are executed for each of the multiple first edges detected in the first detection process (S024). In addition, for a first edge in a portion of the print image GP where no dark color area K exists, a second edge is not detected, and in that case, the first edge becomes the edge of the print image GP.

[0105] Returning to the explanation of the image processing flow, in the display process, a live view image GL is displayed on the screen of the user terminal 12. In addition, in the display process, an object OJ indicating an edge (more specifically, the second edge or the first edge) of the print image GP detected in the detection process is displayed superimposed on the live view image GL. This allows the user to easily confirm the position, shape, and size of the print image GP by looking at the object OJ on the screen. In addition, the user can understand from the display of the object OJ that the edge of the print image GP has been detected in the live view image GL.

[0106] Then, when the user performs a capture operation on the user terminal 12 while the object OJ is displayed on the screen (S006), the processor 12A accepts the capture operation and executes an extraction process (S007). In the extraction process, a print image GP defined by the edge indicated by the object OJ is extracted from the photographed image at the time the capture operation is performed.

[0107] Thereafter, the processor 12A executes a correction process, and in the correction process, keystone correction is appropriately performed on the extracted print image GP (S008). Note that if the extracted print image GP is an image of the print P viewed from the front, in other words, if the edges of the print image GP are accurate rectangles, the execution of the correction process may be omitted. Then, the processor 12A stores the extracted print image GP or the print image GP on which the keystone correction has been performed in a storage or the like (S009).

[0108] The series of steps S001 to S009 described above are repeatedly performed until the image capturing is completed (S010), at which point the image processing flow is completed.

[0109] <<Other embodiments>> Although specific embodiments of the present invention have been described above, the above-mentioned embodiments are merely examples given to facilitate understanding of the present invention and do not limit the present invention. That is, the present invention may be modified or improved from the embodiments described below without departing from the spirit of the present invention. The present invention also includes equivalents thereof. Furthermore, the embodiments of the present invention may include a combination of the above-mentioned embodiments and one or more of the following modifications.

[0110] (Method of determining the second point) In the above embodiment, as one method of detecting the second edge, a method of creating a MaxImage and determining a plurality of second points (gradation points) to detect the second edge has been described. However, the present invention is not limited to this, and the second edge may be detected by a general edge detection method, for example, a known edge detection method such as a Sobel filter or a Canny method.

[0111] (About the dark areas) In the above embodiment, when a shadow image exists as a dark area K adjacent to the outer edge of the print P in the captured image of the print P, a print image GP from which the shadow image has been removed is extracted. To achieve this, in the above embodiment, a second edge is detected at a position inside the first edge, and the detected second edge is treated as the boundary between the shadow image and the print image GP. However, the dark area K is not limited to a shadow, and may be an area darker than the original brightness of the frame area R of the print P (specifically, the background color of the print surface of the photosensitive film F). For example, a faded portion on the outer edge of the print P may be the dark area K.

[0112] (About edge detection range) In the above embodiment, a first range including the print is estimated in the live view image GL as the captured image, a second range including the first range but wider than the first range is set, and the edge of the print image GP is detected in the second range. However, this is not limited to this, and the edge of the print image GP may be detected in the first range.

[0113] (About processor type) The processor included in the image processing device of the present invention includes various processors, including, for example, a CPU, which is a general-purpose processor that executes software (programs) and functions as various processing units. The various processors also include programmable logic devices (PLDs) such as field programmable gate arrays (FPGAs) whose circuit configurations can be changed after manufacture. Furthermore, various processors include dedicated electric circuits such as ASICs (Application Specific Integrated Circuits), which are processors having a circuit configuration designed exclusively for performing specific processing.

[0114] Furthermore, one processing unit of the image processing device of the present invention may be configured by one of the various processors described above, or may be configured by a combination of two or more processors of the same or different types, for example, a combination of multiple FPGAs, or a combination of an FPGA and a CPU, etc. Furthermore, the multiple functional units of the image processing device of the present invention may be configured by one of various processors, or two or more of the multiple functional units may be collectively configured by one processor. Also, as in the above-described embodiment, one or more CPUs and software may be combined to form one processor, and this processor may function as multiple functional units.

[0115] Also, for example, a processor may be used that realizes the functions of the entire system including the multiple functional units in the image processing device of the present invention on a single IC (Integrated Circuit) chip, as typified by SoC (System on Chip), etc. Also, the hardware configuration of the various processors described above may be an electric circuit (Circuitry) that combines circuit elements such as semiconductor elements. [Explanation of symbols]

[0116] 10 Image processing device 12 User terminal 12A Processor 12B memory 12C communication interface 12D Input Device 12E output device 12F Filming equipment 12G Storage 21 Shooting control section 22 Estimation part 23 Setting section 24 Detection unit 25 Display control section 26 Extraction part 27 Correction section 28 Preservation Department 50 Printers 52 Control device F Photosensitive film GP print image K dark area GL Live View Image M Print Area OJ Object P Printed material R frame area

Claims

1. An image processing device that extracts an image corresponding to a print from a captured image, A processor is provided. The processor performs an estimation process to estimate a first range in the captured image that includes the printed matter by applying a range estimation model constructed by machine learning on the printed matter to the captured image.

2. The image processing device according to claim 1 , wherein in the estimation process, the processor estimates the first range by applying the range estimation model constructed by the machine learning regarding the appearance of the print to the captured image.

3. The image processing device according to claim 2 , wherein the appearance is at least one of a size, a shape, and a feature of a printing surface of the printed matter.

4. The processor, a setting process for setting a second range in the captured image, the second range including the first range and being wider than the first range, based on the first range; The image processing apparatus according to claim 1 , further comprising: a detection process for detecting a specific area of ​​the image corresponding to the printed matter within the second range.

5. The image processing device according to claim 4 , wherein the processor superimposes an object indicating the specific area of ​​the image corresponding to the print detected in the detection process onto the captured image.

6. The image processing device according to claim 5 , wherein the processor superimposes the object on a live view image as the captured image.

7. The image processing device according to claim 5 , wherein the processor executes an extraction process for extracting an image corresponding to the print from the captured image based on a user's operation.

8. The image processing apparatus according to claim 7 , wherein the image corresponding to the printed matter is defined by the specific area or the object of the image corresponding to the printed matter.

9. In the detection process, the processor a first detection process for detecting a first edge in the captured image by applying an edge detection algorithm to the captured image; a determination process of setting a target range having one end defined by the first edge and the other end defined by a position a preset number of pixels away from the first edge, and determining a plurality of second points in the target range in correspondence with a plurality of first points arranged along the first edge on the one end side of the target range, based on color information of each of the first points and the second points; A second detection process is executed to detect a second edge based on the second points. The image processing device according to claim 4 , wherein the processor executes an extraction process for extracting an image corresponding to the print from the captured image based on the detected second edge.

10. In the determination process, the processor A process of calculating a color difference between a pixel of the first point and a pixel of the target point while shifting the target point within the target range from the first point toward the other end by one pixel at a time; determining, as the second point, the object point having the largest color difference among the object points having the color difference equal to or greater than a threshold value; The image processing apparatus according to claim 9 , further comprising:

11. The image processing device according to claim 9 , wherein in the determination process, the processor determines a plurality of the first points on the first edge.

12. 10. The image processing device according to claim 9, wherein when a plurality of the first edges are detected in the first detection process, the processor executes the determination process and the second detection process for each of the plurality of the first edges.

13. 10. The image processing device according to claim 9, wherein when the printing surface of the printed matter includes a printing area in which the image to be printed is printed and a frame area located around the printing area, the preset number of pixels is smaller than the number of pixels corresponding to the width of the frame area.

14. The processor further executes a display process for displaying the captured image on a screen; The image processing device according to claim 9 , wherein, during execution of the display process, the processor superimposes an object indicating the second edge detected in the second detection process on the captured image.

15. When a dark color area is present in the captured image adjacent to the print, the processor In the first detection process, a boundary located on an opposite side to the printed matter in the image of the dark color region is detected as the first edge, In the determination process, a plurality of second points are determined in the target range including the image of the dark color region, in correspondence with a plurality of first points located on the first edge; In the second detection process, the second edge is detected based on a plurality of the second points; The image processing apparatus according to claim 9 , wherein in the extraction process, an image corresponding to the print except for an image of the dark color region is extracted from the captured image based on the detected second edge.

16. The image processing apparatus according to claim 9 , wherein the printed matter is a medium having a print surface on which a print image is printed.

17. An image processing method for extracting an image corresponding to a print from a captured image, comprising the steps of: An image processing method comprising a step of estimating a first range including the printed object in the captured image by a processor applying a range estimation model constructed by machine learning on the printed object to the captured image.

18. a step of the processor setting a second range in the captured image, the second range including the first range and being wider than the first range, based on the first range; 20. The image processing method of claim 17, further comprising the step of: detecting, by the processor, within the second range, a particular region of an image corresponding to the printed matter.

19. In the step of detecting the specific area of ​​the image corresponding to the print, the processor applies an edge detection algorithm to the captured image to detect a first edge in the captured image; the processor sets a target range having one end defined by the first edge and the other end defined by a position a preset number of pixels away from the first edge, and determines a plurality of second points in the target range in correspondence with a plurality of first points arranged along the first edge on the one end side of the target range based on color information of each of the first points and the second points; the processor detecting a second edge based on a plurality of the second points; The image processing method according to claim 18, further comprising: extracting, by the processor, an image corresponding to the print from the captured image based on the detected second edge.

20. A program for causing a computer to execute the steps included in the image processing method according to any one of claims 17 to 19.

21. A computer-readable recording medium, 20. A recording medium having recorded thereon a program for causing a computer to execute the steps included in the image processing method according to any one of claims 17 to 19.

Citation Information

Patent Citations

  • Image capturing device, captured image processing system, program, and recording medium

    JP2013168119A

  • Image processor, and program

    JP2007074579A

Cited By

  • Detection method, detection device, and program

    JP2026166047A

  • Detection method, detection device, and program

    JP7901713B1