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

The image processing device enhances alignment accuracy in depth compositing by applying filters based on focus position and ISO sensitivity, ensuring precise alignment and deep depth of field in composite images.

JP7558656B2Active Publication Date: 2024-10-01CANON KK
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020000458
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-01-06
Publication Date
2024-10-01
Estimated Expiration
2040-01-06

AI Technical Summary

Technical Problem

Existing image alignment techniques for depth compositing are inaccurate when using out-of-focus edge images, leading to decreased alignment accuracy.

Method used

An image processing device that applies filters based on ISO sensitivity and focus position to detect feature points from multiple images with different focus positions, and uses these points for precise image alignment.

Benefits of technology

Prevents a decrease in alignment accuracy by using filters tailored to focus positions, enabling high-precision alignment and creation of composite images with deep depth of field.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007558656000007
    Figure 0007558656000007
  • Figure 0007558656000008
    Figure 0007558656000008
  • Figure 0007558656000009
    Figure 0007558656000009
Patent Text Reader

Abstract

To solve the problem in which there is a possibility that alignment accuracy may be deteriorated depending on a focal position difference when aligning to an image at a distant focal position.SOLUTION: An image processing device includes processing means for filtering a plurality of images of different focal positions in an optical axis direction, detection means for detecting feature points from the plurality of images after filtering, and alignment means for aligning the plurality of images using the feature points. The processing means is configured to generate the filter based on the focal positions of the plurality of images.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image processing device that synthesizes a plurality of images having different focus positions in the optical axis direction. [Background technology]

[0002] When capturing images of multiple subjects at significantly different distances from a digital camera or a long subject in the depth direction, the depth of field may be insufficient to focus on only a part of the subject. To solve this problem, Patent Document 1 discloses a so-called depth stacking technique that captures multiple images with different focus positions, extracts only the in-focus areas from each image, and synthesizes them into a single image to generate a composite image in which the entire captured area is in focus. Therefore, Patent Document 1 uses the area with the highest contrast value among the areas corresponding to the same position in each image as the in-focus area and uses it for synthesis.

[0003] In depth stacking, the multiple images used for synthesis are misaligned due to differences in focus positions, etc., and therefore need to be aligned before synthesis.

[0004] Non-Patent Documents 1 and 2 disclose a method for extracting feature points from an edge image obtained by applying a band-pass filter or the like. The extracted feature points can be used to perform alignment. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2015-216532 A [Non-patent literature]

[0006] [Non-Patent Document 1] Chris Harris & Mike Stephens,A COMBINED CONER AND EDGE DETECTOR,Plessey Research Roke Manor,1988 [Non-Patent Document 2] Jianbo Shi & Carlo Tomasi,Good Features to Track,CVPR,1994 Summary of the Invention [Problem to be solved by the invention]

[0007] However, the edge images obtained from images with out-of-focus positions may have significantly different shapes, and if such edge images are used for registration, the accuracy may decrease.

[0008] The present invention has been made in consideration of the above-mentioned problems, and has an object to provide an image processing device that determines a filter based on a focus position when using a filter to detect feature points from multiple images with different focus positions. [Means for solving the problem]

[0009] In order to solve the above problem, the present invention has a processing means for applying a filter to a plurality of images having different focus positions in an optical axis direction, a detection means for detecting feature points from the plurality of images after the filtering, and a position alignment means for aligning the plurality of images using the feature points, and the processing means detects the focus positions of the plurality of images. or The present invention provides an image processing device that generates the filters based on ISO sensitivities at the times when the plurality of images were captured. Effect of the Invention

[0010] According to the configuration of the present invention, when performing alignment by applying a filter to a plurality of images having different focus positions, it is possible to prevent a decrease in alignment accuracy. [Brief description of the drawings]

[0011] [Figure 1] 1 is a block diagram showing a structure of a digital camera according to an embodiment of the present invention. [Diagram 2] 1 is a flowchart illustrating generation of a composite image according to an embodiment of the present invention. [Diagram 3] 4 is a flowchart illustrating imaging according to an embodiment of the present invention. [Figure 4] 1 is a flowchart illustrating alignment according to an embodiment of the present invention. [Diagram 5] 1A and 1B are diagrams for explaining blurring of a captured image in an embodiment of the present invention. [Figure 6] 5 is a graph illustrating filter characteristics according to an embodiment of the present invention. [Figure 7] 1 is a flowchart illustrating image synthesis according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[0013] 1 is an example of a block diagram showing the structure of a digital camera as an image processing device according to this embodiment. Digital camera 100 is capable of capturing still images, recording information on the focus position, calculating contrast values, and synthesizing images.

[0014] The lens 103 includes an aperture for adjusting the amount of light and a focus lens for adjusting the focus position. The imaging unit 22 includes an imaging element for converting an optical image into an electric signal. The A / D converter 23 converts an analog signal output from the imaging unit 22 into a digital signal. In this embodiment, the imaging element of the imaging unit 22 includes R, G1, G2, and B color filters, and is configured in a Bayer array in which the colors are regularly arranged, but is not limited to this. The imaging unit 22, the lens 103, and the shutter 101 are controlled by the system control unit 50 using a timing generation circuit.

[0015] In addition to the mechanical shutter of the shutter 101, it is possible to control the accumulation time as an electronic shutter by controlling the reset timing of the image sensor, and it can be used for video imaging, etc.

[0016] The image processing unit 24 can perform various correction processes such as predetermined pixel interpolation and shading correction on the data from the A / D converter 23 or the data from the memory control unit 15. The image processing unit 24 can also perform various filter effects such as white balance processing, gamma correction processing, color conversion processing, low-pass filtering, band-pass filtering, edge detection, and contrast detection. The image processing unit 24 also performs image cropping and magnification processing to realize an electronic zoom function. The shading correction process corrects the luminance level in the screen so as to correct shading caused by the characteristics of the lens 103 and the characteristics of the imaging unit 22, such as aberration, on the data from the A / D converter 23 or the data from the memory control unit 15. The WB (white balance) process performs AWB (auto white balance) processing, which adjusts the white reference in the screen to white, on the image data after the shading correction process. In this embodiment, the shading correction is a correction that applies a gain to each pixel according to the two-dimensional coordinates (position) of the imaging element of the imaging unit 22, and the white balance process is a process that applies different gains to R, G1, G2, and B in the Bayer array. Furthermore, it has a function for developing RAW images for each Bayer into a general-purpose image format such as YUV format, and a function for encoding or decoding into JPEG, etc. In addition to processing each image, the image processing unit 24 can also detect the amount of positional deviation between multiple images and align them by geometric transformation.

[0017] The image synthesis unit 54 includes a synthesis processing circuit that synthesizes a plurality of image data. In this embodiment, in addition to simple additive synthesis, additive average synthesis, and subtraction, it is possible to perform comparatively bright synthesis and comparatively dark synthesis, which select and synthesize images having the brightest or darkest values ​​in each pixel or region of the image data to be synthesized to generate a single image. It also has an alpha blend function that synthesizes two images using a coefficient (α value) for each pixel. The image synthesis unit 54 may be configured integrally with the image processing unit 24.

[0018] The memory control unit 15 controls the memory 32. Data from the A / D converter 23 is written into the memory 32 via the image processing unit 24 and the memory control unit 15, or data from the A / D converter 23 is written directly into the memory control unit 15.

[0019] The display unit 28 is a display unit formed of a TFT liquid crystal or the like, and the image data for display written in the memory 32 is displayed by the display unit 28 via the memory control unit 15 .

[0020] By using the display unit 28 to sequentially acquire image data captured in sequence by repeatedly performing exposure and readout at a predetermined cycle in the imaging unit 22, and displaying the data sequentially via the image processing unit 24, memory control unit 15, etc., it is possible to realize a live view display or an electronic viewfinder function.

[0021] Furthermore, the display unit 28 can arbitrarily turn the display on and off in response to an instruction from the system control unit 50, and when the display is turned off, the power consumption of the digital camera 100 can be significantly reduced.

[0022] The memory 32 is a memory for storing captured still images and moving images, and stores still images and moving images for a predetermined period of time. The memory 32 can also be used as a working area for the system control unit 50.

[0023] The system control unit 50 controls the entire digital camera 100. Each process of this embodiment, which will be described later, is realized by executing a program recorded in a nonvolatile memory 56, which will be described later. A RAM or the like is used for the system memory 52. ​​Constants and variables for the operation of the system control unit 50, programs read from the nonvolatile memory 56, and the like are deployed in the system memory 52. ​​The system control unit also performs display control by controlling the memory 32, the display unit 28, and the like.

[0024] The system timer 53 is a timing unit that measures the time used for various controls and the time of a built-in clock.

[0025] The non-volatile memory 56 is composed of a Flash ROM or the like. The program code executed by the system control unit 50 is written to the non-volatile memory 56, and the program code is executed while being read out sequentially. In addition, the non-volatile memory is provided with an area for storing system information and an area for storing user setting information, and various information and settings can be read and restored at the next startup.

[0026] The operation unit 70 is made up of various buttons and a touch panel, etc., and includes a shutter switch (SW1, SW2), a menu button, a set button, a macro button, a flash setting button, a single shot / continuous shot / self-timer switching button, etc. In addition, a menu movement + (plus) button, a menu movement - (minus) button, an image capture quality selection button, an exposure compensation button, a date / time setting button, etc. may also be provided.

[0027] Shutter switch SW1 operated on operation unit 70 is turned ON during operation of the shutter button, and captured image data is subjected to predetermined calculation processing in image processing unit 24. Based on the calculation results obtained here, system control unit 50 controls exposure control unit 40 and focus control unit 42 to perform TTL AF (autofocus) processing and AE (autoexposure) processing. Then, shutter switch SW2 operated on operation unit 70 is turned ON when shutter button operation is completed, and instructs the start of a series of processes including exposure processing, development processing, compression / decompression processing, and recording processing.

[0028] It also has a focus bracketing function in which imaging is performed at a predetermined focus position, and then the focus control unit 42 automatically drives the focus lens included in the lens 103 at a predetermined focus step width to perform continuous imaging. Furthermore, it is possible to implement a so-called depth stacking function in which only in-focus parts are extracted by the image processing unit 24 from multiple images captured using the focus bracketing function, and these are synthesized by the image synthesis unit 54 to obtain a single image with a deep depth of field.

[0029] Reference numeral 30 denotes a power supply unit including primary batteries such as alkaline batteries or lithium batteries, secondary batteries such as NiCd batteries, NiMH batteries, or Li batteries, an AC adapter, etc. Reference numeral 80 denotes a power supply control unit that controls the power supply unit 30.

[0030] Reference numeral 18 denotes an interface with a recording medium such as a memory card or a hard disk, and a connector for connecting to the recording medium such as a memory card or a hard disk.

[0031] Reference numeral 102 denotes a barrier that covers the lens 103 and the imaging unit 22 of the digital camera 100 to prevent the imaging unit from becoming dirty or damaged.

[0032] 2 is a flowchart for explaining the generation of a composite image in this embodiment. In step S201, the imaging unit 22 captures a plurality of images with different focus positions in the optical axis direction. In step S202, the image processing unit 24 performs alignment so that the angles of view of the plurality of images captured in step S201 match. In step S203, the image processing unit 24 selectively combines the portions of the images after alignment that are in focus to generate a composite image with a deep depth of field. Each step will be described in detail below.

[0033] FIG. 3 is a flowchart for explaining the capturing of a plurality of images having different focus positions in the optical axis direction in step S201 in this embodiment.

[0034] In step S301, the system control unit 50 causes the focus control unit 42 to set the focus position. For example, the user specifies an area to be focused on, for example, an area in front of a deep subject, through a touch panel that is the operation unit 70 that also serves as the display unit 28. Furthermore, the user specifies how much the focus position should be shifted toward infinity from the focus position corresponding to the specified area while capturing an image (hereinafter, referred to as focus step width). At the same time, the number of focus positions, i.e., the number of images to be captured, is also set.

[0035] Note that this setting method is just one example, and can be changed as appropriate, for example, by specifying the closest side and the most infinity side of the area to be imaged via a touch panel.

[0036] In step S302, the system control unit 50 drives the lens 103 to a focus position corresponding to the area set in step S301 via the focus control unit 42. Then, in step S303, the system control unit 50 controls the imaging unit 22 to capture an image and obtains the image data via the A / D converter 23.

[0037] Next, in step S304, the system control unit 50 determines whether imaging has been completed for the number of images set in step S301. If imaging has been completed at all focus positions, the process in the flowchart shown in Fig. 3 ends. If not, the process returns to step S302, and the system control unit 50 moves the focus position by the focus step width specified in step S301 via the focus control unit 42, and imaging is performed again.

[0038] Next, the alignment in step S202 in this embodiment will be described with reference to the flowchart in FIG.

[0039] FIG. 4 is a flowchart illustrating the alignment process in this embodiment.

[0040] In step S401, the system control unit 50 acquires a reference image for alignment from among the images captured in step S201. Next, in step S402, the system control unit 50 acquires a target image for alignment with the reference image.

[0041] FIG. 5 is a diagram for explaining blurring of captured images in this embodiment. In this embodiment, since the focus position is changed while capturing images, as shown in FIG. 5, the part that was in focus in the nth image is slightly blurred in the n+1th image, and the amount of blurring increases as the capturing interval increases to the n+2th image, n+3th image, and so on. In the detection of the amount of positional deviation described later, the greater the difference between two images, the more difficult it becomes to detect. Therefore, in this embodiment, two adjacent images captured consecutively are selected as the reference image and the target image. However, since capturing images while changing the focus position causes the angle of view to change slightly between the captured images depending on the lens 103, the image with the narrowest angle of view may be used as the reference image, or it may simply be used as the image captured first.

[0042] In step S403, the system control unit 50 generates a filter based on the focus step width specified in step S301. As an example, the system control unit 50 determines a filter as shown in Table 1 below.

[0043] [Table 1]

[0044] In Table 1 above, F represents the aperture value of the lens 103 when capturing an image in step S303.

[0045] In general, depth of field can be expressed by (Equation 1). Depth of field = 2Fδ (Formula 1)

[0046] In the above formula (1), F represents the lens aperture, or F-number, and δ represents the allowable circle of confusion diameter. The allowable circle of confusion generally refers to the circle of confusion where blur is indistinguishable, and is generally around 20 to 40 μm. However, this varies depending on the viewing environment; for example, in a dot-by-dot display where one pixel of the image sensor is displayed with one pixel of the monitor, it is preferable for the diameter to be smaller than the size of the image sensor, and conversely, when viewing on a small monitor, it is possible to increase the allowable circle of confusion diameter. When viewing a printed image, it also varies depending on the performance of the printer and the print size.

[0047] For example, if the permissible circle of confusion diameter δ is 30 μm, the depth of field is 2F × 30 μm. If the focus step width is also set to 2F × 30 μm, the edge shapes between two adjacent images will be closer, and it is considered that accurate alignment can be achieved by applying the bandpass filter of the conventional technology. The "bandpass filter of the conventional technology" here is, for example, a bandpass filter having the characteristics shown in Figure 6(a) described later.

[0048] Fig. 6 is a graph for explaining the filter characteristics in this embodiment. Fig. 6(a) shows a bandpass filter having filter characteristics that transmit 200 Hz with a gain of 1 and gradually remove frequencies higher and lower than that. The filter shown in Fig. 6(a) makes it possible to extract edge components while removing high-frequency noise and DC components. When an image captured with a focus step width of about 2Fδ is processed using a bandpass filter having the characteristics shown in Fig. 6(a), a composite image with good image quality can be obtained.

[0049] On the other hand, if the focus step width becomes wider than that, if the bandpass filter as shown in FIG. 6(a) is used, the alignment accuracy may start to decrease. Therefore, in this embodiment, the type of filter is changed depending on the focus step width. For example, Table 1 shows that a gain-up filter is used when the focus step width satisfies 2F×30 μm≦s<4F×30 μm. The gain-up filter is a filter that enhances the gain characteristic of the bandpass filter when s<2F×30 μm is satisfied. FIG. 6(b) shows an example of a gain-up filter. It can be seen that the graph shown in FIG. 6(b) has a much stronger gain characteristic than the graph shown in FIG. 6(a).

[0050] When the focus step width becomes wider, the system control unit 50 generates a filter shifted to the lower frequency side as shown in Fig. 6(c).When the focus step width becomes wider still further, the system control unit 50 generates a narrower filter that combines filters with multiple frequency peaks as shown in Fig. 6(d).

[0051] As described above, when the focus step width is wide, a filter with a large gain or a wide frequency band that passes through is used because an edge image with a shape closer to that of the reference image and the target image is obtained. Conversely, when the focus positions of the reference image and the target image are close, if a filter with a large gain and a wide frequency band that passes through is used, there is a high possibility that noise components will be erroneously detected as an edge.

[0052] Apart from the filters shown in Table 1, special filters can be used, for example when shooting at high ISO sensitivities. Figure 6(e) shows a bandpass filter with characteristics that reduce the gain of high-frequency components. If a bandpass filter that allows high-frequency components is used, images shot at high ISO sensitivities in particular will be more susceptible to the effects of noise. For this reason, a filter that drastically reduces the gain of high-frequency components, as shown in Figure 6(e), is used.

[0053] Furthermore, if the original image has few edges, the filter gain may be appropriately increased.

[0054] The above is a description of the filter generation in step S403.

[0055] In step S404, the image processing unit 24 generates an edge image from the reference image and the target image using the filter generated in step S403.

[0056] In step S405, the image processing unit 24 detects corresponding feature points from the edge image generated in step S404. For example, feature points can be detected from the edge image by using the Harris corner detector described in Non-Patent Document 1 or the Shi & Tomasi method described in Non-Patent Document 2. Alternatively, the edge image may be binarized before feature points are detected.

[0057] In step S406, the system control unit 50 detects a geometric deformation coefficient by using the corresponding feature points detected in step S405. An example of the geometric deformation coefficient is an affine coefficient. The calculation method of the affine coefficient is expressed by the following (Equation 2).

[0058]

number

[0059] However, (Equation 2) always satisfies g=0, h=0, and i=1. (x', y') and (x, y) respectively refer to corresponding feature points in the reference image and the target image. If there are at least three corresponding feature points (three coordinates in each of the reference image and the target image) that are not located on the same line, the affine coefficients can be calculated.

[0060] In step S407, the image processing unit 24 performs a geometric transformation process on the target image using the geometric transformation coefficients calculated in step S406. As a result, the target image is aligned with the reference image, and the coordinates of corresponding feature points are aligned.

[0061] In step S408, the system control unit 50 determines whether or not the alignment process has been completed for all images captured in step S303. If there are images that have not yet been aligned, the process returns to step S401, and if the alignment process has been completed for all images, the alignment flow ends.

[0062] Next, the image synthesis in step S203 will be described. In step S203, the system control unit 50 extracts in-focus areas from each of the images after the alignment in step S202 to create a synthetic image.

[0063] FIG. 7 is a flowchart for explaining image synthesis in this embodiment.

[0064] In step S701, the contrast value of the image after the alignment in step S202 is calculated. As an example of the calculation method, the band pass filter described above can be used. Alternatively, a luminance signal can be used.

[0065] A method for calculating the contrast value using the luminance signal will be briefly described below. First, the image processing unit 24 calculates the luminance Y from the color signals Sr, Sg, and Sb of each pixel using the following (Equation 3). Y = 0.299Sr + 0.587Sg + 0.114Sb (Formula 3)

[0066] Next, a contrast value I is calculated for a matrix L of luminance Y of 3×3 pixels using a Sobel filter as shown in the following (Equation 4) to (Equation 6).

[0067]

number

[0068]

number

[0069]

number

[0070] Next, in step S702, the system control unit 50 compares the contrast values ​​of pixels at the same coordinates in the multiple aligned images, and creates a composite map by assigning a composite ratio of 100% to the pixel with the highest contrast value. Since the location with the highest contrast value among multiple pixels at the same position is likely to be the most in-focus area, the system control unit 50 determines that the pixel with the highest contrast value is the in-focus area.

[0071] In the composite map generated in step S702, the composite ratio between adjacent pixels changes sharply, and the composite image may become unnatural. Therefore, in step S703, the system control unit 50 corrects the composite map generated in step S702 using an existing method such as a low-pass filter. As a result of the correction, the change in the composite ratio between pixels becomes smooth, and the appearance of the composite image improves.

[0072] In step S704, the image processing unit 24 creates a composite image using the composite map corrected in step S703. For example, the composite image is generated using the following (Equation 7).

[0073]

number

[0074] In the above (Equation 7), Pk(x,y) indicates the pixel value of the coordinates (x,y) of the kth aligned image, Ak(x,y) is the synthesis ratio for pixel Pk(x,y) in the corrected synthesis map, and O(x,y) indicates the synthesis result of the coordinates (x,y).

[0075] The generated composite image has a deeper depth of field than the captured images because it is produced by extracting the in-focus areas of each of the multiple images captured in step S201.

[0076] (Other embodiments) In the above embodiment, a digital camera having a depth stacking function that changes the focus position in the optical axis direction, performs position alignment of multiple images, and synthesizes high-contrast parts to obtain an image with a deep depth of field has been described as an example. However, it is sufficient to have a function for performing position alignment between images captured while changing the focus position. For example, images captured by focus bracketing generally have different image magnifications due to the influence of the optical system, and the angle of view is different between multiple images. This can also be applied to a function for finding the amount of positional deviation and adjusting the angle of view using the magnification of affine transformation. In addition, it is possible to apply the present invention not only to digital cameras but also to mobile devices, smartphones, or network cameras connected to a server. Alternatively, part of the above-mentioned processing may be performed by a mobile device, smartphone, or network camera connected to a server.

[0077] Furthermore, the present invention can also be applied to an image processing device that records imaging information such as aperture value, ISO sensitivity, and focus step width in an image file for images captured by changing the focus position, and then reads and processes the images on a computer.

[0078] The present invention can also be realized by a process in which a program for realizing one or more functions of the above-mentioned embodiments is supplied to a system or device via a network or a recording medium, and one or more processors in a computer of the system or device read and run the program. Also, the present invention can be realized by a circuit (e.g., ASIC) that realizes one or more functions.

[0079] The above-mentioned embodiments are merely examples of the implementation of the present invention, and the technical scope of the present invention should not be interpreted as being limited by these. In other words, the present invention can be implemented in various forms without departing from its technical concept or main characteristics. [Explanation of symbols]

[0080] 15 Memory control section 18 Interfaces 22 Imaging unit 23 A / D converter 24 Image Processing Section 28 Display section 30 Power supply section 32 Memory 40 Exposure control section 42 Focus control section 50 System control section 51 Arithmetic section 52 System Memory 53 System Timer 54 Image synthesis unit 56 Non-volatile memory 70 Operation section 80 Power supply control unit 100 Imaging device 101 Shutter 102 Barrier 103 Lens 200 Recording media

Claims

1. A processing means for applying a filter to a plurality of images having different focus positions in the optical axis direction; a detection means for detecting feature points from the plurality of images after the filtering; and a registration means for performing registration of the plurality of images using the feature points, The image processing device according to claim 1, wherein the processing means generates the filter based on the focus positions of the plurality of images or ISO sensitivities at the time of capturing the plurality of images.

2. a synthesis means for generating a synthetic image using the plurality of images, The image processing apparatus according to claim 1 , wherein the composite image has a greater depth of field than the plurality of images.

3. 3. The image processing apparatus according to claim 2, wherein the synthesizing means generates the synthetic image by extracting in-focus areas of the respective ones of the plurality of images.

4. 4. The image processing apparatus according to claim 3, wherein the synthesizing means determines that the area having the highest contrast value among corresponding areas of the plurality of images is the in-focus area.

5. The image processing apparatus according to claim 4 , wherein the corresponding areas are areas that are in the same position after the alignment is performed.

6. 6. The image processing apparatus according to claim 1, wherein the processing means generates the filter based on intervals between the focus positions of the plurality of images.

7. The position alignment means performs position alignment for every two images among the plurality of images, 7. The image processing apparatus according to claim 1, wherein the processing means generates the filters to be applied to the two images based on the focus positions of the two images.

8. 8. The image processing apparatus according to claim 1, wherein the filter is a band-pass filter.

9. 9. The image processing apparatus according to claim 8, wherein said processing means performs at least one of gain-up, low-frequency shift, and narrowing on said band-pass filter based on said focus position.

10. The processing means applies the filter to the plurality of images to generate an edge image; 10. The image processing apparatus according to claim 1, wherein the detection means detects the feature points from the edge image.

11. The image processing apparatus according to claim 10 , wherein the detection means detects the feature points from the edge image using a corner detector.

12. An imaging means for capturing a plurality of images having different focus positions in an optical axis direction; a processing means for applying a filter to the plurality of images; a detection means for detecting feature points from the plurality of images after the filtering; and a registration means for performing registration of the plurality of images using the feature points, The processing means generates the filter based on the focus positions of the plurality of images or the ISO sensitivity at the time of capturing the plurality of images.

1. An imaging device comprising:

13. 13. The imaging apparatus according to claim 12, further comprising a setting unit for setting a focus step width when the plurality of images are captured.

14. A processing step of applying a filter to a plurality of images having different focus positions in the optical axis direction; a detection step of detecting feature points from the plurality of images after applying the filter; and performing a registration step of registering the plurality of images using the feature points, An image processing method, wherein in the processing step, the filter is generated based on the focus positions of the plurality of images or ISO sensitivities at the times when the plurality of images were captured.

15. A computer program for causing a computer of an image processing device to operate, A processing step of applying a filter to a plurality of images having different focus positions in the optical axis direction; a detection step of detecting feature points from the plurality of images after applying the filter; a registration step of registering the plurality of images using the feature points; The program, in the processing step, generates the filter based on the focus positions of the plurality of images or ISO sensitivities at the times when the plurality of images were captured.

16. A readable recording medium on which the program according to claim 15 is recorded.

Citation Information

Patent Citations

  • Image processing apparatus, image processing method, program, and storage medium

    JP2013175928A

  • Imaging device, imaging method, and program

    JP2015216532A

  • Image processing system, imaging apparatus, control method and program of image processing system

    JP2019047145A

  • Image-capturing device, image-capturing method, and program

    WO2012132129A1