Maximum Inscribed Rectangle in Convex Polygon

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems face difficulties in converting non-rectangular intersections of images into a rectangular shape with the same aspect ratio as the input images, particularly in combining images from high dynamic range or bracketed photography.

Innovation Solution

A computing device iteratively enlarges a rectangle within a convex polygon while maintaining a fixed aspect ratio, determining the maximum inscribed size by moving the rectangle based on the number of corners intersecting the polygon edges, until it can no longer be inscribed, allowing for efficient cropping and scaling.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If existing systems register and overlay individual images to produce a combined image, then the combined image can be produced from multiple input images, but the resulting combined image is non-rectangular in shape and difficult to convert to rectangular form

Engineering Contradiction:
Improveability to combine multiple imagesVSAvoidrectangular shape of combined image
Core Design Contradiction:
Adaptability or versatilityVSShape

Solution Approach 1:

The patent extracts the essential rectangular region from the non-rectangular combined image by identifying the maximum inscribed rectangle within the convex polygon formed by the image boundaries. This extraction process isolates the usable rectangular content while discarding the irregular portions, solving the shape conversion problem.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the parameter of the combined image from non-rectangular to rectangular by iteratively adjusting the rectangle's position and dimensions within the convex polygon. The algorithm modifies the rectangle parameters (x, y coordinates and width, height) until the maximum inscribed rectangle is found, achieving the desired rectangular shape.

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If the combined image is converted to rectangular shape by existing systems, then the aspect ratio can be maintained, but the conversion process is difficult and complex

Engineering Contradiction:
Improveaspect ratio maintenanceVSAvoidconversion process complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent employs a dynamic iterative approach where the rectangle is continuously adjusted in position and size within the convex polygon. The algorithm dynamically modifies the rectangle parameters through multiple iterations, moving the rectangle and changing its dimensions until the maximum inscribed rectangle is achieved, maintaining aspect ratio throughout the process.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent uses feedback by continuously checking whether the rectangle corners intersect with the convex polygon edges during the iterative process. This feedback mechanism guides the adjustment of rectangle position and size, ensuring the rectangle remains inscribed within the polygon while maximizing its dimensions and maintaining the aspect ratio.

Inventive Principle:
Principle #23Feedback

3Area of stationary object

If a rectangle is inscribed within a convex polygon, then the largest possible rectangular region can be found, but an iterative process with multiple adjustments is required

Engineering Contradiction:
Improvearea of inscribed rectangleVSAvoidcomputational time for iterative process
Core Design Contradiction:
Area of stationary objectVSLoss of time

Solution Approach 1:

The patent performs preliminary actions by first forming the convex polygon from the combined image boundaries and establishing the initial rectangle configuration before the iterative optimization begins. This preliminary setup includes determining the aspect ratio and initial position, which accelerates the subsequent iterative process by providing a good starting point.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent maintains continuity of useful action by iteratively enlarging the rectangle while moving it within the convex polygon without interrupting the optimization process. The algorithm continuously adjusts the rectangle parameters in a systematic manner, ensuring that each iteration builds upon the previous one to efficiently converge to the maximum inscribed rectangle.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS9615040B2Determining a maximum inscribed size of a rectangle
Publication Date: 2017.04.04 MICROSOFT TECHNOLOGY LICENSING LLC
  • US9615040B2 patent drawing
  • US9615040B2 patent drawing
  • US9615040B2 patent drawing

AI summary

Embodiments perform an iterative process for enlarging a rectangle having a fixed aspect ratio within a convex polygon to find the largest rectangular area within the convex polygon. The iterative process includes detecting an intersection of one or more corners of the rectangle with the convex polygon and adjusting a position of the rectangle based on the quantity of intersecting corners. The iterative growth process continues until a maximum inscribed size of the rectangle has been determined. Some embodiments process images from bracketed photography and crop areas outside the determined maximum inscribed size when combining the images into a single image.