Focus-Stacked Image Processing for Smooth Images and Accurate Height Maps

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing all-in-focus image generation methods and height maps suffer from discrepancies between calculated luminance values and actual heights due to influence from surrounding pixel positions, leading to inaccuracies in analysis.

Innovation Solution

An image processing method that calculates luminance values and composite heights by considering image reference values and sharpnesses at both the current and surrounding pixel positions, using Gaussian weighting for distance and sharpness, to generate a smooth all-in-focus image and appropriate height map.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Stability of the object's composition

If the luminance value at each pixel position is calculated by reflecting surrounding pixel positions, then the all-in-focus image becomes smoother, but the height map becomes inconsistent with the actual all-in-focus image

Engineering Contradiction:
Improvesmoothness of all-in-focus imageVSAvoidaccuracy of height map
Core Design Contradiction:
Stability of the object's compositionVSMeasurement precision

Solution Approach 1:

The patent applies different processing strategies to different regions: for pixels where all surrounding pixels have the same image reference value, the original image reference value is used (maintaining local accuracy); for pixels with mixed image reference values, a weighted average is calculated (achieving local smoothing). This local differentiation resolves the contradiction between smoothness and accuracy.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent introduces a new parameter 'composite height' that combines multiple image reference values with different weights. By changing from a single image reference value to a composite parameter, the system achieves both smoothing (through averaging) and accuracy preservation (through selective weighting), resolving the contradiction.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If multiple picked-up images are combined to generate all-in-focus image, then the image quality improves, but the complexity of image processing increases

Engineering Contradiction:
Improveimage qualityVSAvoidimage processing complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent performs preliminary classification of pixels into two groups (those with uniform surrounding image reference values and those with mixed values) before the actual composite calculation. This preliminary action simplifies the overall processing by dividing the complex task into two straightforward sub-tasks, reducing processing complexity while maintaining image quality.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent segments the image processing into distinct steps: calculating sharpness for each picked-up image, determining image reference values, classifying pixels into groups, and calculating composite heights. This segmentation breaks down the complex processing into manageable stages, reducing overall complexity while ensuring high image quality.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20260057567A1Image processing method, image processing apparatus, image pickup apparatus, and recording medium
Publication Date: 2026.02.26 SCREEN HOLDINGS CO LTD
  • US20260057567A1 patent drawing
  • US20260057567A1 patent drawing
  • US20260057567A1 patent drawing

AI summary

In an image processing method, a plurality of sharpnesses are calculated at each pixel position from a plurality of picked-up images which are acquired while a focal position is changed along an optical axis, and by comparing the plurality of sharpnesses at each pixel position with one another, an image reference value to be referred for determination of a luminance value at the pixel position of an all-in-focus image is determined. The luminance value at each pixel position of the all-in-focus image is calculated on the basis of image reference values in a pixel position group including the pixel position and surrounding pixel positions of the pixel position. A composite height at each pixel position is acquired on the basis of image reference values and/or sharpnesses in a pixel position group including the pixel position and the surrounding pixel positions, and a height map is thereby generated.