Image processing apparatus, method of producing super-resolution data, image processing program, and method of producing learning model group
The image processing device addresses the limitations of existing systems by using film-specific learning models to enhance resolution and quality, achieving improved super-resolution images for both negative and positive film types.
Patent Information
- Application Number
- JP2023047856
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-10-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing image processing systems, such as those described in Patent Document 1, fail to produce high-quality, high-resolution images effectively.
An image processing device that utilizes separate learning models for negative and positive film types to enhance resolution, incorporating a sensor unit for film type detection, a super-resolution processing unit, and a learning model management system to produce high-quality super-resolution data based on film type and resolution settings.
The system effectively increases the resolution of images taken on negative or positive film, improving image quality by accounting for film-specific noise characteristics and enhancing contours as needed, thereby producing high-quality super-resolution data.
Smart Images

Figure 2024136670000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing device, a method for producing super-resolution data, an image processing program, and a method for producing a group of learning models. [Background technology]
[0002] Patent Document 1 discloses an image processing system that acquires digital image data from an image recorded on a film and performs various processes on the image data. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2005-286395 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, from the viewpoint of obtaining high-resolution images with excellent image quality, the technology described in Patent Document 1 is not sufficient. [Means for solving the problem]
[0005] One aspect of the image processing device according to the present invention is an acquisition unit that acquires photographic data and film information indicating whether the photographic data is negative data corresponding to an image taken on a negative film or positive data corresponding to an image taken on a positive film; a super-resolution data production unit for producing super-resolution data by increasing the resolution of the photograph data; Equipped with The super-resolution data production unit produces the super-resolution data by increasing the resolution of the negative data using a first learning model corresponding to the negative data, and produces the super-resolution data by increasing the resolution of the positive data using a second learning model different from the first learning model and corresponding to the positive data.
[0006] One aspect of the method for producing super-resolution data according to the present invention includes: An acquisition step of acquiring photographic data; a determining step of determining whether the photographic data is negative data taken with a negative film or positive data taken with a positive film; a super-resolution data production process for producing super-resolution data by increasing the resolution of the negative data using a first learning model corresponding to the negative data, and producing the super-resolution data by increasing the resolution of the positive data using a second learning model corresponding to the positive data and different from the first learning model; has.
[0007] One aspect of the image processing program according to the present invention is An acquisition step of acquiring photographic data; a determining step of determining whether the photographic data is negative data taken with a negative film or positive data taken with a positive film; a super-resolution data production step of producing super-resolution data by increasing the resolution of the negative data using a first learning model corresponding to the negative data, and producing the super-resolution data by increasing the resolution of the positive data using a second learning model corresponding to the positive data and different from the first learning model; Have the computer run the following.
[0008] One aspect of the method for producing a learning model group according to the present invention includes: A method for producing a learning model group including a first learning model used to produce super-resolution data in which the resolution of negative data corresponding to an image taken with a negative film is increased, and a second learning model used to produce super-resolution data in which the resolution of positive data corresponding to an image taken with a positive film is increased, The first learning model is produced by performing machine learning using as training data first image data obtained by reading an image taken on a negative film at a first resolution and second image data obtained by reading an image taken on a negative film at a second resolution different from the first resolution; The second learning model is produced by performing machine learning using as training data third image data obtained by reading an image taken on positive film at a third resolution, and fourth image data obtained by reading an image taken on positive film at a fourth resolution different from the third resolution. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 illustrates an example of a functional configuration of an image processing system. [Diagram 2] FIG. 11 is a diagram showing an example of an image acquisition condition selected via a user interface. [Diagram 3] FIG. 2 is a diagram for explaining an example of the operation of the image processing system. [Figure 4] FIG. 13 is a diagram showing an example of a learning dataset for producing a super-resolution learning model used when the resolution of image data is increased in the main scanning direction but not increased in the sub-scanning direction. [Diagram 5] FIG. 13 is a diagram showing an example of a learning dataset for producing a super-resolution learning model used when increasing both the main scanning direction resolution and the sub-scanning direction resolution of image data. [Figure 6] 1A and 1B are diagrams illustrating a relationship between image data including image information corresponding to an image captured on a positive film and super-resolution processing. [Figure 7] 1A and 1B are diagrams illustrating a relationship between image data including image information corresponding to an image captured on a negative film and super-resolution processing. [Figure 8] 1A and 1B are diagrams illustrating the relationship between the degree of edge enhancement of super-resolution data corresponding to an image captured on a positive film and super-resolution processing. [Figure 9] 1A and 1B are diagrams illustrating the relationship between the degree of edge enhancement of super-resolution data corresponding to an image captured on a negative film and super-resolution processing. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Preferred embodiments of the present invention will be described below with reference to the drawings. The drawings are used for the convenience of explanation. Note that the embodiments described below do not unduly limit the contents of the present invention described in the claims. Furthermore, not all of the configurations described below are necessarily essential components of the present invention.
[0011] 1. Image processing system configuration The image processing system SC of this embodiment is a so-called transmissive film scanner that acquires image data corresponding to the image captured on the photographic film by detecting transmitted light that has passed through the photographic film, and has a so-called super-resolution processing function that improves the quality of the output image by increasing the resolution of the acquired image data.
[0012] FIG. 1 is a diagram showing an example of the functional configuration of an image processing system SC. As shown in FIG. 1, the image processing system SC includes an image processing unit 1, a user interface 3, and an image acquisition unit 5. In the image processing system SC, the user interface 3 receives operation information from a user, and the image acquisition unit 5 performs a scan operation according to the operation information received by the user interface 3, thereby acquiring image information corresponding to an image captured on a photographic film. The image processing unit 1 acquires image data according to the image information acquired by the image acquisition unit 5, and performs image processing on the acquired image data according to the operation information received by the user interface 3. In this way, the image processing unit 1 produces super-resolution data in which the resolution of the image data corresponding to the image captured on the photographic film is increased.
[0013] The super-resolution data produced by the image processing unit 1 is output to a user interface 3. The user interface 3 outputs the input super-resolution data or a super-resolution image corresponding to the super-resolution data. In this way, the image processing system SC provides the user with super-resolution data corresponding to an image captured on a photographic film or a super-resolution image corresponding to the super-resolution data.
[0014] The user interface 3 includes an image acquisition condition setting section 31 , an image output section 32 , and a memory 33 .
[0015] The image acquisition condition setting unit 31 receives image acquisition conditions that define the acquisition conditions of an image from a photographic film as operation information by a user. The image acquisition conditions that are input to the image acquisition condition setting unit 31 include, for example, the type of photographic film from which an image is acquired, an acquisition resolution that is the resolution of photographic data acquired by reading the photographic film, and an output resolution that is the resolution of super-resolution data obtained by increasing the resolution of the acquired photographic data. The image output unit 32 outputs the super-resolution data produced by the image processing unit 1, or a super-resolution image corresponding to the super-resolution data produced by the image processing unit 1, to the user. The image output unit 32 may be, for example, a display capable of displaying the super-resolution data and the super-resolution image, a printing device that prints the super-resolution image corresponding to the super-resolution data, or a connector that outputs the super-resolution image as an image file to an external device. The memory 33 holds options of image acquisition conditions that are selected by the user, such as options of the type of photographic film from which an image is acquired, options of the resolution of image information acquired from the photographic film, and options of the resolution of super-resolution data corresponding to the acquired image information. Specific examples of selection items and options in the image acquisition condition setting unit 31 will be described later.
[0016] The image acquisition section 5 includes a sensor control section 51 , a light source control section 52 , a data buffer 53 , a sensor unit 54 , and a light source 55 .
[0017] The sensor control unit 51 controls the operation of the sensor unit 54 according to the image acquisition conditions received by the user interface 3. Specifically, the sensor unit 54 has a plurality of sensor elements arranged in parallel along the main scanning direction, and moves along a sub-scanning direction intersecting the main scanning direction under the control of the sensor control unit 51. Furthermore, the light source control unit 52 controls the operation of the light source 55 in synchronization with the movement of the sensor unit 54, and the light source 55 emits or turns off light based on the light source control unit 52.
[0018] In the image acquisition section 5 configured as above, the sensor unit 54 moves along the sub-scanning direction under the control of the sensor control section 51, and the light source 55 emits light when the sensor unit 54 reaches a predetermined scanning position. Then, each of the multiple sensor elements of the sensor unit 54 detects light components contained in the transmitted light that has passed through the photographic film, among the light generated by the light emitted by the light source 55, such as the light intensity of the red wavelength component, the light intensity of the green wavelength component, and the light intensity of the blue wavelength component contained in the transmitted light. The sensor control section 51 stores the light components detected by each of the multiple sensor elements of the sensor unit 54, or information corresponding to the light components, in the data buffer 53 as image information corresponding to the image captured on the photographic film. That is, the sensor unit 54 acquires image information corresponding to the image captured on the photographic film. In this case, when the photographic film is a negative film, the image information captured on the negative film is generated by transmitting and scanning the negative film, and when the photographic film is a positive film, the image data captured on the positive film is generated by transmitting and scanning the positive film. That is, the sensor unit 54 detects the light transmitted through the photographic film. After that, the image information held in the data buffer 53 is output as image data to the image processing unit 1 upon request or at a predetermined timing.
[0019] The image processing unit 1 includes a CPU 10 and a memory 20. The memory 20 also includes an input image storage unit 21, an exposure correction coefficient storage unit 22, a color correction coefficient storage unit 23, a super-resolution learning model storage unit 24, a super-resolution parameter storage unit 25, a super-resolution result storage unit 26, and an image processing program storage unit 27.
[0020] The input image storage unit 21 stores image data input from the image acquisition unit 5. The exposure correction coefficient storage unit 22 stores an exposure correction coefficient for correcting brightness variations in image data caused by the variations in characteristics of the light source 55 and the sensor unit 54. The color correction coefficient storage unit 23 stores a color correction coefficient for correcting color variations in image data caused by the variations in characteristics of the light source 55 and the sensor unit 54. The super-resolution learning model storage unit 24 stores a plurality of super-resolution learning models as learning models for generating super-resolution data with an increased resolution of the image data. The super-resolution parameter storage unit 25 stores a plurality of super-resolution parameters for generating super-resolution data with an increased resolution of the image data. The super-resolution result storage unit 26 stores super-resolution data generated by the super-resolution processing unit 15 of the CPU 10. The image processing program storage unit 27 stores an image processing program for the CPU 10 to execute super-resolution processing to increase the resolution of the image data, which will be described later. In addition, the input image storage unit 21, the exposure correction coefficient storage unit 22, the color correction coefficient storage unit 23, the super-resolution learning model storage unit 24, the super-resolution parameter storage unit 25, the super-resolution result storage unit 26, and the image processing program storage unit 27 may be different memory areas included in one integrated circuit, or may be different memory areas of different integrated circuits.
[0021] The CPU 10 includes an input / output management unit 11, an exposure correction unit 12, a color correction unit 13, a super-resolution learning model management unit 14, and a super-resolution processing unit 15. The CPU 10 then acquires and executes an image processing program from the memory 20. As a result, the image processing unit 1 outputs super-resolution data in which the resolution of the image data has been increased.
[0022] The input / output management unit 11 acquires image data stored in the input image storage unit 21 and image acquisition conditions accepted by the user interface 3. The exposure correction unit 12 acquires an exposure correction coefficient stored in the exposure correction coefficient storage unit 22 according to the histogram of the image data acquired by the input / output management unit 11, and corrects the brightness of the image data acquired by the input / output management unit 11 using the acquired exposure correction coefficient. The color correction unit 13 corrects the color of the image data acquired by the input / output management unit 11 using a color correction coefficient stored in the color correction coefficient storage unit 23.
[0023] The super-resolution learning model management unit 14 acquires, holds, and manages a super-resolution learning model corresponding to the image acquisition condition accepted by the user interface 3 from among a plurality of super-resolution learning models held in the super-resolution learning model holding unit 24. The super-resolution processing unit 15 acquires a super-resolution parameter corresponding to the image acquisition condition accepted by the user interface 3 from among a plurality of super-resolution parameters held in the super-resolution parameter holding unit 25. Then, the super-resolution processing unit 15 executes super-resolution processing to increase the resolution of the image data acquired by the input / output management unit 11, using the acquired super-resolution parameter and the super-resolution learning model held and managed by the super-resolution learning model management unit 14. As a result, the super-resolution processing unit 15 produces super-resolution data with the resolution of the image data increased. That is, the super-resolution processing unit 15 produces super-resolution data with the resolution of the image data increased by executing super-resolution processing on the image data. Then, the super-resolution data produced by the super-resolution processing unit 15 is held in the super-resolution result holding unit 26 of the memory 20.
[0024] Thereafter, the super-resolution data held in the super-resolution result holding unit 26 is input to the image output unit 32 of the user interface 3 at the request of a user or at a specified timing. The image output unit 32 outputs the input super-resolution data or a super-resolution image corresponding to the input super-resolution data. In this way, the super-resolution data in which the resolution of the image captured on the photographic film has been increased, or a super-resolution image corresponding to the super-resolution data, is provided to the user.
[0025] As described above, in the image processing system SC of this embodiment, the image acquisition section 5 includes a sensor unit 54 that acquires image information corresponding to an image captured on photographic film, and a sensor control section 51 that controls the sensor unit 54, and the image processing section 1 includes an input / output management section 11 that acquires image data corresponding to the image information acquired by the sensor unit 54 and image acquisition conditions, and a super-resolution processing section 15 that produces super-resolution data with an increased resolution of the image data. The image processing section 1 including the super-resolution processing section 15 produces and outputs super-resolution data with an increased resolution of the image data acquired by the image acquisition section 5.
[0026] 2. Operation of the image processing system 2.1 Example of image acquisition conditions as operation information Next, a specific example of the operation of the image processing system SC will be described. In describing a specific example of the operation of the image processing system SC, first, an example of image acquisition conditions input via the user interface 3 will be described. Fig. 2 is a diagram showing an example of image acquisition conditions selected via the user interface 3. As shown in Fig. 2, in the image processing system SC of this embodiment, the user selects each of "film type", "acquisition resolution", "output resolution", "edge emphasis", and "type of acquired image" as image acquisition conditions.
[0027] "Film type" is an item for selecting the type of photographic film on which the image was taken, and in the image processing system SC of this embodiment, the type of photographic film on which the image was taken is selected to be either negative film or positive film. Here, negative film is film on which the subject's shading is reversed, and positive film is film on which the subject's shading is left as it is.
[0028] The "acquisition resolution" is an item for selecting a combination of the resolution in the main scanning direction and the resolution in the sub-scanning direction at which the image acquisition unit 5 acquires image information of an image captured on a photographic film, and in the image processing system SC of this embodiment, a combination of resolutions can be selected from a combination of 1200 dpi in the main scanning direction and 1200 dpi in the sub-scanning direction, and a combination of 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction. Note that the combination of resolutions selectable as the "acquisition resolution" is not limited to the above combinations, and may be, for example, a combination of resolutions such as 600 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction. Also, the options for the combination of resolutions selectable as image acquisition conditions are not limited to two sets, and may be three or more sets.
[0029] "Output resolution" is an item for selecting a combination of the resolution in the main scanning direction and the resolution in the sub-scanning direction of the super-resolution data output by the image processing unit 1, and in the image processing system SC of this embodiment, a combination of resolutions of 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction can be selected. Note that the combination of resolutions selectable as "output resolution" is not limited to the above combinations, and may be, for example, a combination of resolutions of 4800 dpi in the main scanning direction and 4800 dpi in the sub-scanning direction. Also, the options for the combination of resolutions selectable as image acquisition conditions are not limited to one set, and may be selectable from multiple combinations.
[0030] "Edge emphasis" is an item for selecting the degree of edge emphasis of the super-resolution image based on the super-resolution data output by the image processing unit 1, and in the image processing system SC of this embodiment, the degree of "edge emphasis" can be selected from five levels, "+2", "+1", "0", "-1", and "-2". Here, in the image processing system SC of this embodiment, when "edge emphasis" is selected as "0", the super-resolution processing unit 15 performs standard edge emphasis on the super-resolution image based on the super-resolution data. Also, when "edge emphasis" is selected as "+1", the super-resolution processing unit 15 performs image processing for emphasizing edges more than when "0" is selected for the super-resolution image based on the super-resolution data, and when "edge emphasis" is selected as "+2", the super-resolution processing unit 15 performs image processing for emphasizing edges more than when "edge emphasis" is selected for the super-resolution image based on the super-resolution data. Furthermore, when "-1" is selected as "contour emphasis", the super-resolution processor 15 executes image processing for the super-resolution image based on the super-resolution data to make the contours more blurred than when "0" is selected, and when "-2" is selected as "contour emphasis", the super-resolution processor 15 executes image processing for the super-resolution image based on the super-resolution data to make the contours more blurred than when "-1" is selected as "contour emphasis". Note that the degree of contour emphasis that can be set as "contour emphasis" is not limited to five levels.
[0031] "Type of acquired image" is an item for selecting the type of image captured on photographic film, and in the image processing system SC of this embodiment, the type of image that is closest to "Landscape (sky, sea)", "Landscape (forest, building)", or "Text" is selected.
[0032] In the image processing system SC of this embodiment, the value of the super-resolution parameter, for example, the weighting coefficient of the filter when performing the super-resolution process, is determined according to the selected "type of acquired image". Specifically, when "landscape (sky, sea)" is selected as the type of image captured on the photographic film, it is assumed that the spatial frequency of the image captured on the photographic film is low. Therefore, the image processing unit 1 selects the super-resolution parameter calculated based on a reference image with a low spatial frequency that has been prepared in advance. Also, when "landscape (forest, building)" is selected as the type of image captured on the photographic film, it is assumed that the spatial frequency of the image captured on the photographic film is high. Therefore, the image processing unit 1 selects the super-resolution parameter calculated based on a reference image with a high spatial frequency that has been prepared in advance. Also, when "character" is selected as the type of image captured on the photographic film, the image processing unit 1 selects the super-resolution parameter calculated based on a reference image with characters that has been prepared in advance.
[0033] That is, the "type of acquired image" included in the image acquisition conditions corresponds to an item for estimating the spatial frequency of an image captured on a photographic film, and in the image processing system SC of this embodiment, the type of image captured on a photographic film is selected from the "type of acquired image" to estimate the spatial frequency of the image captured on the photographic film. Therefore, in the image processing system SC, instead of the "type of acquired image" as an image acquisition condition, an option for estimating the spatial frequency of an image captured on a photographic film may be prepared, or a configuration may be used in which a value equivalent to the spatial frequency of an image captured on a photographic film is directly input.
[0034] 2.2 Operation of the image processing system SC Next, an example of the operation of the image processing system SC will be described. Fig. 3 is a diagram for explaining an example of the operation of the image processing system SC. As shown in Fig. 3, the image processing system SC starts operation when image acquisition conditions are input to the user interface 3 by a user's operation (step S10). In addition, the user interface 3 outputs the input image acquisition conditions to the image acquisition unit 5 and the image processing unit 1.
[0035] The image processing unit 1 is started up when image acquisition conditions are input from the user interface 3 (step S30). Then, as the image processing unit 1 is started up, the CPU 10 executes the image processing program held in the image processing program holding unit 27 of the memory 20. In other words, the image processing program held in the image processing program holding unit 27 is a program that causes the CPU 10 to execute the processing of the image processing unit 1 shown in FIG.
[0036] Specifically, the image acquisition conditions output by the user interface 3 are input to the input / output management unit 11 of the image processing unit 1. That is, the input / output management unit 11 acquires the image acquisition conditions output by the user interface 3. Then, the input / output management unit 11 selects a super-resolution learning model according to the respective setting values of the film type, acquisition resolution, output resolution, and edge enhancement included in the acquired image acquisition conditions (step S31), and acquires the selected super-resolution learning model from the super-resolution learning model storage unit 24 of the memory 20.
[0037] In other words, the input / output management unit 11 acquires information such as whether the photographic film is negative film or positive film, and whether the image captured on the photographic film is an image captured on negative film or an image captured on positive film, and whether the image acquisition unit 5 acquires operation information from an image captured on the photographic film at a resolution of 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, or whether it acquires operation information from an image captured on the photographic film at a resolution of 1200 dpi in the main scanning direction and 1200 dpi in the sub-scanning direction.
[0038] Then, for example, when the film type included in the acquired image acquisition conditions is negative film, the acquisition resolution is 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, and the output resolution is 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, the input / output management unit 11 acquires a super-resolution learning model that matches the conditions from the super-resolution learning model holding unit 24, and when the film type included in the acquired image acquisition conditions is positive film, the acquisition resolution is 1200 dpi in the main scanning direction and 1200 dpi in the sub-scanning direction, and the output resolution is 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, the input / output management unit 11 acquires a super-resolution learning model that matches the conditions from the super-resolution learning model holding unit 24. That is, the super-resolution learning model holding unit 24 holds a plurality of super-resolution learning models corresponding to combinations of the respective options of film type, acquisition resolution, output resolution, and edge enhancement.
[0039] Furthermore, the input / output management unit 11 estimates the spatial frequency of the image captured on the photographic film according to the type of acquired image included in the acquired image acquisition conditions. Then, the input / output management unit 11 selects super-resolution parameters calculated based on a reference image according to the estimated spatial frequency (step S32), and acquires them from the super-resolution parameter storage unit 25 of the memory 20. After that, the super-resolution learning model and the super-resolution parameters acquired by the input / output management unit 11 are stored in the super-resolution learning model management unit 14, and the image processing unit 1 waits.
[0040] That is, in steps S31 and S32, the input / output management unit 11 acquires the film type, acquisition resolution, output resolution, edge enhancement, and type of acquired image included in the image acquisition conditions, and acquires a super-resolution learning model and super-resolution parameters according to the film type, acquisition resolution, output resolution, edge enhancement, and type of acquired image. Note that the order of steps S31 and S32 is not limited to this.
[0041] The image acquisition unit 5 is started by inputting the image acquisition conditions (step S20). The image acquisition conditions output by the user interface 3 are input to the sensor control unit 51 of the image acquisition unit 5. The sensor control unit 51 sets the resolution of the image information acquired by the sensor unit 54 in the main scanning direction and the resolution of the image information acquired by the sensor unit 54 in the sub-scanning direction according to a selection value of the acquisition resolution included in the input image acquisition conditions.
[0042] Specifically, the sensor control unit 51 switches between enabled and disabled states of multiple sensor elements arranged in the main scanning direction in accordance with the selection of the acquisition resolution included in the image acquisition conditions, thereby controlling the resolution of the image information acquired by the sensor unit 54 in the main scanning direction.
[0043] In addition, the sensor control unit 51 sets the scanning speed of the sensor unit 54 in the sub-scanning direction according to the selection of the acquisition resolution included in the image acquisition conditions (step S21). When the sensor unit 54 acquires image information corresponding to an image captured on a photographic film at a constant period, if the scanning speed of the sensor unit 54 in the sub-scanning direction is slow, the sensor unit 54 acquires image information at a high density in the sub-scanning direction. On the other hand, when the sensor unit 54 acquires image information corresponding to an image captured on a photographic film at a constant period, if the scanning speed of the sensor unit 54 in the sub-scanning direction is fast, the sensor unit 54 acquires image information at a low density in the sub-scanning direction. Therefore, when the scanning speed of the sensor unit 54 is fast, the sensor unit 54 acquires image information corresponding to an image captured on a photographic film at a high resolution, and when the scanning speed of the sensor unit 54 is slow, the sensor unit 54 acquires image information corresponding to an image captured on a photographic film at a low resolution. That is, the sensor control unit 51 controls the scanning speed of the sensor unit 54 in the sub-scanning direction, thereby controlling the resolution of the image information acquired by the sensor unit 54 in the sub-scanning direction.
[0044] As described above, in the image processing system SC of this embodiment, when the acquisition resolution among the image acquisition conditions is set by user operation to 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, the sensor control unit 51 controls the scanning speed of the sensor unit 54 so that the sensor unit 54 acquires images at a resolution of 2400 dpi along the sub-scanning direction, and when the acquisition resolution among the image acquisition conditions is set by user operation to 1200 dpi in the main scanning direction and 1200 dpi in the sub-scanning direction, the sensor control unit 51 controls the scanning speed of the sensor unit 54 so that the sensor unit 54 acquires images at a resolution of 1200 dpi along the sub-scanning direction. That is, the sensor control unit 51 controls the sensor unit 54 to a high-resolution acquisition mode in which the sensor unit 54 acquires images at a resolution of 1200 dpi along the main scanning direction and at a resolution of 2400 dpi along the sub-scanning direction, and a low-resolution acquisition mode in which the scanning speed of the sensor unit 54 is controlled so that the sensor unit 54 acquires images at a resolution of 1200 dpi along the main scanning direction and at a resolution of 1200 dpi along the sub-scanning direction (9661_CL1, CL2).
[0045] In other words, when the sensor unit 54 is controlled to the high resolution acquisition mode, it acquires image information corresponding to an image captured on a photographic film at 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, and when it is controlled to the low resolution acquisition mode, it acquires image information corresponding to an image captured on a photographic film at 1200 dpi in the main scanning direction and 1200 dpi in the sub-scanning direction. That is, the sensor unit 54 controlled to the high resolution acquisition mode acquires the image captured on the photographic film at 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, and the sensor unit 54 controlled to the low resolution acquisition mode acquires the image captured on the photographic film at 1200 dpi in the main scanning direction and 1200 dpi in the sub-scanning direction.
[0046] At this time, whether the sensor control unit 51 controls the sensor unit 54 in the high-resolution acquisition mode or the low-resolution acquisition mode is determined by the user, specifically, by selecting the acquisition resolution. In other words, the acquisition resolution included in the image acquisition conditions output by the user interface 3 includes information on whether the sensor unit 54, which acquires image information corresponding to an image captured on a photographic film, is controlled in the high-resolution acquisition mode and information on whether it is controlled in the low-resolution acquisition mode.
[0047] Thereafter, the image acquisition unit 5 starts acquiring image information corresponding to the image captured on the photographic film at a resolution in the main scanning direction set based on the selected value of the acquisition resolution and at a scanning speed in the sub-scanning direction set based on the selected value of the acquisition resolution (step S22).
[0048] When the image acquisition section 5 starts acquiring image information corresponding to the image captured on the photographic film, the sensor unit 54 acquires image information corresponding to the image captured on the photographic film at a constant period while moving at a predetermined scanning speed along the sub-scanning direction. The image information acquired by the sensor unit 54 is successively stored in the data buffer 53. That is, the image acquisition section 5 acquires and stores image information corresponding to the image captured on the photographic film (step S23). After that, the sensor control section 51 determines whether the sensor unit 54 has acquired image information of a predetermined width in the sub-scanning direction of the photographic film based on the scanning position of the sensor unit 54 (step S24).
[0049] When the sensor control unit 51 determines that the sensor unit 54 has not acquired image information of a predetermined width in the sub-scanning direction of the photographic film (N in step S24), the image acquisition unit 5 reacquires and holds image information corresponding to the image captured on the photographic film (step S23). That is, the image acquisition unit 5 sequentially acquires image information of a predetermined width in the sub-scanning direction of the photographic film, and holds the acquired image information in the data buffer 53. On the other hand, when the sensor control unit 51 determines that the sensor unit 54 has acquired image information of a predetermined width in the sub-scanning direction of the photographic film (Y in step S24), the sensor control unit 51 reads out the image information of the predetermined width in the sub-scanning direction of the photographic film that is held in the data buffer 53, and outputs it to the image processing unit 1 as image data. That is, the image acquisition unit 5 outputs image data that includes image information of a predetermined width in the sub-scanning direction of the photographic film, which is the image information it holds (step S25).
[0050] Thereafter, the sensor control unit 51 judges whether acquisition of image information of all areas of the photographic film has been completed (step S26). If the sensor control unit 51 judges that acquisition of image information of all areas of the photographic film has not been completed (N in step S26), the image acquisition unit 5 reacquires and stores image information corresponding to the image captured on the photographic film (step S23). That is, the image acquisition unit 5 divides the photographic film into a plurality of areas of a predetermined width, and acquires image information corresponding to the image captured on the photographic film for each divided area. Then, the image acquisition unit 5 generates image data including the image information acquired for each divided area, and outputs the generated image data to the image processing unit 1.
[0051] On the other hand, if the sensor control unit 51 determines that acquisition of image information of the entire area of the photographic film has been completed (Y in step S26), the sensor control unit 51 generates an acquisition completion notification indicating that acquisition of image information of the entire area of the photographic film has been completed, and outputs it to the image processing unit 1 (step S27). After outputting the acquisition completion notification to the image processing unit 1, the image acquisition unit 5 ends acquisition of image information (step S29) and stops operation (step S29).
[0052] The image processing unit 1 starts operation when image data including image information corresponding to an image of a predetermined width in the sub-scanning direction of the photographic film is input from the image acquisition unit 5 during a waiting period after the input / output management unit 11 acquires a super-resolution learning model corresponding to the image acquisition conditions from the super-resolution learning model storage unit 24 and acquires super-resolution parameters corresponding to the image acquisition conditions from the super-resolution parameter storage unit 25. Then, the input / output management unit 11 acquires the image data corresponding to the image of the predetermined width in the sub-scanning direction of the photographic film input from the image acquisition unit 5 as divided image data (step S33).
[0053] The super-resolution processing unit 15 executes super-resolution processing to increase the resolution of the divided image data acquired by the input / output management unit 11, using the super-resolution learning model held by the super-resolution learning model management unit 14 and the super-resolution parameters acquired by the super-resolution processing unit 15. That is, the super-resolution processing unit 15 executes super-resolution processing on the acquired divided image data, using the super-resolution learning model and super-resolution parameters selected based on the image acquisition conditions (step S34). As a result, the super-resolution processing unit 15 produces divided super-resolution data in which the resolution of the acquired divided image data has been increased. That is, the super-resolution processing unit 15 produces divided super-resolution data in which the resolution of the acquired divided image data is amplified, which is the resolution of image data of a predetermined width in the sub-scanning direction of the photographic film. Then, the divided super-resolution data produced by the super-resolution processing unit 15 is held in the super-resolution result holding unit 26. In other words, the super-resolution result holding unit 26 holds the divided super-resolution data produced by the super-resolution processing unit 15 (step S35).
[0054] Thereafter, the input / output management unit 11 judges whether or not an acquisition completion notice has been input from the image acquisition unit 5 (step S36). If the input / output management unit 11 judges that an acquisition completion notice has not been input (N in step S36), the image processing unit 1 waits until image data including image information of different predetermined widths in the sub-scanning direction of the photographic film is input, and then, when the image data including image information of different predetermined widths in the sub-scanning direction of the photographic film is input from the image acquisition unit 5, the image processing unit 1 starts operation.
[0055] Then, the input / output management unit 11 acquires image data corresponding to images of a predetermined width from different positions in the sub-scanning direction of the photographic film input from the image acquisition unit 5 as divided image data (step S33), and the super-resolution processing unit 15 executes super-resolution processing on the acquired divided image data using the super-resolution learning model and super-resolution parameters selected based on the image acquisition conditions (step S34). As a result, the image processing unit 1 produces divided super-resolution data with increased resolution of image data including image information corresponding to images of different predetermined widths in the sub-scanning direction of the photographic film. Then, the super-resolution result holding unit 26 holds the divided super-resolution data produced by the super-resolution processing unit 15 based on the image data including image information corresponding to images of different predetermined widths in the sub-scanning direction of the photographic film (step S35). That is, the super-resolution processing unit 15 sequentially performs super-resolution processing on image data input from the image acquisition unit 5 for each specified width in the sub-scanning direction, and the super-resolution result holding unit 26 sequentially holds divided super-resolution data corresponding to each of the image data for each specified width produced by the super-resolution processing unit 15.
[0056] On the other hand, when the image processing unit 1 receives an acquisition completion notification from the image acquisition unit 5 (N in step S36), the image processing unit 1 determines that acquisition of all image information corresponding to the image captured on the photographic film has been completed. At this time, the super-resolution result holding unit 26 holds divided super-resolution data corresponding to each of the divided images, which is obtained by dividing the image captured on the photographic film into predetermined widths as data with increased resolution of image data including image information corresponding to the image captured on the photographic film. The super-resolution processing unit 15 reads out the divided super-resolution data corresponding to each of the divided images held in the super-resolution result holding unit 26, combines the data, and outputs the combined data to the user interface 3 as super-resolution data with increased resolution of image data including image information corresponding to the image captured on the photographic film. That is, the super-resolution processing unit 15 combines the divided super-resolution data and outputs it as super-resolution data (step S37). After that, the image processing unit 1 stops operating (step S38).
[0057] That is, in the image processing system SC of this embodiment, the super-resolution processing unit 15 acquires image data including image information of a part of an image captured on a photographic film input from the image acquisition unit 5 as divided image data, produces divided super-resolution data by increasing the resolution of the acquired divided image data, acquires image data including image information of a different part of an image captured on a photographic film input from the image acquisition unit 5 as divided image data, and produces divided super-resolution data by increasing the resolution of the acquired divided image data. That is, the image acquisition unit 5 divides the area of the image captured on the input photographic film into multiple areas, and acquires image data from each of the multiple divided areas. Then, the image acquisition unit 5 outputs the multiple image data acquired from each of the multiple areas to the image processing unit 1.
[0058] The super-resolution processing unit 15 of the image processing unit 1 produces a plurality of divided super-resolution data by executing super-resolution processing on each of the plurality of image data output by the image acquisition unit 5. The super-resolution processing unit 15 then combines the produced plurality of divided super-resolution data to produce super-resolution data corresponding to the image captured on the photographic film.
[0059] In other words, the image acquisition unit 5 divides an image captured on a photographic film and outputs a plurality of image data corresponding to each image of the divided regions, and the image processing unit 1 produces a plurality of divided super-resolution data by executing super-resolution processing on each of the plurality of image data output by the image acquisition unit 5. Then, the image processing unit 1 produces super-resolution data corresponding to the image captured on the photographic film by combining the plurality of divided super-resolution data produced.
[0060] In the image processing system SC of this embodiment, by applying this configuration, it is possible to execute in parallel the acquisition of image information corresponding to an image captured on a photographic film in the image acquisition unit 5 and the super-resolution processing in the image processing unit 1. This makes it possible to shorten the time required for the image processing system SC to produce super-resolution data corresponding to an image captured on a photographic film.
[0061] In addition, at this time, the image processing unit 1 performs super-resolution processing on each of the multiple divided image data using super-resolution parameters based on a reference image that is different from the image captured on the acquired photographic film and is selected by the user according to the "type of acquired image" to produce multiple divided super-resolution data. That is, the image processing unit 1 performs super-resolution processing on the multiple divided image data using common super-resolution parameters. This reduces the risk of distortion occurring in the image at the combined portion when the multiple divided super-resolution data produced by the image processing unit 1 are combined, improving the image quality of the output super-resolution data and the super-resolution image corresponding to the super-resolution data.
[0062] The super-resolution data output by the image processing unit 1 is then input to the image output unit 32 of the user interface 3. The image output unit 32 outputs the input super-resolution data or a super-resolution image produced based on the super-resolution data from the image processing system SC (step S11). As a result, the image processing system SC outputs at least one of the super-resolution data, which is obtained by increasing the resolution of an image captured on a photographic film, and the super-resolution image.
[0063] As described above, the image processing system SC of this embodiment includes the image processing unit 1, the user interface 3, and the image acquisition unit 5. The sensor unit 54 included in the image acquisition unit 5 acquires image information corresponding to an image captured on a photographic film, and the sensor control unit 51 included in the image acquisition unit 5 controls the resolution of the sensor unit 54 in the sub-scanning direction.
[0064] In addition, the input / output management unit 11 of the image processing unit 1 acquires image data corresponding to the image captured on the photographic film, and image acquisition conditions that define the acquisition conditions of the image from the photographic film. At this time, the image acquisition conditions acquired by the input / output management unit 11 include a film type indicating whether the photographic film is a negative film or a positive film, an acquisition resolution indicating the resolution at which the image captured on the photographic film is acquired, an output resolution indicating the resolution of the super-resolution data to be output, and edge enhancement indicating the degree of edge enhancement of the super-resolution data to be output. That is, the input / output management unit 11 acquires image data including image information corresponding to the image captured on the photographic film, information indicating whether the image data including image information corresponding to the image captured on the photographic film is data corresponding to the image captured on the negative film or data corresponding to the image captured on the positive film, and a resolution at which image information corresponding to the image captured on the photographic film is acquired, the resolution of the image data input from the image acquisition unit 5 to the image processing unit 1, and the resolution of the super-resolution data output by the image processing unit 1.
[0065] Then, the super-resolution processing unit 15 applies the super-resolution learning model to image data including image information corresponding to images captured on photographic film, thereby producing super-resolution data that has increased resolution from the image data including image information corresponding to images captured on photographic film.
[0066] Specifically, the super-resolution learning model holding unit 24 holds a plurality of super-resolution learning models that are used by the super-resolution processing unit 15 to produce super-resolution data with increased resolution of image data, and correspond to the respective set values of the film type, acquisition resolution, output resolution, and edge enhancement included in the image acquisition conditions. The input / output management unit 11 selects a super-resolution learning model that the super-resolution processing unit 15 uses to produce super-resolution data according to the respective set values of the film type, acquisition resolution, output resolution, and edge enhancement included in the acquired image acquisition conditions. The super-resolution learning model management unit 14 acquires the super-resolution learning model selected by the input / output management unit 11 from the super-resolution learning model holding unit 24. Then, the super-resolution processing unit 15 produces super-resolution data with increased resolution of image data using the super-resolution learning model acquired by the super-resolution learning model management unit 14.
[0067] Specifically, when the input / output management unit 11 determines that the image data corresponding to an image captured on a photographic film is data corresponding to an image captured on a negative film according to the film type included in the acquired image acquisition conditions, the super-resolution learning model management unit 14 acquires a super-resolution learning model corresponding to the negative film from the super-resolution learning model holding unit 24. Then, the super-resolution processing unit 15 uses the super-resolution learning model corresponding to the negative film acquired by the super-resolution learning model management unit 14 to produce super-resolution data in which the resolution of the image data corresponding to the image captured on the negative film is increased.
[0068] Furthermore, when the input / output management unit 11 determines that the image data corresponding to an image captured on photographic film is data corresponding to an image captured on positive film according to the film type included in the acquired image acquisition conditions, the super-resolution learning model management unit 14 acquires a super-resolution learning model corresponding to the positive film from the super-resolution learning model holding unit 24. Then, the super-resolution processing unit 15 uses the super-resolution learning model corresponding to the positive film acquired by the super-resolution learning model management unit 14 to produce super-resolution data in which the resolution of the image data corresponding to the image captured on the positive film is increased.
[0069] That is, in step S34 in which the super-resolution processing unit 15 produces super-resolution data, where the image processing program causes the CPU 10 to produce super-resolution data, the super-resolution processing unit 15 produces super-resolution data by increasing the resolution of image data including image information corresponding to an image shot on negative film using a super-resolution learning model corresponding to image data including image information corresponding to an image shot on negative film, and produces super-resolution data by increasing the resolution of image data including image information corresponding to an image shot on positive film using a super-resolution learning model corresponding to image data including image information corresponding to an image shot on positive film.
[0070] Furthermore, when the input / output management unit 11 determines that the selected values of the acquisition resolution are 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, and the selected values of the output resolution are 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, according to the acquisition resolution and output resolution included in the acquired image acquisition conditions, the super-resolution learning model management unit 14 acquires a super-resolution learning model that doubles the resolution in the main scanning direction and does not increase the resolution in the sub-scanning direction from the super-resolution learning model holding unit 24. Then, the super-resolution processing unit 15 produces super-resolution data in which the resolution of image data corresponding to an image captured on a photographic film is increased, using the super-resolution learning model that doubles the resolution in the main scanning direction and does not increase the resolution in the sub-scanning direction acquired by the super-resolution learning model management unit 14.
[0071] In other words, in an operating mode in which the sensor unit 54 is controlled to acquire image data corresponding to an image captured on photographic film at 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, the super-resolution processing unit 15 produces super-resolution data in which the resolution in the main scanning direction of the image data acquired by the sensor unit 54 is increased to 2400 dpi using a super-resolution learning model that doubles the resolution in the main scanning direction but does not increase the resolution in the sub-scanning direction.
[0072] Furthermore, when the input / output management unit 11 determines that the selected values of the acquisition resolution are 1200 dpi in the main scanning direction and 1200 dpi in the sub-scanning direction, and the selected values of the output resolution are 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, according to the acquisition resolution and output resolution included in the acquired image acquisition conditions, the super-resolution learning model management unit 14 acquires a super-resolution learning model for doubling the resolution in the main scanning direction and doubling the resolution in the sub-scanning direction from the super-resolution learning model holding unit 24. Then, the super-resolution processing unit 15 produces super-resolution data in which the resolution of the image data corresponding to the image captured on the photographic film is increased, using the super-resolution learning model for doubling the resolution in the main scanning direction and doubling the resolution in the sub-scanning direction acquired by the super-resolution learning model management unit 14.
[0073] In other words, in an operating mode in which the sensor unit 54 is controlled to acquire image data corresponding to an image captured on photographic film at 1200 dpi in the main scanning direction and at 1200 dpi in the sub-scanning direction, the super-resolution processing unit 15 uses a super-resolution learning model that doubles the resolution in the main scanning direction and doubles the resolution in the sub-scanning direction to produce super-resolution data in which the resolution in the main scanning direction of the image data corresponding to the image captured on photographic film acquired by the sensor unit 54 is increased to 2400 dpi and the resolution in the sub-scanning direction is increased to 2400 dpi.
[0074] That is, in step S34 where the super-resolution processing unit 15 produces super-resolution data and the image processing program causes the CPU 10 to produce super-resolution data, the super-resolution processing unit 15, in response to the sensor unit 54 being controlled in the high-resolution acquisition mode, produces super-resolution data in which the resolution in the main scanning direction of the image data is increased to 2400 dpi using a super-resolution learning model corresponding to the high-resolution acquisition mode and which increases the resolution in the main scanning direction to the resolution in the sub-scanning direction.
[0075] 3. Producing training data As described above, the image processing system SC of this embodiment selects a super-resolution learning model to be used for super-resolution processing from a plurality of super-resolution learning models according to the image acquisition conditions input by the user, such as the type of photographic film for acquiring an image, the acquisition resolution of image information corresponding to an image captured on the photographic film, the output resolution of super-resolution data corresponding to image data including image information, etc. For this reason, the super-resolution learning model holding unit 24 of the image processing system SC holds a plurality of super-resolution learning models according to the image acquisition conditions input by the user, such as the type of photographic film for acquiring an image, the acquisition resolution of image information corresponding to an image captured on the photographic film, the output resolution of super-resolution data corresponding to image data including image information, etc. Below, details of the super-resolution learning model held in the image processing system SC of this embodiment and an example of a method for producing the super-resolution learning model will be described.
[0076] The super-resolution learning model used in this embodiment is produced by executing machine learning using a learning dataset in which multiple image pairs of high-resolution image data HR and low-resolution image data LR obtained based on one base image are stored as teacher data. At this time, the resolution ratio between the high-resolution image data HR and the low-resolution image data LR corresponding to one base image stored in the learning dataset corresponds to the increase rate of resolution when super-resolution processing is performed using the super-resolution learning model produced using the learning dataset.
[0077] FIG. 4 is a diagram showing an example of a learning data set for producing a super-resolution learning model used when the resolution of image data in the main scanning direction is increased and the resolution of image data in the sub-scanning direction is not increased. Here, in FIG. 4, the horizontal direction corresponds to the main scanning direction, and the vertical direction corresponds to the sub-scanning direction. The learning data set shown in FIG. 4 is a learning data set used to produce a super-resolution learning model used in super-resolution processing in which the resolution in the main scanning direction is increased by two times and the resolution in the sub-scanning direction is not increased. For example, when a user selects a resolution of 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction as the acquisition resolution, and a resolution of 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction as the output resolution, the learning data set is used to produce a super-resolution learning model acquired by the input / output management unit 11 from the super-resolution learning model holding unit 24.
[0078] As shown in Figure 4, the learning dataset for producing a super-resolution learning model used when the resolution of image data in the main scanning direction is increased but the resolution of the image data in the sub-scanning direction is not increased includes multiple pairs of high-resolution image data HR and low-resolution image data LR whose resolution in the main scanning direction is the same as the resolution in the main scanning direction of the high-resolution image data HR and whose resolution in the sub-scanning direction is half the resolution in the sub-scanning direction of the high-resolution image data HR.
[0079] Specifically, the low-resolution image data LR is generated by acquiring a base image such that the ratio of the resolution in the main scanning direction to the resolution in the sub-scanning direction is the same as the ratio of the resolution in the main scanning direction to the resolution in the sub-scanning direction set in the image acquisition conditions. Also, the high-resolution image data HR is generated by acquiring a base image such that both the resolution in the main scanning direction and the resolution in the sub-scanning direction are the resolution in the sub-scanning direction of the low-resolution image data LR. Here, the low-resolution image data LR and the high-resolution image data HR may be generated by acquiring a base image at the resolution of the low-resolution image data LR and the resolution of the high-resolution image data HR described above, or may be generated by acquiring a base image as base image data of an arbitrary resolution and then performing a predetermined image processing.
[0080] The learning data set stores a plurality of image pairs of high-resolution image data HR and low-resolution image data LR generated corresponding to a plurality of base images. Then, by performing machine learning using the learning data set as training data, a super-resolution learning model is produced that is used in super-resolution processing that doubles the resolution in the main scanning direction and does not increase the resolution in the sub-scanning direction.
[0081] That is, the super-resolution learning model is used to produce super-resolution data in which the resolution in the main scanning direction is increased to 2400 dpi based on the user's setting of the acquisition resolution from image data corresponding to image information acquired from an image captured on a photographic film at a resolution of 1200 dpi in the main scanning direction and at a resolution of 2400 dpi in the sub-scanning direction based on the user's setting of the acquisition resolution, and the resolution in the main scanning direction of the image data including the image information corresponding to the image captured on the photographic film is doubled, and the resolution in the sub-scanning direction is not increased. The super-resolution learning model used in resolution processing is produced by performing machine learning using as training data low-resolution image data LR, in which the ratio of the resolution in the main scanning direction to the resolution in the sub-scanning direction is 1200 dpi, which is the main scanning direction resolution selected by the acquired resolution, and 2400 dpi, which is the sub-scanning direction resolution selected by the acquired resolution, and in which the resolution in the sub-scanning direction is twice that of the main scanning direction, and high-resolution image data HR, in which the resolution in the main scanning direction and the resolution in the sub-scanning direction are the same as the sub-scanning direction resolution of the low-resolution image data LR.
[0082] Therefore, when producing super-resolution data in which the resolution in the main scanning direction is increased to 2400 dpi from image data including image information corresponding to an image captured on photographic film acquired at a resolution of 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction based on the settings of the acquisition resolution and output resolution included in the image acquisition conditions, the super-resolution processing unit 15 produces super-resolution data by using as teacher data a learning model in which machine learning has been performed using low-resolution image data LR in which the ratio of the resolution in the main scanning direction to the resolution in the sub-scanning direction is the ratio of 1200 dpi, which is the main scanning direction resolution set by the acquisition resolution, to 2400 dpi, which is the sub-scanning direction resolution, and high-resolution image data HR in which the resolution in the main scanning direction and the resolution in the sub-scanning direction are the same as the sub-scanning direction resolution of the low-resolution image data LR, to produce super-resolution data.
[0083] In other words, the super-resolution learning model used in super-resolution processing to produce super-resolution data that increases the resolution in the main scanning direction of image data containing image information corresponding to an image captured on photographic film by n times, without increasing the resolution in the sub-scanning direction, is produced by performing machine learning using as training data low-resolution image data LR whose resolution in the sub-scanning direction is n times the resolution in the main scanning direction, and high-resolution image data HR whose resolution in the main scanning direction and the resolution in the sub-scanning direction are the same as the resolution in the sub-scanning direction of the low-resolution image data LR.
[0084] FIG. 5 is a diagram showing an example of a learning data set for producing a super-resolution learning model used when increasing both the resolution in the main scanning direction and the resolution in the sub-scanning direction of image data. Here, in FIG. 5, the horizontal direction corresponds to the main scanning direction, and the vertical direction corresponds to the sub-scanning direction. The learning data set shown in FIG. 5 is a learning data set used to produce a super-resolution learning model used in super-resolution processing that doubles the resolution in the main scanning direction and doubles the resolution in the sub-scanning direction. For example, when a user selects a resolution of 1200 dpi in the main scanning direction and 1200 dpi in the sub-scanning direction as the acquisition resolution, and a resolution of 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction as the output resolution, the learning data set is used to produce a super-resolution learning model acquired by the input / output management unit 11 from the super-resolution learning model holding unit 24.
[0085] As shown in Figure 5, a learning dataset for producing a super-resolution learning model used when increasing the resolution of image data in the main scanning direction and also increasing the resolution of image data in the sub-scanning direction includes multiple pairs of high-resolution image data HR and low-resolution image data LR whose resolution in the main scanning direction is half that of the high-resolution image data HR in the main scanning direction and whose resolution in the sub-scanning direction is half that of the high-resolution image data HR in the sub-scanning direction.
[0086] Specifically, the low-resolution image data LR is generated by acquiring a base image so that the ratio between the resolution in the main scanning direction and the resolution in the sub-scanning direction is the same as the ratio between the resolution in the main scanning direction and the resolution in the sub-scanning direction set in the image acquisition conditions. Also, the high-resolution image data HR is generated by acquiring a base image so that the resolution in the main scanning direction is the resolution obtained by increasing the resolution in the main scanning direction of the low-resolution image data LR according to the ratio between the resolution set in the main scanning direction as the acquisition resolution and the resolution set in the main scanning direction as the output resolution, and the resolution in the sub-scanning direction is the resolution obtained by increasing the resolution in the sub-scanning direction of the low-resolution image data LR according to the ratio between the resolution set in the sub-scanning direction as the acquisition resolution and the resolution set in the sub-scanning direction as the output resolution. Here, the low-resolution image data LR and the high-resolution image data HR may be generated by acquiring a base image at the resolution of the low-resolution image data LR and the resolution of the high-resolution image data HR described above, or may be generated by acquiring a base image as base image data of an arbitrary resolution and then performing a predetermined image processing.
[0087] The learning data set stores a plurality of image pairs of high-resolution image data HR and low-resolution image data LR generated corresponding to a plurality of base images. Then, by performing machine learning using the learning data set as teacher data, a super-resolution learning model is produced that is used in super-resolution processing to double the resolution in the main scanning direction and double the resolution in the sub-scanning direction.
[0088] That is, the super-resolution learning model is used to produce super-resolution data in which the resolution in the main scanning direction is increased to 2400 dpi and the resolution in the sub-scanning direction is increased to 2400 dpi from image data corresponding to image information acquired at a resolution of 1200 dpi in the sub-scanning direction from an image captured on photographic film based on the acquisition resolution setting by the user, and the resolution in the main scanning direction is increased to 2400 dpi and the resolution in the sub-scanning direction is increased to 2400 dpi based on the acquisition resolution setting by the user. The super-resolution learning model used in super-resolution processing that doubles the resolution in the main scanning direction and doubles the resolution in the sub-scanning direction of image data including image information corresponding to an image captured on photographic film is used in a super-resolution process in which the ratio of the resolution in the main scanning direction to the resolution in the sub-scanning direction is set to 1200 dpi based on the acquisition resolution setting by the user. The ratio is between 1200 dpi, which is the scanning direction resolution, and 1200 dpi, which is the sub-scanning direction resolution selected by the acquisition resolution, and the resolution in the main scanning direction is the same as low-resolution image data LR, and the resolution in the main scanning direction of the low-resolution image data LR is increased in accordance with the ratio between the resolution set in the main scanning direction as the acquisition resolution and the resolution set in the main scanning direction as the output resolution.The resolution in the main scanning direction is increased in accordance with the ratio between the resolution set in the sub-scanning direction as the acquisition resolution and the resolution set in the sub-scanning direction as the output resolution, and is produced by performing machine learning using high-resolution image data HR, which is the resolution in the main scanning direction, as training data.
[0089] Therefore, when producing super-resolution data in which the resolution in the main scanning direction is increased to 2400 dpi and the resolution in the sub-scanning direction is increased to 2400 dpi from image data including image information corresponding to an image captured on a photographic film acquired at a resolution of 1200 dpi in the main scanning direction and 1200 dpi in the sub-scanning direction based on the settings of the acquisition resolution and output resolution included in the image acquisition conditions, the super-resolution processing unit 15 generates low-resolution data in which the ratio of the resolution in the main scanning direction to the resolution in the sub-scanning direction is the ratio of 1200 dpi, which is the resolution in the main scanning direction set by the acquisition resolution, to 1200 dpi, which is the resolution in the sub-scanning direction. Super-resolution data is produced by using as a super-resolution learning model a learning model that has been machine-learned using as teacher data the image data LR, high-resolution image data HR, which is a main scanning direction resolution obtained by increasing the main scanning direction resolution of the low-resolution image data LR in accordance with the ratio between the resolution set in the main scanning direction as the acquisition resolution and the resolution set in the main scanning direction as the output resolution, and a resolution in the main scanning direction obtained by increasing the main scanning direction resolution of the low-resolution image data LR in accordance with the ratio between the resolution set in the sub-scanning direction as the acquisition resolution and the resolution set in the sub-scanning direction as the output resolution, as training data.
[0090] In other words, the super-resolution learning model used in super-resolution processing to produce super-resolution data that increases the resolution in the main scanning direction of image data containing image information corresponding to an image captured on photographic film by n times and increases the resolution in the sub-scanning direction by m times is produced by performing machine learning using, as training data, low-resolution image data LR, whose ratio of the resolution in the main scanning direction to the resolution in the sub-scanning direction is the ratio of the resolution in the main scanning direction to the resolution in the sub-scanning direction set by the acquired resolution, and high-resolution image data HR, whose resolution in the main scanning direction is the resolution obtained by increasing the resolution in the main scanning direction of the low-resolution image data LR by n times and whose resolution in the main scanning direction is the resolution obtained by increasing the resolution in the main scanning direction of the low-resolution image data LR by m times.
[0091] Furthermore, in the image processing system SC of this embodiment, the user selects, as an image acquisition condition, whether the photographic film on which the image for which image information is to be acquired is a negative film or a positive film, and the super-resolution processing unit 15 executes the super-resolution processing using a super-resolution learning model according to the type of photographic film selected by the user. Therefore, the super-resolution learning model holding unit 24 holds a super-resolution learning model for the type of photographic film from which the image is acquired, in which the photographic film is a positive film, and a super-resolution learning model for the type of photographic film from which the image is acquired is a negative film.
[0092] Here, the inventor discovered that the characteristics of noise superimposed on an image differ depending on whether the image was taken on a positive film or a negative film. Specifically, the inventor discovered that an image taken on a positive film has a lot of noise superimposed on the dark areas of the image, whereas an image taken on a negative film has a lot of noise superimposed on the bright areas of the image, particularly in the areas of blue components.
[0093] Therefore, in the image processing system SC of this embodiment, the super-resolution learning model holding unit 24 holds a super-resolution learning model used for image data including image information corresponding to an image shot on a positive film, which are produced by taking into account the above-mentioned differences in characteristics, and a super-resolution learning model used for image data including image information corresponding to an image shot on a negative film, and the super-resolution processing unit 15 uses a super-resolution learning model according to the film type selected by the user as the image acquisition condition to perform super-resolution processing on image data including image information corresponding to an image shot on a photographic film, and produces super-resolution data. This improves the quality of the produced super-resolution data and the super-resolution image generated based on the super-resolution data. Below, a method for producing a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image shot on a positive film and a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image shot on a negative film will be described.
[0094] First, a method for producing a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image captured on a positive film will be described. FIG. 6 is a diagram that illustrates the relationship between image data including image information corresponding to an image captured on a positive film and super-resolution processing. In FIG. 6, the horizontal axis indicates the degree of clarity of the image contour, and the vertical axis indicates the degree of noise superimposed on the image. In FIG. 6, the closer to the right side, the clearer the image contour is, and the closer to the top side, the less noise is superimposed on the image. That is, in FIG. 6, the closer to the top right, the higher the image quality is, and the closer to the bottom left, the lower the image quality is.
[0095] Here, in the following description, the degree of whether the contour is clear or not for image data and super-resolution data is referred to as sharpness, and the degree of noise superimposed on image data and super-resolution data is referred to as noise.The plane in which the sharpness is plotted on the horizontal axis and the noise on the vertical axis as shown in Fig. 6 may be referred to as an sn plane.In addition, in the following description, the sharpness is excellent when the contour is clear, the sharpness is poor when the contour is unclear, the noise is excellent when the noise is small, and the noise is poor when the noise is large.
[0096] As shown in FIG. 6, image data Ip including image information corresponding to an image captured on a positive film is distributed in a large area Film-p in the sn plane. The super-resolution processing unit 15 applies a super-resolution learning model to this image data Ip to produce super-resolution data Sp corresponding to an image captured on a positive film. At this time, it is preferable that the super-resolution data Sp produced based on the image data Ip is located to the upper right of the image data Ip in the sn plane from the viewpoint of improving image quality. Therefore, the super-resolution learning model is required to be a learning model that performs super-resolution processing so that the super-resolution data Sp is located to the upper right of the image data Ip in the sn plane. In other words, the super-resolution learning model is a learning model that improves the sharpness and noise of the image data Ip along the arrow Ap.
[0097] A super-resolution learning model that improves the sharpness and noise of such image data Ip in the direction of the arrow Ap is produced by performing machine learning using a learning dataset that contains multiple image pairs of high-resolution image data HRp and low-resolution image data LRp from a single base image as training data.
[0098] Specifically, the high-resolution image data HRp can be the high-resolution image data HR shown in Figures 4 and 5. The low-resolution image data LRp can be obtained by adding a predetermined noise to the low-resolution image data LR shown in Figures 4 and 5 and applying Gaussian blur. At this time, noise is added to the low-resolution image data LR so that the slope of the straight line Rp connecting the high-resolution image data HRp and the low-resolution image data LRp on the plane shown in Figure 6 is approximately the same as the slope of the arrow Ap described above, and Gaussian blur is applied.
[0099] The above-mentioned application of a predetermined noise to the low-resolution image data LR and the application of Gaussian blur are performed on each of the multiple low-resolution image data LR corresponding to the multiple base images shown in Figures 4 and 5. This generates a learning dataset used to produce a super-resolution learning model that is applied to image data including image information corresponding to an image captured on a positive film. Then, machine learning is performed using the learning dataset including multiple image pairs of high-resolution image data HRp and low-resolution image data LRp as training data, thereby producing a super-resolution learning model that is applied to image data including image information corresponding to an image captured on a positive film.
[0100] That is, the super-resolution learning model corresponding to the positive film is a learning model in which machine learning is performed using high-resolution image data HRp corresponding to the high-resolution image data HR and low-resolution image data LRp obtained by adding noise and Gaussian blur to the low-resolution image data LR as teacher data. When the photographic film is a positive film, the super-resolution processing unit 15 generates super-resolution data using a super-resolution learning model in which machine learning is performed using high-resolution image data HRp corresponding to the high-resolution image data HR and low-resolution image data LRp obtained by adding noise and Gaussian blur to the low-resolution image data LR as teacher data. This improves the image quality of the super-resolution data obtained by performing super-resolution processing on image data including image information corresponding to an image photographed on a positive film, and the super-resolution image based on the super-resolution data.
[0101] Furthermore, it is preferable that the noise added to the low-resolution image data LR included in the learning data set used to produce a super-resolution learning model applied to image data including image information corresponding to an image captured on a positive film has a component similar to the noise superimposed on the dark parts of the image data Ip. This makes it possible to reduce the influence of noise in the dark parts that often superimpose on an image captured on a positive film.
[0102] That is, the super-resolution learning model corresponding to the positive film can use a learning model in which machine learning is performed using high-resolution image data HRp corresponding to the high-resolution image data HR, and low-resolution image data LRp obtained by adding noise of a component similar to the noise superimposed on the dark parts of the image data Ip and Gaussian blur to the low-resolution image data LR as teacher data. As a result, when the photographic film is a positive film, the super-resolution processing unit 15 generates super-resolution data using a super-resolution learning model in which machine learning is performed using high-resolution image data HRp corresponding to the high-resolution image data HR, and low-resolution image data LRp obtained by adding noise of a component similar to the noise superimposed on the dark parts of the image data Ip and Gaussian blur to the low-resolution image data LR as teacher data. As a result, it is possible to reduce the influence of noise in the dark parts that often superimposes on the image captured on the positive film, and as a result, the image quality of the super-resolution data obtained by performing super-resolution processing on image data including image information corresponding to the image captured on the positive film and the super-resolution image based on the super-resolution data is further improved.
[0103] Furthermore, the high-resolution image data HRp included in the learning dataset used to produce a super-resolution learning model applied to image data including image information corresponding to an image captured on a positive film may be generated by applying a bilateral filter to the high-resolution image data HR shown in the above-mentioned Figures 4 and 5. Here, the bilateral filter is a nonlinear filter that can simultaneously remove noise while preserving the contours and edges of an image. By applying such a bilateral filter to the high-resolution image data HR, the effect of noise superimposed on the image of the high-resolution image data HR is reduced, and high-resolution image data HRp with clear contours of the image of the high-resolution image data HR is generated.
[0104] That is, the super-resolution learning model corresponding to the positive film can use a learning model in which machine learning is performed using as teacher data the high-resolution image data HRp in which a bilateral filter is applied to the high-resolution image data HR, and the low-resolution image data LRp in which noise of a component similar to the noise superimposed on the dark parts of the image data Ip and Gaussian blur are applied to the low-resolution image data LR. As a result, when the photographic film is a positive film, the super-resolution processing unit 15 generates super-resolution data using a super-resolution learning model in which machine learning is performed using as teacher data the high-resolution image data HRp in which a bilateral filter is applied to the high-resolution image data HR, and the low-resolution image data LRp in which noise of a component similar to the noise superimposed on the dark parts of the image data Ip and Gaussian blur are applied to the low-resolution image data LR. As a result, the influence of noise superimposed on the image captured on the positive film can be further reduced, and as a result, the image quality of the super-resolution data in which super-resolution processing of image data including image information corresponding to the image captured on the positive film is performed and the super-resolution image based on the super-resolution data is further improved.
[0105] Next, a method for producing a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image captured on a negative film will be described. FIG. 7 is a diagram that illustrates the relationship between image data including image information corresponding to an image captured on a negative film and super-resolution processing. In FIG. 7, the horizontal axis indicates the degree of clarity of the image contour, and the vertical axis indicates the degree of noise superimposed on the image. In FIG. 7, the closer to the right side, the clearer the image contour is, and the closer to the top side, the less noise is superimposed on the image. That is, in FIG. 7, the closer to the top right, the higher the image quality is, and the closer to the bottom left, the lower the image quality is.
[0106] As shown in FIG. 7, image data In including image information corresponding to an image captured on a negative film is distributed more in the area Film-n, which has a lower sense of noise than the area Film-p, in the sn plane. The super-resolution processing unit 15 applies a super-resolution learning model to this image data In to produce super-resolution data Sn corresponding to an image captured on a negative film. At this time, it is preferable that the super-resolution data Sn produced based on the image data In is located in the upper left of the image data In in the sn plane from the viewpoint of improving image quality. Therefore, the super-resolution learning model is required to be a learning model that performs super-resolution processing so that the super-resolution data Sn is located in the upper left of the image data In in the sn plane. In other words, the super-resolution learning model is a learning model that improves the sharpness and noise of the image data In along the arrow An. In this case, since the area Film-n, in which image data In containing image information corresponding to images shot on negative film is abundant, is an area with less noise than the area Film-p, in which image data Ip containing image information corresponding to images shot on positive film is abundant, the inclination of the arrow An indicating the direction in which the sharpness and noisiness of the image data In are improved is steeper than the inclination of the arrow Ap indicating the direction in which the sharpness and noisiness of the image data Ip are improved.
[0107] A super-resolution learning model that improves the sharpness and noise of such image data In along the arrow An is produced by performing machine learning using a learning dataset that contains multiple image pairs of high-resolution image data HRn and low-resolution image data LRn from a single base image as training data.
[0108] Specifically, the high-resolution image data HRn can be the high-resolution image data HR shown in Figures 4 and 5. The low-resolution image data LRn can be obtained by adding a predetermined noise to the low-resolution image data LR shown in Figures 4 and 5 and applying Gaussian blur. At this time, noise is added to the low-resolution image data LR so that the slope of the straight line Rn connecting the high-resolution image data HRn and the low-resolution image data LRn on the plane shown in Figure 7 is approximately the same as the slope of the arrow An described above, and Gaussian blur is applied.
[0109] Also, as described above, the inclination of the arrow An indicating the direction in which the sharpness and noisiness of the image data In are improved is steeper than the inclination of the arrow Ap indicating the direction in which the sharpness and noisiness of the image data Ip are improved. Therefore, the noise and the degree of Gaussian blurring applied to the low-resolution image data LR shown in Figures 4 and 5 described above to generate the low-resolution image data LRn are smaller than the noise and the degree of Gaussian blurring applied to the low-resolution image data LR shown in Figures 4 and 5 described above to generate the low-resolution image data LRp.
[0110] The above-mentioned application of a predetermined noise to the low-resolution image data LR and the application of Gaussian blur are performed on each of the multiple low-resolution image data LR corresponding to the multiple base images shown in Figures 4 and 5. This generates a learning dataset used to produce a super-resolution learning model that is applied to image data including image information corresponding to an image taken on a negative film. Then, machine learning is performed using the learning dataset including multiple image pairs of high-resolution image data HRn and low-resolution image data LRn as training data, thereby producing a super-resolution learning model that is applied to image data including image information corresponding to an image taken on a negative film.
[0111] That is, the super-resolution learning model corresponding to the negative film is a learning model in which machine learning is performed using high-resolution image data HRn corresponding to the high-resolution image data HR and low-resolution image data LRn obtained by adding noise and Gaussian blur to the low-resolution image data LR as teacher data. When the photographic film is a negative film, the super-resolution processing unit 15 generates super-resolution data using a super-resolution learning model in which machine learning is performed using high-resolution image data HRn corresponding to the high-resolution image data HR and low-resolution image data LRn obtained by adding noise and Gaussian blur to the low-resolution image data LR as teacher data. This improves the image quality of the super-resolution data obtained by performing super-resolution processing on image data including image information corresponding to an image captured on a negative film, and the super-resolution image based on the super-resolution data.
[0112] Furthermore, it is preferable that the noise added to the low-resolution image data LR included in the learning data set used to produce a super-resolution learning model applied to image data including image information corresponding to an image taken on a negative film is the same as the noise superimposed on the bright part of the image data In, particularly the blue component among the color components of the image. This makes it possible to reduce the influence of noise in the dark parts that often superimpose on an image taken on a negative film.
[0113] That is, the super-resolution learning model corresponding to the negative film can use a learning model in which machine learning is performed using high-resolution image data HRn equivalent to the high-resolution image data HR, and low-resolution image data LRn obtained by adding noise of a component similar to the noise superimposed on the bright part of the image data In, particularly in the region of the blue component, and Gaussian blurring to the low-resolution image data LR. As a result, when the photographic film is a negative film, the super-resolution processing unit 15 generates super-resolution data using a super-resolution learning model in which machine learning is performed using high-resolution image data HRn equivalent to the high-resolution image data HR, and low-resolution image data LRn obtained by adding noise of a component similar to the noise superimposed on the dark part of the image data In and Gaussian blurring to the low-resolution image data LR, as teacher data. This makes it possible to reduce the effects of noise that superimposes on bright areas, particularly in areas of blue components, that tend to overlap with images captured on negative film, thereby further improving the image quality of super-resolution data obtained by performing super-resolution processing on image data that includes image information corresponding to images captured on negative film, and of super-resolution images based on the super-resolution data.
[0114] Furthermore, the high-resolution image data HRn included in the learning dataset used to produce a super-resolution learning model applied to image data including image information corresponding to an image captured on a negative film may be generated by applying a bilateral filter to the high-resolution image data HR shown in Figures 4 and 5 described above. By applying such a bilateral filter to the high-resolution image data HR, the effect of noise superimposed on the image of the high-resolution image data HR is reduced, and high-resolution image data HRn with clearer contours of the image of the high-resolution image data HR is generated.
[0115] That is, the super-resolution learning model corresponding to the negative film can use a learning model in which machine learning is performed using as teacher data high-resolution image data HRn obtained by applying a bilateral filter to the high-resolution image data HR, and low-resolution image data LRn obtained by adding noise of a component similar to the noise superimposed on the bright part of the image data In, particularly in the region of the blue component, and Gaussian blur to the low-resolution image data LR. As a result, when the photographic film is a negative film, the super-resolution processing unit 15 generates super-resolution data using a super-resolution learning model in which machine learning is performed using as teacher data high-resolution image data HRn obtained by applying a bilateral filter to the high-resolution image data HR, and low-resolution image data LRn obtained by adding noise of a component similar to the noise superimposed on the bright part of the image data In, particularly in the region of the blue component, and Gaussian blur to the low-resolution image data LR. This makes it possible to further reduce the effects of noise superimposed on images captured on negative film, thereby further improving the image quality of super-resolution data obtained by performing super-resolution processing on image data containing image information corresponding to images captured on negative film, and of super-resolution images based on the super-resolution data.
[0116] As described above, of the super-resolution learning models used in the image processing system SC of this embodiment, the super-resolution learning model used when the photographic film on which an image is taken is positive film is produced by performing machine learning using as training data the learning data set in which noise corresponding to the characteristics of positive film is superimposed on the learning data set shown in Figures 4 and 5, and of the super-resolution learning models used in the image processing system SC of this embodiment, the super-resolution learning model used when the photographic film on which an image is taken is negative film is produced by performing machine learning using as training data the learning data set in which noise corresponding to the characteristics of negative film is superimposed on the learning data set shown in Figures 4 and 5.
[0117] This allows the super-resolution processor 15 of the image processing system SC of this embodiment to execute super-resolution processing using a super-resolution learning model corresponding to the type of photographic film from which the image data to be processed by super-resolution processing was obtained. As a result, the image quality of the super-resolution data produced by the super-resolution processor 15 and the super-resolution image corresponding to the super-resolution data is improved.
[0118] Here, in the above explanation, it has been explained that the super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image taken on a positive film is produced by adding noise according to the characteristics of the positive film and applying Gaussian blur to each of the multiple high-resolution image data HR and multiple low-resolution image data LR included in the learning datasets shown in Figures 4 and 5 to generate multiple high-resolution image data HRp and multiple low-resolution image data LRp, and performing machine learning using the learning dataset including the generated multiple high-resolution image data HRp and multiple low-resolution image data LRp as teacher data. However, the learning dataset used in producing the super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image taken on a positive film is not limited to this, and may be produced by including multiple high-resolution image data HRp and multiple low-resolution image data LRp according to the characteristics of the positive film.
[0119] Therefore, for example, a learning dataset used to produce a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image photographed on a positive film may include image data of one base image photographed on a positive film read at the resolution of the low-resolution image data LR shown in Fig. 4 or Fig. 5 as low-resolution image data LRp, and image data read at the resolution of the high-resolution image data HR shown in Fig. 4 or Fig. 5 as high-resolution image data HRp. That is, a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image photographed on a positive film may be produced by performing machine learning using a learning dataset including low-resolution image data LRp read at the resolution of the low-resolution image data LR shown in Fig. 4 or Fig. 5 and high-resolution image data HRp read at the resolution of the high-resolution image data HR shown in Fig. 4 or Fig. 5 as teacher data.
[0120] In other words, the super-resolution processing unit 15 may perform super-resolution processing on image data including image information corresponding to an image taken on a positive film, using a super-resolution learning model in which machine learning has been performed using as training data low-resolution image data LRp obtained by reading image data obtained by reading an image taken on a positive film or developed image data obtained by developing an image taken on a positive film at the resolution of the low-resolution image data LR shown in Figure 4 or Figure 5, and high-resolution image data HRp obtained by reading image data obtained by reading an image taken on a positive film or developed image data obtained by developing an image taken on a positive film at the resolution of the high-resolution image data HR shown in Figure 4 or Figure 5.
[0121] Similarly, in the above explanation, the super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image taken on a negative film is produced by adding noise according to the characteristics of the negative film and applying Gaussian blur to each of the multiple high-resolution image data HR and multiple low-resolution image data LR included in the learning datasets shown in Figures 4 and 5 to generate multiple high-resolution image data HRn and multiple low-resolution image data LRn, and performing machine learning using the learning dataset including the generated multiple high-resolution image data HRn and multiple low-resolution image data LRn as teacher data. However, the learning dataset used in producing the super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image taken on a negative film is not limited to this, and may be produced by including multiple high-resolution image data HRn and multiple low-resolution image data LRn according to the characteristics of the negative film.
[0122] Therefore, for example, a learning dataset used to produce a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image taken on a negative film may include image data of one base image taken on a negative film read at the resolution of low-resolution image data LR shown in Fig. 4 or Fig. 5 as low-resolution image data LRn, and image data read at the resolution of high-resolution image data HR shown in Fig. 4 or Fig. 5 as high-resolution image data HRn. That is, a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image taken on a negative film may be produced by performing machine learning using a learning dataset including low-resolution image data LRn read at the resolution of low-resolution image data LR shown in Fig. 4 or Fig. 5 and high-resolution image data HRn read at the resolution of high-resolution image data HR shown in Fig. 4 or Fig. 5 as teacher data.
[0123] In other words, the super-resolution processing unit 15 may perform super-resolution processing on image data including image information corresponding to an image taken on a negative film, using a super-resolution learning model in which machine learning has been performed using as training data low-resolution image data LRn obtained by reading image data obtained by reading an image taken on a negative film or developed image data obtained by developing an image taken on a negative film at the resolution of the low-resolution image data LR shown in Figure 4 or Figure 5, and high-resolution image data HRn obtained by reading image data obtained by reading an image taken on a negative film or developed image data obtained by developing an image taken on a negative film at the resolution of the high-resolution image data HR shown in Figure 4 or Figure 5.
[0124] Furthermore, in the image processing system SC of this embodiment, the user sets super-resolution data and the degree of edge enhancement of the super-resolution image corresponding to the super-resolution data as image acquisition conditions. As a result, the super-resolution processing unit 15 executes super-resolution processing using a super-resolution learning model corresponding to the degree of edge enhancement selected by the user. Therefore, the super-resolution learning model holding unit 24 holds a plurality of super-resolution learning models corresponding to the super-resolution data and the degree of edge enhancement of the super-resolution image corresponding to the super-resolution data.
[0125] Therefore, a method for producing a super-resolution learning model corresponding to the degree of edge enhancement of super-resolution data will be described. Fig. 8 is a diagram showing a relationship between the degree of edge enhancement of super-resolution data corresponding to an image captured on a positive film and super-resolution processing. In Fig. 8, the horizontal axis indicates the degree of clarity of the edge of the image, and the vertical axis indicates the degree of noise superimposed on the image. In Fig. 8, the further to the right the image is located, the clearer the edge of the image is, and the higher the image is located, the less noise is superimposed on the image.
[0126] When "0" is selected as "edge emphasis" by the user's setting of the image acquisition conditions, the super-resolution processing unit 15 does not perform image processing for edge emphasis on the super-resolution image based on the super-resolution data. At this time, the super-resolution processing unit 15 produces super-resolution data Sp with the resolution of the image data Ip increased by performing super-resolution processing using a super-resolution learning model in which machine learning is performed using a learning data set including high-resolution image data HRp and low-resolution image data LRp as teacher data, on image data Ip including image information corresponding to an image captured on a positive film. That is, the super-resolution learning model in which "0" is selected as "edge emphasis" and in which machine learning is performed using a learning data set including high-resolution image data HRp and low-resolution image data LRp as teacher data improves the sharpness and noise of the image data Ip along the arrow Ap shown in FIG. 8.
[0127] In contrast, when "+1" or "+2" is selected as "contour emphasis" by the user's setting of the image acquisition conditions, it is required to make the contour of the super-resolution data Sp clearer. In other words, when "+1" or "+2" is selected as "contour emphasis" by the user's setting of the image acquisition conditions, the super-resolution processing unit 15 is required to produce super-resolution data Sp+ with the resolution of the image data Ip increased by performing super-resolution processing on the image data Ip including image information corresponding to the image captured on a positive film. Therefore, the super-resolution learning model when "+1" or "+2" is selected as "contour emphasis" by the user's setting of the image acquisition conditions is a learning model that improves the sharpness and noise of the image data Ip along the arrow Ap+.
[0128] A super-resolution learning model that improves the sharpness and noise of such image data Ip along the arrow Ap+ is produced by performing machine learning using a learning dataset that contains multiple image pairs of high-resolution image data HRp and low-resolution image data LRp+ from a single base image as training data.
[0129] Specifically, the high-resolution image data HRp can be the high-resolution image data HRp included in the learning data set used to produce a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image photographed on a positive film as described above. On the other hand, the low-resolution image data LRp+ is generated by adding noise to the low-resolution image data LRp included in the learning data set used to produce a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image photographed on a positive film, so that the slope of the straight line Rp+ connecting the high-resolution image data HRp and the low-resolution image data LRp+ on the plane shown in Figure 8 is approximately the same as the slope of the arrow Ap+ described above, and applying Gaussian blur.
[0130] The above-mentioned addition of a predetermined noise to the low-resolution image data LRp and the application of Gaussian blur are performed on each of the multiple low-resolution image data LRp included in the learning data set used to produce a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to the image captured on the above-mentioned positive film. This generates a learning data set used to produce a super-resolution learning model that is applied when producing super-resolution data with enhanced edges from image data including image information corresponding to the image captured on the positive film. Then, machine learning is performed using the learning data set including multiple image pairs of high-resolution image data HRp and low-resolution image data LRp+ as teacher data to increase the resolution of image data including image information corresponding to the image captured on the positive film and to produce a super-resolution learning model that is applied when enhancing edges.
[0131] That is, the super-resolution learning model applied when increasing the resolution of image data corresponding to a positive film and emphasizing the contour is a learning model in which machine learning is performed using high-resolution image data HRp corresponding to the high-resolution image data HR and low-resolution image data LRp+ obtained by further adding noise and Gaussian blur to the low-resolution image data LRp as training data when the photographic film is a positive film, and when increasing the resolution of image data corresponding to the positive film and emphasizing the contour, the super-resolution processing unit 15 generates super-resolution data using a super-resolution learning model in which machine learning is performed using high-resolution image data HRp and low-resolution image data LRp+ obtained by further adding noise and Gaussian blur to the low-resolution image data LRp as training data.
[0132] Furthermore, when "-1" or "-2" is selected as "contour emphasis" by the user's setting of the image acquisition conditions, it is required to make the contour of the super-resolution data Sp more vague. In other words, when "-1" or "-2" is selected as "contour emphasis" by the user's setting of the image acquisition conditions, the super-resolution processing unit 15 is required to produce super-resolution data Sp- with the resolution of the image data Ip increased by performing super-resolution processing on image data Ip including image information corresponding to an image captured on a positive film. Therefore, the super-resolution learning model when "-1" or "-2" is selected as "contour emphasis" by the user's setting of the image acquisition conditions is a learning model that improves the sharpness and noise of the image data Ip along the arrow Ap-.
[0133] A super-resolution learning model that improves the sharpness and noise of such image data Ip along the arrow Ap- is produced by performing machine learning using a learning dataset that contains multiple image pairs of high-resolution image data HRp and low-resolution image data LRp- from a single base image as training data.
[0134] Specifically, the high-resolution image data HRp can be the high-resolution image data HRp included in the learning data set used to produce a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image photographed on a positive film as described above. On the other hand, the low-resolution image data LRp- is generated by reducing the noise added to the low-resolution image data LRp included in the learning data set used to produce a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image photographed on a positive film, so that the slope of the straight line Rp- connecting the high-resolution image data HRp and the low-resolution image data LRp- on the plane shown in Figure 8 is approximately the same as the slope of the arrow Ap- described above, and reducing the degree of Gaussian blurring applied.
[0135] The reduction of noise added to the low-resolution image data LRp and the reduction of the degree of Gaussian blur applied are performed on each of the plurality of low-resolution image data LRp included in the learning data set used to produce a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image captured on a positive film. This generates a learning data set used to produce a super-resolution learning model that is applied when producing super-resolution data with enhanced contours from image data including image information corresponding to an image captured on a positive film. Then, machine learning is performed using the learning data set including a plurality of image pairs of high-resolution image data HRp and low-resolution image data LRp- as teacher data to increase the resolution of image data including image information corresponding to an image captured on a positive film and to produce a super-resolution learning model that is applied when blurring contours.
[0136] That is, the super-resolution learning model applied when increasing the resolution of image data corresponding to a positive film and blurring the contour is a learning model in which machine learning is performed using high-resolution image data HRp corresponding to the high-resolution image data HR and low-resolution image data LRp- in which noise added to the low-resolution image data LRp is reduced and the degree of Gaussian blurring applied is reduced as training data when the photographic film is a positive film, and the super-resolution processing unit 15 generates super-resolution data using a super-resolution learning model in which machine learning is performed using high-resolution image data HRp and low-resolution image data LRp- in which noise added to the low-resolution image data LRp is reduced and the degree of Gaussian blurring applied is reduced as training data when the photographic film is a positive film and increasing the resolution of image data corresponding to the positive film and blurring the contour.
[0137] As described above, when the super-resolution processing unit 15 inputs "+1" or "+2" as the contour enhancement set by the user as the image acquisition condition and the input / output management unit 11 acquires "+1" or "+2" as the contour enhancement as the image acquisition condition, the super-resolution processing unit 15 generates super-resolution data using a super-resolution learning model in which machine learning has been performed using as teacher data the high-resolution image data HRp and the low-resolution image data LRp+ in which image processing according to "+1" or "+2" as the contour enhancement has been performed on the low-resolution image data LRp; when the super-resolution processing unit 15 inputs "-1" or "-2" as the contour enhancement set by the user as the image acquisition condition and the input / output management unit 11 acquires "-1" or "-2" as the contour enhancement as the image acquisition condition, the super-resolution processing unit 15 generates super-resolution data using a super-resolution learning model in which machine learning has been performed using as teacher data the high-resolution image data HRp and the low-resolution image data LRp- in which image processing according to "-1" or "-2" as the contour enhancement has been performed on the low-resolution image data LRp.
[0138] Therefore, the super-resolution processing unit 15 uses a super-resolution learning model in which machine learning has been performed using as training data low-resolution image data LRp obtained by reading image data obtained by reading an image captured on a positive film or developed image data obtained by developing an image captured on a positive film at the resolution of the low-resolution image data LR shown in FIG. 4 or FIG. 5, and high-resolution image data HRn obtained by reading image data obtained by reading an image captured on a positive film or developed image data obtained by developing an image captured on a positive film at the resolution of the high-resolution image data HR shown in FIG. 4 or FIG. When performing super-resolution processing on image data including image information corresponding to an image photographed with a positive film, if the user inputs "+1" or "+2" as the edge enhancement set as the image acquisition condition and the input / output management unit 11 acquires "+1" or "+2" as the edge enhancement as the image acquisition condition, the super-resolution processing unit 15 converts the image data obtained by reading the image photographed with a positive film or the developed image data obtained by developing the image photographed with a positive film into low-resolution image data LRp read at the resolution of the low-resolution image data LR shown in FIG. 4 or FIG. 5. The low-resolution image data LRp+ is subjected to image processing according to "+1" or "+2" as the edge enhancement, and the image data obtained by reading an image captured on a positive film or the developed image data obtained by developing an image captured on a positive film is read at the resolution of the high-resolution image data HR shown in FIG. 4 or FIG. 5 as training data, and a super-resolution learning model is used to perform machine learning to produce super-resolution data with enhanced edges. The user inputs "-1" or "-2" as the edge enhancement set as the image acquisition condition, and the input / output management unit 11 outputs the image When "-1" or "-2" is acquired as the acquisition condition for edge emphasis, the super-resolution processing unit 15 performs image processing according to "-1" or "-2" as edge emphasis on low-resolution image data LRp read at the resolution of low-resolution image data LR shown in FIG. 4 or FIG. 5 using image data obtained by reading an image captured with a positive film or developed image data obtained by developing an image captured with a positive film, to generate low-resolution image data LRp+, and performs image processing according to "-1" or "-2" as edge emphasis on image data obtained by reading an image captured with a positive film or developed image data obtained by developing an image captured with a positive film, to generate low-resolution image data LRp+.Alternatively, high-resolution image data HRp read at the resolution of the high-resolution image data HR shown in FIG. 5 is used as training data to perform machine learning to produce super-resolution data with enhanced contours.
[0139] Fig. 9 is a diagram showing the relationship between the degree of edge enhancement of super-resolution data corresponding to an image captured on a negative film and super-resolution processing. In Fig. 9, the horizontal axis indicates the degree of clarity of the edge of the image, and the vertical axis indicates the degree of noise superimposed on the image. In Fig. 9, the further to the right the image is located, the clearer the edge of the image is, and the further up the image is located, the less noise is superimposed on the image.
[0140] When "0" is selected as "edge emphasis" by the user's setting of the image acquisition conditions, the super-resolution processing unit 15 does not perform image processing for edge emphasis on the super-resolution image based on the super-resolution data. At this time, the super-resolution processing unit 15 produces super-resolution data Sn with the resolution of the image data In increased by performing super-resolution processing using a super-resolution learning model in which machine learning is performed using a learning dataset including high-resolution image data HRn and low-resolution image data LRn as teacher data for image data In including image information corresponding to an image captured on a negative film. That is, the super-resolution learning model in which "0" is selected as "edge emphasis" and in which machine learning is performed using a learning dataset including high-resolution image data HRn and low-resolution image data LRn as teacher data improves the sharpness and noise of the image data In along the arrow An shown in FIG. 9.
[0141] In contrast, when "+1" or "+2" is selected as "contour emphasis" by the user's setting of the image acquisition conditions, it is required to make the contour of the super-resolution data Sn clearer. In other words, when "+1" or "+2" is selected as "contour emphasis" by the user's setting of the image acquisition conditions, the super-resolution processing unit 15 is required to produce super-resolution data Sn+ with the resolution of the image data In increased by performing super-resolution processing on the image data In including image information corresponding to an image captured on a negative film. Therefore, the super-resolution learning model when "+1" or "+2" is selected as "contour emphasis" by the user's setting of the image acquisition conditions is a learning model that improves the sharpness and noise of the image data In along the arrow An+.
[0142] A super-resolution learning model that improves the sharpness and noise of such image data In along the arrow An+ is produced by performing machine learning using a learning dataset that contains multiple image pairs of high-resolution image data HRn and low-resolution image data LRn+ from a single base image as training data.
[0143] Specifically, the high-resolution image data HRn can be the high-resolution image data HRn included in the learning data set used to produce a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image captured on a negative film. On the other hand, the low-resolution image data LRn+ is generated by adding noise to the low-resolution image data LRn included in the learning data set used to produce a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image captured on a negative film, so that the slope of the straight line Rn+ connecting the high-resolution image data HRn and the low-resolution image data LRn+ on the plane shown in Figure 9 is approximately the same as the slope of the arrow An+ described above, and applying Gaussian blur.
[0144] The above-mentioned addition of a predetermined noise to the low-resolution image data LRn and the application of Gaussian blur are performed on each of the plurality of low-resolution image data LRn included in the learning data set used to produce a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image captured on a negative film. This generates a learning data set used to produce a super-resolution learning model that is applied when producing super-resolution data with enhanced edges from image data including image information corresponding to an image captured on a negative film. Then, machine learning is performed using the learning data set including a plurality of image pairs of high-resolution image data HRn and low-resolution image data LRn+ as teacher data, thereby increasing the resolution of image data including image information corresponding to an image captured on a negative film and producing a super-resolution learning model that is applied when enhancing edges.
[0145] That is, the super-resolution learning model applied when increasing the resolution of image data corresponding to a negative film and emphasizing the contour is a learning model in which machine learning is performed using high-resolution image data HRn equivalent to the high-resolution image data HR and low-resolution image data LRn+ obtained by further adding noise and Gaussian blur to the low-resolution image data LRn as teacher data. When the photographic film is a negative film, the super-resolution processing unit 15 generates super-resolution data using a super-resolution learning model in which machine learning is performed using high-resolution image data HRn and low-resolution image data LRn+ obtained by further adding noise and Gaussian blur to the low-resolution image data LRn as teacher data when increasing the resolution of image data corresponding to a negative film and emphasizing the contour.
[0146] Furthermore, when "-1" or "-2" is selected as "contour emphasis" by the user's setting of the image acquisition conditions, it is required to make the contour of the super-resolution data Sn more vague. That is, when "-1" or "-2" is selected as "contour emphasis" by the user's setting of the image acquisition conditions, the super-resolution processing unit 15 is required to produce super-resolution data Sn- with the resolution of the image data In increased by performing super-resolution processing on the image data In including image information corresponding to an image captured on a negative film. Therefore, the super-resolution learning model when "-1" or "-2" is selected as "contour emphasis" by the user's setting of the image acquisition conditions is a learning model that improves the sharpness and noise of the image data In along the arrow An-.
[0147] A super-resolution learning model that improves the sharpness and noise of such image data In along the arrow An- is produced by performing machine learning using a learning dataset that contains multiple image pairs of high-resolution image data HRn and low-resolution image data LRn- from a single base image as training data.
[0148] Specifically, the high-resolution image data HRn can be the high-resolution image data HRn included in the learning data set used to produce a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image captured on a negative film. On the other hand, the low-resolution image data LRn- is generated by reducing the noise added to the low-resolution image data LRn included in the learning data set used to produce a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image captured on a negative film, so that the slope of the straight line Rn- connecting the high-resolution image data HRn and the low-resolution image data LRn- on the plane shown in Figure 9 is approximately the same as the slope of the arrow An- described above, and reducing the degree of Gaussian blurring applied.
[0149] The reduction of noise added to the low-resolution image data LRn and the reduction of the degree of Gaussian blur applied to the low-resolution image data LRn described above are performed on each of the multiple low-resolution image data LRn included in the learning dataset used to produce a super-resolution learning model that performs super-resolution processing on image data including image information corresponding to an image captured on a negative film. This generates a learning dataset used to produce a super-resolution learning model that is applied when producing super-resolution data with enhanced contours from image data including image information corresponding to an image captured on a negative film. Then, by performing machine learning using the learning dataset including multiple image pairs of high-resolution image data HRn and low-resolution image data LRn- as teacher data, a super-resolution learning model that is applied when increasing the resolution of image data including image information corresponding to an image captured on a negative film and blurring the contours is produced.
[0150] That is, the super-resolution learning model applied when increasing the resolution of image data corresponding to a negative film and blurring the contour is a learning model in which machine learning is performed using high-resolution image data HRn corresponding to the high-resolution image data HR and low-resolution image data LRn- in which the noise added to the low-resolution image data LRn is reduced and the degree of Gaussian blurring applied is reduced as training data when the photographic film is a negative film, and the super-resolution processing unit 15 generates super-resolution data using a super-resolution learning model in which machine learning is performed using high-resolution image data HRn and low-resolution image data LRn- in which the noise added to the low-resolution image data LRn is reduced and the degree of Gaussian blurring applied is reduced as training data when the photographic film is a negative film and increasing the resolution of image data corresponding to a negative film and blurring the contour.
[0151] As described above, when the super-resolution processing unit 15 inputs "+1" or "+2" as the contour enhancement set by the user as the image acquisition condition and the input / output management unit 11 acquires "+1" or "+2" as the contour enhancement as the image acquisition condition, the super-resolution processing unit 15 generates super-resolution data using a super-resolution learning model in which machine learning has been performed using as teacher data the high-resolution image data HRn and the low-resolution image data LRn+ in which image processing according to "+1" or "+2" as the contour enhancement has been performed on the low-resolution image data LRn; when the super-resolution processing unit 15 inputs "-1" or "-2" as the contour enhancement set by the user as the image acquisition condition and the input / output management unit 11 acquires "-1" or "-2" as the contour enhancement as the image acquisition condition, the super-resolution processing unit 15 generates super-resolution data using a super-resolution learning model in which machine learning has been performed using as teacher data the high-resolution image data HRn and the low-resolution image data LRn- in which image processing according to "-1" or "-2" as the contour enhancement has been performed on the low-resolution image data LRn.
[0152] Therefore, the super-resolution processing unit 15 uses a super-resolution learning model in which machine learning has been performed using as training data low-resolution image data LRn obtained by reading image data obtained by reading an image shot on a negative film or developed image data obtained by developing an image shot on a negative film at the resolution of the low-resolution image data LR shown in FIG. 4 or FIG. 5, and high-resolution image data HRn obtained by reading image data obtained by reading an image shot on a negative film or developed image data obtained by developing an image shot on a negative film at the resolution of the high-resolution image data HR shown in FIG. 4 or FIG. When performing super-resolution processing on image data including image information corresponding to an image taken on a negative film, if the user inputs "+1" or "+2" as the edge enhancement set as the image acquisition condition and the input / output management unit 11 acquires "+1" or "+2" as the edge enhancement as the image acquisition condition, the super-resolution processing unit 15 converts the image data obtained by reading an image taken on a negative film or the developed image data obtained by developing an image taken on a negative film into low-resolution image data LRn read at the resolution of the low-resolution image data LR shown in FIG. 4 or FIG. 5. The low-resolution image data LRn+ is subjected to image processing according to "+1" or "+2" as the edge enhancement, and the image data obtained by reading an image taken on a negative film or the developed image data obtained by developing an image taken on a negative film is read at the resolution of the high-resolution image data HR shown in FIG. 4 or FIG. 5 as training data, and a super-resolution learning model is used to perform machine learning to produce super-resolution data with enhanced edges. The user inputs "-1" or "-2" as the edge enhancement set as the image acquisition condition, and the input / output management unit 11 outputs the image When "-1" or "-2" is acquired as the acquisition condition for edge emphasis, the super-resolution processing unit 15 performs image processing according to "-1" or "-2" as edge emphasis on low-resolution image data LRn read from image data obtained by reading an image taken with a negative film or developed image data obtained by developing an image taken with a negative film at the resolution of low-resolution image data LR shown in FIG. 4 or FIG. 5 to obtain low-resolution image data LRn+, and performs image processing according to "-1" or "-2" as edge emphasis on image data obtained by reading from an image taken with a negative film or developed image data obtained by developing an image taken with a negative film, as shown in FIG.Alternatively, high-resolution image data HRn read at the resolution of the high-resolution image data HR shown in FIG. 5 is used as training data to perform machine learning on a super-resolution learning model, and super-resolution data with enhanced contours is produced.
[0153] In other words, the super-resolution processing unit 15 produces super-resolution data in which the resolution of image data including image information corresponding to an image shot on negative film is increased using a super-resolution learning model in accordance with the contour enhancement set by the user as an image acquisition condition and acquired by the input / output management unit 11, and produces super-resolution data in which the resolution of image data including image information corresponding to an image shot on positive film is increased using a super-resolution learning model in accordance with the contour enhancement set by the user as an image acquisition condition and acquired by the input / output management unit 11.
[0154] Here, image data including image information corresponding to an image captured on photographic film is an example of photographic data, the above image data when the photographic film is a negative film is an example of negative data, the above image data when the photographic film is a positive film is an example of positive data, the "film type" included in the image acquisition conditions that select whether the photographic film is a positive film or a negative film is an example of film information, the input / output management unit 11 is an example of an acquisition unit, the super-resolution processing unit 15 is an example of a super-resolution data production unit, and the image processing unit 1 including the input / output management unit 11 and the super-resolution processing unit 15 is an example of an image processing device.
[0155] In addition, the super-resolution learning model used for super-resolution processing when the type of photographic film selected by "film type" is negative film is an example of a first learning model, and the super-resolution learning model used for super-resolution processing when the type of photographic film selected by "film type" is positive film is an example of a second learning model, and "contour enhancement" included in the image acquisition conditions that select the super-resolution data and the degree of contour enhancement of the super-resolution image according to the super-resolution data is an example of an image adjustment parameter, and the selected value of the image adjustment parameter "contour enhancement" is either "+1" or "+2", which is an example of first information, and the selected value of the image adjustment parameter "contour enhancement" is either "-1" or "-2", which is an example of second information.
[0156] Also, the low-resolution image data LRn is an example of the first image data, the high-resolution image data HRn is an example of the second image data, the low-resolution image data LRp is an example of the third image data, the high-resolution image data HRp is an example of the fourth image data, the low-resolution image data LRp+ is an example of the first processed image data, and the low-resolution image data LRp- is an example of the second processed image data. Also, the resolution of the low-resolution image data LRn is an example of the first resolution, the resolution of the high-resolution image data HRn is an example of the second resolution, the resolution of the low-resolution image data LRp is an example of the third resolution, and the resolution of the high-resolution image data HRp is an example of the fourth resolution.
[0157] Step S23 of acquiring photographic data from the photographic film is an example of an acquisition process and an acquisition step, steps S31, S32, and S33 of acquiring image data and image acquisition conditions are an example of a judgment process and a judgment step, and step S34 in which super-resolution processor 15 executes super-resolution processing is an example of a super-resolution data production process and a super-resolution data production step. The operations of image processing system SC and image processor 1, including steps S31 to S34, correspond to a method of producing super-resolution data.
[0158] 4. Effects As described above, in the image processing system SC of this embodiment, the super-resolution processing unit 15 performs super-resolution processing on image data including image information corresponding to an image shot on negative film using a super-resolution learning model corresponding to negative film, thereby producing super-resolution data in which the resolution of the image data including image information corresponding to an image shot on negative film has been increased, and performs super-resolution processing on image data including image information corresponding to an image shot on positive film using a super-resolution learning model corresponding to positive film, thereby producing super-resolution data in which the resolution of the image data including image information corresponding to an image shot on positive film has been increased.
[0159] That is, in the image processing system SC of this embodiment, in steps S31, S32, and S33, image data including image information corresponding to an image captured on photographic film and a film type indicating whether the image data is image data captured on negative film or image data captured on positive film are acquired, and then in step S34, super-resolution processing is performed on the image data including image information corresponding to an image captured on negative film using a super-resolution learning model corresponding to negative film to produce super-resolution data in which the resolution of the image data including image information corresponding to an image captured on negative film is increased, and super-resolution processing is performed on the image data including image information corresponding to an image captured on positive film using a super-resolution learning model corresponding to positive film to produce super-resolution data in which the resolution of the image data including image information corresponding to an image captured on positive film is increased.
[0160] In addition, the image processing program held in the image processing program holding unit 27, in steps S31, S32, and S33, causes the CPU 10 to acquire image data including image information corresponding to an image captured on photographic film and a film type indicating whether the image data is image data captured on a negative film or image data captured on a positive film, and then, in step S34, causes the CPU 10 to perform super-resolution processing on the image data including image information corresponding to an image captured on a negative film using a super-resolution learning model corresponding to a negative film, thereby increasing the resolution of the image data including image information corresponding to an image captured on a negative film to produce super-resolution data, and causes the image data including image information corresponding to an image captured on a positive film to perform super-resolution processing on the image data including image information corresponding to an image captured on a positive film using a super-resolution learning model corresponding to a positive film, thereby increasing the resolution of the image data including image information corresponding to an image captured on a positive film to produce super-resolution data.
[0161] For example, the characteristics of the noise superimposed on an image captured on a positive film are different from those of an image captured on a negative film. In response to this, the image processing system SC and the image processing program of the present embodiment select different super-resolution learning models depending on whether the photographic film on which the image is formed is a positive film or a negative film, and execute super-resolution processing, so that for an image captured on a positive film, super-resolution processing can be executed that takes into account the noise characteristics superimposed on an image captured on a positive film, and for an image captured on a negative film, super-resolution processing can be executed that takes into account the noise characteristics superimposed on an image captured on a negative film. This improves the image quality of the super-resolution data produced by the image processing system SC and the super-resolution image corresponding to the super-resolution data.
[0162] In addition, in the image processing system SC of this embodiment, in accordance with the high-resolution acquisition mode in which the sensor unit 54 is controlled to acquire images at a resolution of 1200 dpi along the main scanning direction and 2400 dpi along the sub-scanning direction, the super-resolution processing unit 15 produces super-resolution data in which the resolution of image data including image information corresponding to an image captured on photographic film acquired at a resolution of 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction is increased to a resolution of 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, using a super-resolution learning model corresponding to the high-resolution acquisition mode, which is selected when a combination of resolutions is selected in which the acquisition resolution is 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction and an output resolution is 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction.
[0163] That is, in the image processing system SC of this embodiment, in steps S31, S32, and S33, image data including image information corresponding to an image captured on photographic film and image acquisition conditions are acquired in which a combination of resolutions is selected such that the acquisition resolution is 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, and an output resolution is 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, and then in step S34, the resolution of the image data including image information corresponding to the image captured on photographic film is increased to produce super-resolution data. In step S34 of producing such super-resolution data, the super-resolution processing unit 15 uses a super-resolution learning model corresponding to a high-resolution acquisition mode, in which a combination of resolutions is selected such that the acquisition resolution is 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, and a combination of resolutions is selected such that the output resolution is 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, to produce super-resolution data in which the resolution of the image data acquired at a resolution of 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction is increased to a resolution of 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, using the selected super-resolution learning model.
[0164] In addition, the image processing program held in the image processing program holding unit 27 causes the CPU 10 to acquire, in steps S31, S32, and S33, image data including image information corresponding to an image captured on photographic film, and image acquisition conditions in which a combination of resolutions is selected such that the acquisition resolution is 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, and an output resolution is 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, and then, in step S34, increases the resolution of the image data including image information corresponding to the image captured on photographic film to produce super-resolution data. In step S34 of producing such super-resolution data, the super-resolution processing unit 15 uses a super-resolution learning model corresponding to a high-resolution acquisition mode, in which a combination of resolutions is selected such that the acquisition resolution is 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, and a combination of resolutions is selected such that the output resolution is 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, to produce super-resolution data in which the resolution of the image data acquired at a resolution of 1200 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction is increased to a resolution of 2400 dpi in the main scanning direction and 2400 dpi in the sub-scanning direction, using the selected super-resolution learning model.
[0165] That is, in the image processing system SC and image processing program of this embodiment, the super-resolution processing unit 15 executes super-resolution processing on image data including image information corresponding to an image captured on a photographic film using a super-resolution learning model selected based on the resolution in the main scanning direction and the resolution in the sub-scanning direction for acquiring image information, so that even if the magnification of the resolution in the main scanning direction and the magnification of the resolution in the sub-scanning direction in the super-resolution processing are different, super-resolution data corresponding to the image data can be produced. At this time, in the image processing system SC, the resolution in the main scanning direction for acquiring image information in which multiple sensor elements of the sensor unit 54 are arranged side by side is limited by the number of multiple sensor elements in the sensor unit 54 and the density of the sensor elements. On the other hand, the resolution for acquiring image information in the sub-scanning direction intersecting the main scanning direction can be set arbitrarily according to the scanning speed of the sensor unit 54 in the sub-scanning direction.
[0166] In the image processing system SC of this embodiment, even if the magnification of the resolution in the main scanning direction in the super-resolution processing differs from the magnification of the resolution in the sub-scanning direction, it is possible to produce super-resolution data according to the image data, and by controlling the resolution for acquiring image information in the sub-scanning direction to be the same as the resolution in the sub-scanning direction of the super-resolution data, it is possible to use the image information actually acquired by the sensor unit 54 as the sub-scanning direction of the super-resolution data. As a result, the image quality of the super-resolution data can be improved.
[0167] Although the embodiments and modifications have been described above, the present invention is not limited to these embodiments, and can be embodied in various forms without departing from the spirit of the present invention. For example, the above embodiments can be appropriately combined.
[0168] The above-mentioned resolutions are merely examples, and the resolution at the time of acquisition, the resolution at the time of output, and the magnification are not limited to those mentioned above. If the resolution at the time of acquisition and the resolution at the time of output are the same, the resolution can be output without increasing the resolution, and if the resolution at the time of output is greater than the resolution at the time of acquisition, the resolution is increased and output.
[0169] In addition, the types of processing to be performed other than increasing the resolution are not limited to those described above. For example, a process may be performed in which whether the data is negative or positive is determined based on a user's input, or a process may be performed in which the data is automatically determined by analyzing the image without requiring the user to specify the data. Contour enhancement and the type of image to be obtained may also be automatically determined by analyzing the image without requiring the user to specify the data.
[0170] The present invention includes configurations that are substantially the same as the configurations described in the embodiments (for example, configurations with the same functions, methods and results, or configurations with the same purpose and effect). The present invention also includes configurations in which non-essential parts of the configurations described in the embodiments are replaced. The present invention also includes configurations that achieve the same effects as the configurations described in the embodiments or that can achieve the same purpose. The present invention also includes configurations in which publicly known technology is added to the configurations described in the embodiments.
[0171] The following can be derived from the above-described embodiment.
[0172] One aspect of the image processing device is an acquisition unit that acquires photographic data and film information indicating whether the photographic data is negative data corresponding to an image taken on a negative film or positive data corresponding to an image taken on a positive film; a super-resolution data production unit for producing super-resolution data by increasing the resolution of the photograph data; Equipped with The super-resolution data production unit produces the super-resolution data by increasing the resolution of the negative data using a first learning model corresponding to the negative data, and produces the super-resolution data by increasing the resolution of the positive data using a second learning model different from the first learning model and corresponding to the positive data.
[0173] According to this image processing device, when increasing the resolution of negative data corresponding to an image taken with a negative film, a first learning model corresponding to the negative data is used to produce super-resolution data in which the resolution of the negative data corresponding to the image taken with a negative film is increased, and when increasing the resolution of positive data corresponding to an image taken with a positive film, a second learning model corresponding to the positive data is used to produce super-resolution data in which the resolution of the positive data corresponding to the image taken with a positive film is increased. That is, a learning model corresponding to the type of film on which the photographic data was taken is selected, and the super-resolution data is produced using the selected learning data. As a result, even if noise with different characteristics occurs in an image taken with a negative film and an image taken with a positive film, it is possible to produce super-resolution data in which the influence of the noise is reduced.
[0174] In one aspect of the image processing device, The acquisition unit acquires image adjustment parameters, The super-resolution data production unit may produce the super-resolution data by increasing the resolution of the negative data using the first learning model corresponding to the image adjustment parameters, and may produce the super-resolution data by increasing the resolution of the positive data using the second learning model corresponding to the image adjustment parameters.
[0175] According to this image processing device, the super-resolution data production unit produces super-resolution data by increasing the resolution of negative data using a first learning model that takes into account the image adjustment parameters, and produces super-resolution data by increasing the resolution of positive data using a second learning model that takes into account the image adjustment parameters. This allows the super-resolution data production unit to produce super-resolution data adjusted according to the image adjustment parameters, improving the quality of the output super-resolution data, and as a result, improving the quality of the super-resolution image generated according to the super-resolution data.
[0176] In one aspect of the image processing device, When the acquisition unit acquires first information as the image adjustment parameter, the super-resolution data production unit uses, as the first learning model, a learning model in which machine learning has been performed using first processed image data, which has been subjected to image processing according to the first information, as teacher data, on at least one of image data obtained by reading an image taken with a negative film and developed image data obtained by developing an image taken with a negative film; When the acquisition unit acquires second information different from the first information as the image adjustment parameter, the super-resolution data production unit may use, as the first learning model, a learning model in which machine learning has been performed on at least one of the image data and the developed image data using second processed image data, which has been subjected to image processing according to the second information, as training data.
[0177] According to this image processing device, when the acquisition unit acquires first information as an image adjustment parameter, the super-resolution data production unit produces super-resolution data using a learning model that takes into account the first information as the first learning model, and when the acquisition unit acquires second information as an image adjustment parameter, the super-resolution data production unit produces super-resolution data using a learning model that takes into account the second information as the first learning model. This allows the super-resolution data production unit to produce super-resolution data adjusted according to the image adjustment parameter, improving the quality of the output super-resolution data and, as a result, improving the quality of the super-resolution image generated according to the super-resolution data.
[0178] In one aspect of the image processing device, The super-resolution data production unit may use as the first learning model a learning model that has been subjected to machine learning using as training data first image data obtained by reading an image taken on a negative film at a first resolution and second image data obtained by reading an image taken on a negative film at a second resolution different from the first resolution.
[0179] This image processing device can produce a first learning model that corresponds to the characteristics of negative film, and the quality of super-resolution data that has had the resolution of the negative data increased using the first learning model is improved, as is the quality of a super-resolution image generated in accordance with the super-resolution data.
[0180] In one aspect of the image processing device, The super-resolution data production unit may use as the second learning model a learning model in which machine learning was performed using as training data third image data obtained by reading an image taken on a positive film at a third resolution, and fourth image data obtained by reading an image taken on a positive film at a fourth resolution different from the third resolution.
[0181] This image processing device can produce a second learning model that corresponds to the characteristics of the positive film, and the quality of super-resolution data that has had the resolution of the positive data increased using the second learning model is improved, and the quality of the super-resolution image generated in accordance with the super-resolution data is improved.
[0182] In one aspect of the image processing device, the negative data includes data generated by transmission scanning a negative film; The positive data may include data generated by transmission scanning a positive film.
[0183] One aspect of a method for producing super-resolution data includes: An acquisition step of acquiring photographic data; a determining step of determining whether the photographic data is negative data taken with a negative film or positive data taken with a positive film; a super-resolution data production process for producing super-resolution data by increasing the resolution of the negative data using a first learning model corresponding to the negative data, and producing the super-resolution data by increasing the resolution of the positive data using a second learning model corresponding to the positive data and different from the first learning model; has.
[0184] According to this method for producing super-resolution data, when increasing the resolution of negative data corresponding to an image taken with a negative film, a first learning model corresponding to the negative data is used to produce super-resolution data in which the resolution of the negative data corresponding to the image taken with a negative film is increased, and when increasing the resolution of positive data corresponding to an image taken with a positive film, a second learning model corresponding to the positive data is used to produce super-resolution data in which the resolution of the positive data corresponding to the image taken with a positive film is increased. That is, a learning model corresponding to the type of film on which the photographic data was taken is selected, and the super-resolution data is produced using the selected learning data. As a result, even if noise with different characteristics occurs in an image taken with a negative film and an image taken with a positive film, it is possible to produce super-resolution data in which the influence of the noise is reduced.
[0185] One aspect of the image processing program is An acquisition step of acquiring photographic data; a determining step of determining whether the photographic data is negative data taken with a negative film or positive data taken with a positive film; a super-resolution data production step of producing super-resolution data by increasing the resolution of the negative data using a first learning model corresponding to the negative data, and producing the super-resolution data by increasing the resolution of the positive data using a second learning model corresponding to the positive data and different from the first learning model; Have the computer run the following.
[0186] According to this image processing program, when increasing the resolution of negative data corresponding to an image taken with a negative film, a first learning model corresponding to the negative data is used to produce super-resolution data in which the resolution of the negative data corresponding to the image taken with a negative film is increased, and when increasing the resolution of positive data corresponding to an image taken with a positive film, a second learning model corresponding to the positive data is used to produce super-resolution data in which the resolution of the positive data corresponding to the image taken with a positive film is increased. That is, a learning model corresponding to the type of film on which the photographic data was taken is selected, and the selected learning data is used to produce super-resolution data. As a result, even if noise with different characteristics occurs in an image taken with a negative film and an image taken with a positive film, it is possible to produce super-resolution data in which the influence of the noise is reduced.
[0187] One aspect of the method for producing a group of learning models includes: A method for producing a learning model group including a first learning model used to produce super-resolution data in which the resolution of negative data corresponding to an image taken with a negative film is increased, and a second learning model used to produce super-resolution data in which the resolution of positive data corresponding to an image taken with a positive film is increased, The first learning model is produced by performing machine learning using as training data first image data obtained by reading an image taken on a negative film at a first resolution and second image data obtained by reading an image taken on a negative film at a second resolution different from the first resolution; The second learning model is produced by performing machine learning using as training data third image data obtained by reading an image taken on positive film at a third resolution, and fourth image data obtained by reading an image taken on positive film at a fourth resolution different from the third resolution.
[0188] According to this method for producing a group of learning models, it is possible to produce a first learning model corresponding to the characteristics of negative film and a second learning model corresponding to the characteristics of positive film.As a result, the quality of super-resolution data obtained by increasing the resolution of negative data using the first learning model is improved, and the quality of super-resolution images generated according to the super-resolution data is improved, while the quality of super-resolution data obtained by increasing the resolution of positive data using the second learning model is improved, and the quality of super-resolution images generated according to the super-resolution data is improved. [Explanation of symbols]
[0189] 1...image processing unit, 3...user interface, 5...image acquisition unit, 10...CPU, 11...input / output management unit, 12...exposure correction unit, 13...color correction unit, 14...super-resolution learning model management unit, 15...super-resolution processing unit, 20...memory, 21...input image storage unit, 22...exposure correction coefficient storage unit, 23...color correction coefficient storage unit, 24...super-resolution learning model storage unit, 25...super-resolution parameter storage unit, 26...super-resolution result storage unit, 27...image processing program storage unit, 31...image acquisition condition setting unit, 32...image output unit, 33...memory, 51...sensor control unit, 52...light source control unit, 53...data buffer, 54...sensor unit, 55...light source, Film-n, Film-p...area, SC...image processing system
Claims
1. an acquisition unit that acquires photographic data and film information indicating whether the photographic data is negative data corresponding to an image taken on a negative film or positive data corresponding to an image taken on a positive film; a super-resolution data production unit for producing super-resolution data by increasing the resolution of the photograph data; Equipped with The super-resolution data production unit produces the super-resolution data by increasing the resolution of the negative data using a first learning model corresponding to the negative data, and produces the super-resolution data by increasing the resolution of the positive data using a second learning model different from the first learning model and corresponding to the positive data.
13. An image processing device comprising:
2. The acquisition unit acquires image adjustment parameters, The super-resolution data production unit produces the super-resolution data by increasing the resolution of the negative data using the first learning model according to the image adjustment parameters, and produces the super-resolution data by increasing the resolution of the positive data using the second learning model according to the image adjustment parameters.
2. The image processing device according to claim 1,
3. When the acquisition unit acquires first information as the image adjustment parameter, the super-resolution data production unit uses, as the first learning model, a learning model in which machine learning has been performed using first processed image data obtained by performing image processing according to the first information on at least one of image data obtained by reading an image taken on a negative film and developed image data obtained by developing an image taken on a negative film, as teacher data; When the acquisition unit acquires second information different from the first information as the image adjustment parameter, the super-resolution data production unit uses, as the first learning model, a learning model in which machine learning has been performed on at least one of the image data and the developed image data using second processed image data, which has been subjected to image processing according to the second information, as teacher data.
3. The image processing device according to claim 2.
4. The super-resolution data production unit uses, as the first learning model, a learning model that has been machine-learned using as teacher data first image data obtained by reading an image captured on a negative film at a first resolution and second image data obtained by reading an image captured on a negative film at a second resolution different from the first resolution.
2. The image processing device according to claim 1,
5. The super-resolution data production unit uses, as the second learning model, a learning model that has been machine-learned using third image data obtained by reading an image captured on a positive film at a third resolution and fourth image data obtained by reading an image captured on a positive film at a fourth resolution different from the third resolution as teacher data.
2. The image processing device according to claim 1,
6. the negative data includes data generated by transmission scanning a negative film; The positive data includes data generated by scanning a positive film through a transmission line.
2. The image processing device according to claim 1,
7. An acquisition step of acquiring photographic data; a determining step of determining whether the photographic data is negative data taken with a negative film or positive data taken with a positive film; a super-resolution data production process for producing super-resolution data by increasing the resolution of the negative data using a first learning model corresponding to the negative data, and producing the super-resolution data by increasing the resolution of the positive data using a second learning model corresponding to the positive data and different from the first learning model; A method for producing super-resolution data, comprising:
8. An acquisition step of acquiring photographic data; a determining step of determining whether the photographic data is negative data taken with a negative film or positive data taken with a positive film; a super-resolution data production step of producing super-resolution data by increasing the resolution of the negative data using a first learning model corresponding to the negative data, and producing the super-resolution data by increasing the resolution of the positive data using a second learning model corresponding to the positive data and different from the first learning model; An image processing program that causes a computer to execute the following:
9. A method for producing a learning model group including a first learning model used to produce super-resolution data in which the resolution of negative data corresponding to an image taken with a negative film is increased, and a second learning model used to produce super-resolution data in which the resolution of positive data corresponding to an image taken with a positive film is increased, The first learning model is produced by performing machine learning using as training data first image data obtained by reading an image taken on a negative film at a first resolution and second image data obtained by reading an image taken on a negative film at a second resolution different from the first resolution; The second learning model is produced by performing machine learning using as training data third image data obtained by reading an image captured on a positive film at a third resolution and fourth image data obtained by reading an image captured on a positive film at a fourth resolution different from the third resolution. A method for producing a group of learning models.
Citation Information
Patent Citations
Image processing system and method therefor
JP2005286395A
