Image processing device and image processing method

The image processing device addresses non-uniform resolution and distortion in image display systems by applying sharpening parameters based on lens and deformation data, ensuring consistent image quality and enhanced realism.

JP7541862B2Active Publication Date: 2024-08-29CANON KK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2020123147
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-07-17
Publication Date
2024-08-29
Estimated Expiration
2040-07-17

AI Technical Summary

Technical Problem

Existing image display systems suffer from non-uniform resolution due to lens aberrations, leading to varying degrees of image distortion and a decreased sense of realism as viewers change their viewing direction.

Method used

An image processing device that acquires local enlargement rates and sharpening parameters based on lens information and deformation parameters to uniformly enhance the resolution of deformed images, using a combination of lens information and magnification ratios to apply sharpening filters effectively.

Benefits of technology

The solution ensures uniform resolution across the display image, enhancing the sense of realism by minimizing distortion and maintaining consistent image quality regardless of the viewer's perspective.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007541862000011
    Figure 0007541862000011
  • Figure 0007541862000016
    Figure 0007541862000016
  • Figure 0007541862000013
    Figure 0007541862000013
Patent Text Reader

Abstract

To provide an image processing apparatus that can make uniform the resolution feeling of a deformation image created by deforming a photographic image.SOLUTION: In an image processing apparatus, a deformation processing unit 206 acquires a local enlargement ratio in an image after deformation based on a deformation parameter, and acquires a deformation image obtained by deforming a photographic image based on the deformation parameter. A sharpening processing unit 207 acquires a sharpening parameter for sharpening the deformation image based on the enlargement ratio and lens information representing a resolution power in a lens used during photographing of the photographic image, and sharpens the deformation image based on the sharpening parameter.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to techniques for sharpening distorted images. [Background technology]

[0002] Conventionally, a wide-field image display system that gives a viewer a high sense of realism is known as a type of image display system. This wide-field image display system gives a viewer a high sense of realism by projecting an image onto a concave screen that is made up of a part of a sphere or cylinder that covers the viewer's field of vision, or onto a screen that approximates a concave surface by combining multiple flat screens.

[0003] As a technique for generating a display image for such a display screen, for example, the technique described in Patent Document 1 is disclosed. Patent Document 1 discloses a technique for generating a display image with less unnatural distortion by rendering a projection surface based on the correspondence between a captured image and a projection surface set in a virtual space. [Prior art documents] [Patent documents]

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

[0005] In order to realize a highly realistic image display that creates a feeling of being there, it is necessary that the displayed image has a uniform sense of resolution in addition to having little distortion. However, depending on the lens used for shooting, the sense of resolution of the peripheral part of the captured image may be significantly lower than that of the center part due to the influence of aberration, etc. In addition, when generating a display image from a captured image, the degree of degradation of the sense of resolution may vary depending on the region. As a result, the sense of resolution changes depending on the viewing direction of the viewer, leading to a decrease in the sense of realism. In the present invention, a technology is provided for uniforming the sense of resolution of a deformed image generated by deforming a captured image. [Means for solving the problem]

[0006] According to one aspect of the present invention, there is provided a first acquisition means for acquiring a local enlargement ratio in an image after deformation based on a deformation parameter; A second acquisition means for acquiring a deformed image by deforming the captured image based on the deformation parameters; a third acquisition means for acquiring a sharpening parameter for sharpening the deformed image based on lens information indicating a resolving power of a lens used when the captured image was captured and the magnification ratio; a processing means for sharpening the transformed image based on the sharpening parameters; Equipped with 、 The third acquisition means rotates, for each pixel in the deformed image, lens information corresponding to the image height corresponding to the pixel based on a deviation angle corresponding to the pixel position on the captured image corresponding to the pixel, and then converts the lens information according to the magnification ratio corresponding to the pixel, and acquires the converted lens information as the sharpening parameter for the pixel. It is characterized by the above. Effect of the Invention

[0007] According to the present invention, it is possible to make the perceived resolution of a display image generated by modifying a captured image uniform. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a block diagram showing an example of the hardware configuration of an image processing apparatus. [Diagram 2] FIG. 2 is a block diagram showing an example of the functional configuration of an image processing apparatus. [Diagram 3] 4 is a flowchart of a process performed by the image processing device. [Figure 4] FIG. 4A is a diagram showing an example of a screen, and FIG. 4B is a diagram showing an example of the configuration of a displayed image. [Diagram 5] FIG. 4 is a diagram showing an example of lens information. [Figure 6] FIG. 4 is a diagram showing an example of transformation parameters. [Figure 7] 10 is a flowchart showing details of the process in step S304. [Figure 8] FIG. 4 is a diagram for explaining the process in step S701. [Figure 9] FIG. 11 is a diagram for explaining the process in step S703. [Figure 10] FIG. 4 is a diagram showing an example of lens information. [Figure 11] FIG. [Figure 12] FIG. 4A is a diagram showing a curved screen, and FIG. 4B is a diagram showing an example of a displayed image. [Figure 13] 4 is a flowchart of a process performed by the image processing device. [Figure 14] 4 is a flowchart of a process performed by the image processing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.

[0010] [First embodiment] First, a hardware configuration example of the image processing device according to the present embodiment will be described with reference to the block diagram of Fig. 1. Note that the configuration shown in Fig. 1 is merely an example of a hardware configuration applicable to the image processing device according to the present embodiment, and can be appropriately changed / modified.

[0011] The CPU 101 executes various processes using computer programs and data stored in the RAM 102 and the ROM 103. As a result, the CPU 101 controls the operation of the entire image processing device, and executes or controls each process that will be described as being performed by the image processing device.

[0012] The RAM 102 has an area for storing computer programs and data loaded from the ROM 103 or the HDD 105, and an area for storing data input by the input device 107. The RAM 102 also has a work area used when the CPU 101 executes various processes. In this way, the RAM 102 can provide various areas as needed.

[0013] The ROM 103 stores setting data for the image processing device, computer programs and data relating to the startup of the image processing device, computer programs and data relating to the basic operations of the image processing device, and the like.

[0014] The HDD I / F 104 is, for example, an interface such as Serial ATA (SATA), and is an interface for connecting the HDD 105 to the bus 100. The HDD 105 stores an OS (operating system), computer programs and data for causing the CPU 101 to execute or control each process described as being performed by the image processing device, etc. The computer programs and data stored in the HDD 105 are loaded into the RAM 102 as appropriate under the control of the CPU 101, and become targets for processing by the CPU 101.

[0015] The input I / F 106 is, for example, a serial bus interface such as USB or IEEE1394, and is an interface for connecting an input device 107 to the bus 100 .

[0016] The input device 107 includes a user interface such as a keyboard, a mouse, and a touch panel screen, and a device for capturing moving and still images of the real space. PossibleThis includes devices for inputting instructions and data to an image processing device, such as a photographing device.

[0017] The output I / F 108 is, for example, a video output interface such as DVI or HDMI (registered trademark), and is an interface for connecting the output device 109 to the bus 100. The output device 109 is a device capable of providing images over a wide range, such as a liquid crystal display or a projector. In this embodiment, the output device 109 is described as a device for providing a single image to a viewer across a plurality of screens by projecting / displaying images corresponding to each of the plurality of screens. The CPU 101, the RAM 102, the ROM 103, the HDD I / F 104, the input I / F 106, and the output I / F 108 are all connected to the bus 100.

[0018] The multiple screens onto which the output device 109 projects images will be described with reference to Fig. 4(a). As shown in Fig. 4(a), the multiple screens onto which the output device 109 projects images include three screens: a center screen 401, a left side screen 402, and a right side screen 403. These screens are arranged to cover the field of view of a viewer 450.

[0019] The center screen 401, the left side screen 402, and the right side screen 403 each have a width Wsc and a height Hsc. The opening angle between the center screen 401 and the left side screen 402 is θsc. The opening angle between the center screen 401 and the right side screen 403 is also θsc. A viewer 450 is positioned at a distance D view The screens are viewed from the viewing position, and the visible angle (display angle) of the entire screen at the viewing position is called the Fov dH Let us assume that.

[0020] In this case, the output device 109 has a projection device A that projects an image onto the left side screen 402, a projection device B that projects an image onto the center screen 401, and a projection device C that projects an image onto the right side screen 403. The image processing device according to this embodiment generates a display image to be projected by the output device 109, and outputs the generated display image to the output device 109. The output device 109 causes the projection device A to project a partial image of the display image corresponding to the left side screen 402 onto the left side screen 402. In addition, the output device 109 causes the projection device B to project a partial image of the display image corresponding to the center screen 401 onto the center screen 401. In addition, the output device 109 causes the projection device C to project a partial image of the display image corresponding to the right side screen 403 onto the right side screen 403.

[0021] An example of the configuration of a display image is shown in Fig. 4(b). As shown in Fig. 4(b), the display image is an arrangement of an image corresponding to a left side screen 402, an image corresponding to a center screen 401, and an image corresponding to a right side screen 403, arranged from the left. In other words, the display image is an arrangement of images to be projected onto the screens in the order in which the screens are arranged.

[0022] FIG. 2 shows an example of the functional configuration of an image processing device according to this embodiment. The process performed by the image processing device having the functional configuration shown in FIG. 2 to generate a display image and output it to the output device 109 will be described with reference to the flowchart in FIG. 3. In the process according to the flowchart in FIG. 3, a local magnification ratio in an image after deformation based on a deformation parameter is obtained, and a deformed image obtained by deforming the captured image based on the deformation parameter is obtained. Then, based on the lens information indicating the resolution of the lens used when the captured image was captured and the magnification ratio, a sharpening parameter for sharpening the deformed image is obtained, and the deformed image is sharpened based on the sharpening parameter. This sharpened deformed image is sent to the output device 109 as a display image and projected onto a screen.

[0023] In the following, the functional units shown in Figure 2 may be described as the main processing units, but in reality, the functions of the functional units are realized by CPU 101 executing a computer program that causes CPU 101 to execute or control the functions of the functional units.

[0024] In step S301, the acquisition unit 202 acquires lens information that indicates the resolving power of the lens used when capturing the captured image. An example of the lens information acquired in step S301 is shown in Fig. 5. The lens information shown in Fig. 5 is a two-dimensional smoothing filter that indicates the resolving power of the lens according to the image height. Fig. 5 shows smoothing filters that correspond to image heights of 0 mm, 5 mm, and 10 mm, respectively, as the lens information.

[0025] Each smoothing filter is set based on the resolution in the radial and concentric directions, with the lower the resolution, the greater the smoothing effect of the filter. Here, the horizontal direction of the smoothing filter corresponds to the resolution in the radial direction of the lens, and the vertical direction of the smoothing filter corresponds to the resolution in the concentric direction of the lens. Figure 5 shows smoothing filters for when the resolution decreases as the image height increases, and the higher the image height, the larger the smoothing filter will be, in other words, the greater the smoothing effect of the filter will be.

[0026] In step S301, smoothing filters corresponding to more types of image heights may be acquired in addition to smoothing filters corresponding to image heights of 0 mm, 5 mm, and 10 mm respectively. That is, in step S301, lens information corresponding to one or more image heights is acquired.

[0027] The lens information corresponds to the shooting parameters (such as the lens type, focal length, aperture value, and subject distance) when the captured image is captured. The shooting parameters may be acquired based on metadata added to the captured image, or may be acquired by the user inputting the parameters by operating the input device 107.

[0028] The acquisition unit 202 may acquire lens information stored in advance in the HDD 105, may acquire lens information from an external device, or may acquire the lens information based on various information input by the user operating the input device 107. In other words, the method of acquiring the lens information by the acquisition unit 202 is not limited to a specific acquisition method.

[0029] In step S302, the acquisition unit 201 acquires deformation parameters, which are parameters for deforming the captured image. An example of the deformation parameters acquired in step S302 is shown in FIG.

[0030] The deformation parameters in Fig. 6 are a table that associates and registers pixel positions (id, jd) in the deformed image with pixel positions (ic, jc) in the captured image that correspond to the pixel positions (id, jd). In addition, the table in Fig. 6 registers, as "screen", the left side screen 402, the center screen 401, or the right side screen 403 onto which the pixel position (id, jd) in the deformed image is projected.

[0031] 6 can be obtained based on the type of lens and focal length when the captured image was captured, screen shape information based on the viewing position, etc. Therefore, for example, deformation parameters that do not distort the image when viewed from the viewing position are calculated in advance based on the lens projection method, focal length, and screen shape, and are registered in HDD 105 as a table.

[0032] The acquisition unit 201 may acquire transformation parameters registered in advance in the HDD 105, or may acquire the transformation parameters from an external device, and the acquisition method is not limited to a specific method.

[0033] In step S303, the magnification ratio calculation unit 203 obtains a local magnification ratio of the deformed image in the transformation from the captured image to the deformed image, based on the transformation parameters obtained in step S302.

[0034] The magnification ratio calculation unit 203 calculates the horizontal magnification ratio (horizontal magnification ratio) Rx(i, j) and the vertical magnification ratio (vertical magnification ratio) Ry(i, j) at a pixel position (i, j) in the transformed image according to the following equation (1).

[0035]

number

[0036]

number

[0037] Here, fx is a function that returns a pixel position in the horizontal direction among the pixel positions of the captured image corresponding to the pixel position on the deformed image. More specifically, as shown in formula (2), fx(id, jd) is a function that returns ic, which is a pixel position in the horizontal direction among the pixel positions (ic, jc) on the captured image corresponding to the pixel position (id, jd) on the deformed image. That is, fx(id, jd) is a function that returns ic among the pixel positions (ic, jc) corresponding to the pixel position (id, jd) in the table of FIG. 6. On the other hand, fy is a function that returns a pixel position in the vertical direction among the pixel positions of the captured image corresponding to the pixel position on the deformed image. More specifically, as shown in formula (2), fy(id, jd) is a function that returns jc, which is a pixel position in the vertical direction among the pixel positions (ic, jc) on the captured image corresponding to the pixel position (id, jd) on the deformed image. That is, fy(id, jd) is a function that returns jc among pixel positions (ic, jc) corresponding to pixel positions (id, jd) in the table of Fig. 6. Therefore, the magnification ratio calculation unit 203 obtains the horizontal magnification ratio Rx and vertical magnification ratio Ry corresponding to each pixel position in the deformed image by the process of step S303.

[0038] In step S304, the setting unit 204 determines a sharpening parameter for sharpening the deformed image based on the lens information acquired in step S301 and the magnification ratio determined in step S303, and sets the determined sharpening parameter.

[0039] In this embodiment, the sharpening is performed using an unsharp mask, and in step S304, a smoothing filter to be used in the unsharp mask as a sharpening parameter is set for each pixel of the deformed image. At that time, a smoothing filter with a higher smoothing effect is set for pixels with a lower lens resolution or a higher magnification ratio. Details of the process in step S304 will be described later.

[0040] In step S305, the image acquisition unit 205 acquires a captured image. For example, the image acquisition unit 205 may acquire a predetermined captured image (for example, a captured image designated by a user operating the input device 107) from the captured images stored in advance in the HDD 105 via the HDD I / F 104. As another example, the image acquisition unit 205 may acquire a captured image captured by a photographing device serving as the input device 107 via the input I / F 106. As another example, the image acquisition unit 205 may acquire a captured image transmitted from an external device. In this way, the method of acquiring a captured image is not limited to a specific method.

[0041] In step S306, the transformation processing unit 206 generates a deformed image by transforming the captured image acquired in step S305 based on the transformation parameters acquired in step S302. The transformation processing unit 206 refers to the table in Fig. 6 and identifies a pixel position (ic, jc) in the captured image that corresponds to a pixel position (id, jd) in the deformed image. The transformation processing unit 206 then obtains a pixel value of a pixel at pixel position (id, jd) in the deformed image by interpolating from pixel values ​​of pixels adjacent to the identified pixel position (ic, jc) in the captured image. For the interpolation, nearest neighbor interpolation, bilinear interpolation, bicubic interpolation, etc. can be used. Through such processing, the pixel value of each pixel in the deformed image obtained by transforming the captured image is determined.

[0042] In step S307, the sharpening processor 207 performs a sharpening process on the deformed image generated in step S306 using the sharpening parameters set in step S304. In this embodiment, the deformed image is sharpened by applying an unsharp mask using a smoothing filter corresponding to each pixel in the deformed image. The sharpening processor 207 sharpens the deformed image based on the following equation (3).

[0043]

number

[0044] Here, I'(i,j) is the pixel value at pixel position (i,j) in the display image obtained by sharpening the deformed image, and I(i,j) is the pixel value at pixel position (i,j) in the deformed image. α is a parameter for adjusting the strength of sharpening, and δ is a two-dimensional filter of the same size as the smoothing filter, with the element at the center position being 1 and the other elements being 0. LPF(i,j) is the smoothing filter corresponding to pixel position (i,j) in the deformed image. α·I(i,j)*(δ-LPF(i,j)) refers to the calculation of obtaining the pixel value by applying the filter (δ-LPF(i,j)) to α·I(i,j).

[0045] In the sharpening process using the unsharp mask, the sharpening effect becomes stronger as a smoothing filter with a higher smoothing effect is used. In this embodiment, a smoothing filter with a higher smoothing effect is set for pixels with a lower lens resolution or a higher magnification ratio, so the sharpening effect becomes stronger.

[0046] In step S308, the image output unit 208 outputs the transformed image sharpened by the sharpening process in step S307 to the output device 109 via the output I / F 108 as a display image. As a result, the output device 109 projects an image within an image area in the display image corresponding to the left side screen 402 onto the left side screen 402, projects an image within an image area in the display image corresponding to the center screen 401 onto the center screen 401, and projects an image within an image area in the display image corresponding to the right side screen 403 onto the right side screen 403. Note that the output destination of the display image by the image output unit 208 is not limited to the output device 109, and may be, for example, the HDD 105 or an external device.

[0047] In step S309, CPU 101 determines whether or not the end condition of the process is satisfied. If the end condition of the process is satisfied as a result of this determination, the process according to the flowchart in Fig. 3 ends, and if the end condition of the process is not satisfied, the process proceeds to step S310.

[0048] There are various conditions for terminating the process, and the condition is not limited to a specific one. For example, the condition for terminating the process may be that "the elapsed time (measured by a timer in CPU 101) from the start of the process according to the flowchart in Fig. 3 exceeds a certain time." In addition, the condition for terminating the process may be that "the user inputs an instruction to terminate the process by operating input device 107."

[0049] In step S310, CPU 101 determines whether the settings have been changed. For example, if the user operates input device 107 to change the lens information, the transformation parameters, or the like, it is determined that "the settings have been changed." If the result of this determination is that the settings have been changed, the process proceeds to step S301, and if the settings have not been changed, the process proceeds to step S305.

[0050] Next, the details of the process in step S304 above will be described with reference to the flowchart in Fig. 7. In this embodiment, first, the image height and deflection angle corresponding to the processing target pixel in the deformed image are calculated based on the deformation parameters. Then, a smoothing filter corresponding to the image height of the processing target pixel is obtained based on the lens information, and the smoothing filter is deformed based on the deflection angle and the magnification ratio, and the deformed smoothing filter is used as the smoothing filter to be applied to the processing target pixel.

[0051] In step S701, the setting unit 204 selects a pixel that has not yet been selected in the deformed image as a processing target pixel, and obtains the image height and deflection angle corresponding to the selected processing target pixel based on the deformation parameters.

[0052] First, the setting unit 204 refers to the deformation parameters (table in FIG. 6) and identifies a pixel position (ic, jc) in the captured image corresponding to the pixel position (id, jd) of the processing target pixel in the deformed image, as shown in FIG. 8. Then, the setting unit 204 determines the center pixel position of the captured image as (io, jo), as shown in FIG. 8, and obtains the distance between the pixel position (ic, jc) in the captured image and the center pixel position (io, jo) of the captured image as the image height r corresponding to the processing target pixel. Furthermore, the setting unit 204 obtains the angle φ that the vector from the pixel position (io, jo) in the captured image toward the pixel position (ic, jc) in the captured image forms with the horizontal direction of the captured image, as shown in FIG. 8.

[0053] In step S702, the setting unit 204 acquires a smoothing filter corresponding to the image height r obtained in step S701 from the smoothing filters acquired for each image height in step S301.

[0054] In step S703, the setting unit 204 generates a modified smoothing filter obtained by modifying the smoothing filter acquired in step S702 (hereinafter referred to as an original smoothing filter) based on the argument φ calculated in step S701 and the magnification ratios Rx and Ry of the pixel to be processed as a smoothing filter to be applied to the pixel to be processed. The processing in this step will be described with reference to FIG.

[0055] First, the setting unit 204 generates a rotated smoothing filter (the diagram in the center of FIG. 9) by rotating the original smoothing filter (the diagram on the left side of FIG. 9) by the argument angle φ. Then, the setting unit 204 generates a transformed smoothing filter (the diagram on the right side of FIG. 9) by enlarging the rotated smoothing filter in the horizontal direction by a horizontal enlargement rate Rx and in the vertical direction by a vertical enlargement rate Ry.

[0056] Specifically, the setting unit 204 calculates the following equation (4) using the position (x', y') in the modified smoothing filter, the argument φ, and the magnification ratios Rx and Ry, thereby determining the position (x, y) in the original smoothing filter that corresponds to the position (x', y') in the modified smoothing filter.

[0057]

number

[0058] The setting unit 204 then determines a filter coefficient at a position (x', y') in the modified smoothing filter by performing an interpolation process from filter coefficients at positions in the vicinity of the position (x, y) in the original smoothing filter.

[0059] In the smoothing filter according to the present embodiment, the horizontal direction corresponds to the radial resolution of the lens, and the vertical direction corresponds to the concentric resolution of the lens. Therefore, by rotating the smoothing filter according to the deflection angle φ as described above, the radial direction and concentric direction corresponding to the pixel to be processed can be made to coincide with the radial direction and concentric direction of the smoothing filter. This makes it possible to convert a two-dimensional smoothing filter representing the resolution of the lens according to the image height into a two-dimensional smoothing filter representing the resolution of the lens according to the pixel to be processed. In addition, by enlarging the smoothing filter according to the enlargement ratios Rx and Ry, the smoothing filter becomes larger as the enlargement ratio of the pixel to be processed increases, and the smoothing effect increases. Through the above processing, the smoothing filter can be set to have a higher smoothing effect for pixels with lower lens resolution or pixels enlarged by the transformation processing.

[0060] In step S704, the setting unit 204 judges whether or not all pixels in the deformed image have been selected as pixels to be processed. If the result of this judgment is that all pixels in the deformed image have been selected as pixels to be processed, the process proceeds to step S305. On the other hand, if there are pixels in the deformed image that have not yet been selected as pixels to be processed, the process proceeds to step S701.

[0061] In this way, according to this embodiment, the sharpening parameters are set according to the lens information at the time of shooting and the local magnification ratio in the deformation process, and the deformed image generated by deforming the shot image is sharpened using the sharpening parameters to obtain a display image. As a result, the resolution of the display image can be made uniform.

[0062] <Modification> In the first embodiment, in step S302, a table as shown in FIG. 6 is acquired as the transformation parameters, but the transformation parameters are not limited to the table as shown in FIG. 6. For example, parameters corresponding to a transformation formula for transforming a captured image may be acquired as the transformation parameters. In this case, the acquisition unit 201 obtains pixel positions (ic, jc) on the captured image corresponding to each pixel position (id, jd) on the transformed image. For example, a transformation formula for displaying a captured image captured at a designated focal length in the display environment shown in FIG. 4 without distortion may be used, and the focal length at the time of shooting may be acquired as the transformation parameter to calculate pixel correspondence. Alternatively, pixel correspondence may be calculated based on a geometric transformation formula such as a projective transformation and a corresponding parameter such as a projective transformation parameter.

[0063] In the first embodiment, in step S301, a two-dimensional smoothing filter representing the resolution of the lens according to the image height is acquired as the lens information, but the form of the lens information is not limited to this. For example, parameters indicating the resolution of the lens in the radial direction and the concentric direction according to the image height may be acquired as the lens information, and a two-dimensional smoothing filter according to the image height may be created based on each parameter. Specifically, the resolution of the lens in the radial direction and the concentric direction is expressed by a one-dimensional Gaussian filter with the standard deviation as a parameter, and a standard deviation σm corresponding to the resolution in the radial direction and a standard deviation σs corresponding to the resolution in the concentric direction are acquired. An example of the lens information in this case is shown in FIG. 10. The lens information in this case is managed as a set of a standard deviation σm and a standard deviation σs for each image height. From these, in order to acquire a two-dimensional smoothing filter representing the resolution of the lens, a one-dimensional Gaussian filter in the horizontal direction is first generated based on the standard deviation σm corresponding to the radial direction, and a one-dimensional Gaussian filter in the vertical direction is generated based on the standard deviation σs corresponding to the concentric direction. Then, a two-dimensional smoothing filter can be generated by convolving two one-dimensional Gaussian filters. Note that any suitable function other than a one-dimensional Gaussian filter may be used.

[0064] Furthermore, two-dimensional smoothing filters representing the resolution of the lens may be obtained by an interpolation process. For example, a smoothing filter corresponding to an intermediate image height (for example, between 5 mm and 10 mm) may be obtained by an interpolation process from smoothing filters corresponding to three image heights as shown in FIG. 5. Alternatively, when parameters corresponding to the resolution of the lens are obtained as lens information as shown in FIG. 10, parameters corresponding to an image height not included in the lens information can be obtained by interpolation from parameters corresponding to previous and subsequent image heights. In this case, a smoothing filter corresponding to the interpolated image height is obtained based on the parameters obtained by the interpolation process.

[0065] Furthermore, a two-dimensional smoothing filter indicating the resolution of the lens corresponding to a plurality of representative points on the captured image may be acquired as the lens information. For example, as shown in FIG. 11, a smoothing filter corresponding to representative points arranged at equal intervals on the captured image is acquired. In this case, in step S701, the setting unit 204 selects a pixel that has not yet been selected in the deformed image as a processing target pixel, and acquires the image height r and the deflection angle φ of the representative point that is closest to the pixel position in the captured image that corresponds to the pixel position of the processing target pixel in the deformed image. Then, in step S702, the setting unit 204 acquires a smoothing filter corresponding to the image height r acquired in step S701 from the smoothing filters acquired for each image height in step S301. In step S703, a rotation process according to the deflection angle φ is performed, and the smoothing filter is enlarged according to the local enlargement ratio. The sharpening parameters can be set by the above process.

[0066] Alternatively, in step S301, two-dimensional smoothing filters corresponding to the image height and the resolution of the lens according to the deflection angle are acquired as lens information. Then, in step S702, a smoothing filter may be selected according to the image height and deflection angle of a representative point closest to a pixel position in a captured image. In this case, in step S703, a rotation process according to the deflection angle φ is not performed, and the smoothing filter is enlarged according to a local magnification ratio. Alternatively, a two-dimensional smoothing filter representing the resolution of the lens according to the image height may be rotated according to the deflection angle to be used as the smoothing filter. The above process allows the sharpening parameters to be set.

[0067] In the first embodiment, in step S304, a smoothing filter used in the unsharp mask as a sharpening parameter is set for each pixel, but a smoothing filter may be set for each region. In this case, a representative pixel is selected from the region, and the smoothing filter corresponding to the representative pixel is set as the sharpening parameter corresponding to the region. The representative pixel may be, for example, the pixel at the center of the region.

[0068] In the first embodiment, the smoothing filter used in the unsharp mask is set as the sharpening parameter, but the form of the sharpening parameter is not limited to this. For example, the sharpening processor 207 may obtain a filter F1(i, j) as the sharpening parameter according to the following formula (5).

[0069]

number

[0070] In this case, the sharpening processor 207 sharpens the transformed image based on the following equation (6).

[0071]

number

[0072] Alternatively, the sharpening processor 207 may determine a filter F2(i, j) as a sharpening parameter in accordance with the following equation (7).

[0073]

number

[0074] In this case, the sharpening processor 207 sharpens the transformed image based on the following equation (8).

[0075]

number

[0076] In the first embodiment, the screen onto which the output device 109 projects an image is assumed to be flat, but the shape of the screen is not limited to a flat surface and may be curved or spherical. Fig. 12(a) shows an example of a curved screen, and Fig. 12(b) shows an example of a display image to be input to the output device 109. In the case of a curved screen, it is composed of one screen.

[0077] Furthermore, the output device 109 may be a plurality of flat monitors, or a curved or spherical monitor. In this case, the output device 109 displays the display image on a display surface such as that shown in FIG.

[0078] In the first embodiment, the image processing device has been described as having the output device 109, but the output device 109 may be an external device of the image processing device. The output device 109 and the image processing device may communicate with each other via wireless communication or wired communication. Through this communication, a display image generated in the image processing device can be transmitted to the output device 109.

[0079] [Second embodiment] In this embodiment, the difference from the first embodiment will be described, and it is assumed that the present embodiment is the same as the first embodiment unless otherwise specified below. In this embodiment, the obtained sharpening parameters are associated with the corresponding lens information and deformation parameters and registered in the HDD 105. After the registration, when inputting a display image to the output device 109, the sharpening parameters corresponding to the newly obtained lens information and deformation parameters are obtained from the HDD 105, and a display image is generated based on the obtained sharpening parameters and input to the output device 109.

[0080] First, the process for registering sharpening parameters in HDD 105 will be described with reference to the flowchart of Fig. 13. The flowchart shown in Fig. 13 is a flowchart in which step S305 in steps S301 to S305 of Fig. 3 is replaced with step S1305.

[0081] In step S1305, the setting unit 204 registers in the HDD 105 the sharpening parameter for each pixel in association with the corresponding lens information and transformation parameters (lens information and transformation parameters used to obtain the sharpening parameter).

[0082] Next, the process performed by the image processing device to input a display image to the output device 109 after the registration will be described with reference to the flowchart of Fig. 14. The flowchart of Fig. 14 is obtained by replacing steps S303 and S304 in the flowchart of Fig. 3 with step S1403.

[0083] In step S1403, the setting unit 204 acquires, from the HDD 105, a sharpening parameter that corresponds to the combination of the lens information acquired in step S301 and the transformation parameter acquired in step S302.

[0084] It is also possible to select and acquire a sharpening parameter that meets the conditions from a plurality of sharpening parameters that have been created in advance based on the transformation parameters and lens information. If there is no sharpening parameter that meets the conditions, a sharpening parameter that is closest to the conditions may be selected. Also, if there is no sharpening parameter that meets the conditions, a warning may be displayed or the process may be terminated.

[0085] In addition, the numerical values, processing timing, processing order, types of memory for reading and writing data, etc. used in the above explanation are given as examples to provide a concrete explanation, and are not intended to be limited to such examples.

[0086] In addition, any part or all of the embodiments and modifications described above may be used in appropriate combination. In addition, any part or all of the embodiments and modifications described above may be used selectively.

[0087] (Other embodiments) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

[0088] The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]

[0089] 201: Acquisition unit, 202: Acquisition unit, 203: Enlargement ratio calculation unit, 204: Setting unit, 205: Image acquisition unit, 206: Transformation processing unit, 207: Sharpening processing unit, 208: Image output unit

Claims

1. a first acquisition means for acquiring a local magnification ratio in a post-deformation image based on the deformation parameters; a second acquisition means for acquiring a deformed image by deforming the photographed image based on the deformation parameters; a third acquisition means for acquiring a sharpening parameter for sharpening the deformed image based on lens information indicating a resolving power of a lens used when the captured image was captured and the magnification ratio; a processing means for sharpening the deformed image based on the sharpening parameters; Equipped with The image processing device is characterized in that the third acquisition means, for each pixel in the deformed image, rotates lens information corresponding to the image height corresponding to the pixel based on an angle of deviation corresponding to the pixel position on the captured image corresponding to the pixel, and then converts it according to the magnification ratio corresponding to the pixel, and acquires the converted lens information as the sharpening parameter of the pixel.

2. 2 . The image processing apparatus according to claim 1 , wherein the first acquisition means calculates the enlargement ratio for each pixel in the deformed image based on pixels in the photographed image that correspond to neighboring pixels of the pixel.

3. 3. The image processing device according to claim 2, wherein the enlargement ratio includes a horizontal enlargement ratio and a vertical enlargement ratio.

4. A first acquisition means for acquiring a local magnification ratio in an image after deformation based on the deformation parameters; a second acquisition means for acquiring a deformed image by deforming the photographed image based on the deformation parameters; a third acquisition means for acquiring a sharpening parameter for sharpening the deformed image based on lens information indicating a resolving power of a lens used when the captured image was captured and the magnification ratio; a processing means for sharpening the deformed image based on the sharpening parameters; Equipped with The image processing device is characterized in that the third acquisition means acquires, for each region in the deformed image, lens information corresponding to the image height corresponding to a representative pixel in the region, converted according to a magnification ratio corresponding to the representative pixel, as the sharpening parameter for the region.

5. A first acquisition means for acquiring a local magnification ratio in an image after deformation based on the deformation parameters; a second acquisition means for acquiring a deformed image by deforming the photographed image based on the deformation parameters; a third acquisition means for acquiring a sharpening parameter for sharpening the deformed image based on lens information indicating a resolving power of a lens used when the captured image was captured and the magnification ratio; a processing means for sharpening the deformed image based on the sharpening parameters; Equipped with The image processing device is characterized in that the third acquisition means, for each region in the deformed image, acquires lens information corresponding to an image height corresponding to a representative pixel in the region by rotating the lens information based on an angle of deviation corresponding to the pixel position on the captured image corresponding to the representative pixel, and then converting the lens information according to the magnification ratio corresponding to the representative pixel, as the sharpening parameter for the region.

6. Furthermore, 4. The image processing apparatus according to claim 1, further comprising output means for outputting the transformed image sharpened by said processing means to a device for displaying the transformed image.

7. An image processing method performed by an image processing device, comprising: a first acquisition step in which a first acquisition means of the image processing device acquires a local enlargement ratio in the image after deformation based on the deformation parameters; a second acquisition step in which a second acquisition means of the image processing device acquires a deformed image by deforming the photographed image based on the deformation parameters; a third acquisition step in which a third acquisition means of the image processing device acquires a sharpening parameter for sharpening the deformed image based on lens information indicating a resolving power of a lens used when the captured image was captured and the magnification ratio; a processing step in which a processing means of the image processing device sharpens the transformed image based on the sharpening parameter; Equipped with The image processing method is characterized in that in the third acquisition step, for each pixel in the deformed image, lens information corresponding to the image height corresponding to the pixel is rotated based on an angle of deviation corresponding to the pixel position on the captured image corresponding to the pixel, and then converted according to a magnification ratio corresponding to the pixel, and the converted lens information is acquired as the sharpening parameter of the pixel.

8. An image processing method performed by an image processing device, comprising: a first acquisition step in which a first acquisition means of the image processing device acquires a local enlargement ratio in the image after deformation based on the deformation parameters; a second acquisition step in which a second acquisition means of the image processing device acquires a deformed image by deforming the photographed image based on the deformation parameters; a third acquisition step in which a third acquisition means of the image processing device acquires a sharpening parameter for sharpening the deformed image based on lens information indicating a resolving power of a lens used when the captured image was captured and the magnification ratio; a processing step in which a processing means of the image processing device sharpens the transformed image based on the sharpening parameter; Equipped with An image processing method characterized in that in the third acquisition step, for each region in the deformed image, lens information corresponding to an image height corresponding to a representative pixel in the region is converted according to a magnification ratio corresponding to the representative pixel, and the lens information is acquired as the sharpening parameter for the region.

9. An image processing method performed by an image processing device, comprising: a first acquisition step in which a first acquisition means of the image processing device acquires a local enlargement ratio in the image after deformation based on the deformation parameters; a second acquisition step in which a second acquisition means of the image processing device acquires a deformed image by deforming the photographed image based on the deformation parameters; a third acquisition step in which a third acquisition means of the image processing device acquires a sharpening parameter for sharpening the deformed image based on lens information indicating a resolving power of a lens used when the captured image was captured and the magnification ratio; a processing step in which a processing means of the image processing device sharpens the transformed image based on the sharpening parameter; Equipped with The image processing method is characterized in that in the third acquisition step, for each region in the deformed image, lens information corresponding to an image height corresponding to a representative pixel in the region is rotated based on an angle of deviation corresponding to a pixel position on the captured image corresponding to the representative pixel, and then lens information converted according to a magnification ratio corresponding to the representative pixel is acquired as the sharpening parameter for the region.

10. A computer program for causing a computer to function as each of the means of the image processing device according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Image processing apparatus, image processing method, and program

    JP2015087870A

  • Image processing apparatus and image processing method

    JP2017120530A

  • Image processing device, image processing method, and program

    JP2019146010A