# US 2013/0279805 A1 · Image resampling by frequency unwrapping

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0279805 A1
- Document ID: US20130279805A1
- Status: Published application
- Kind: A1
- Application number: 13/863,985
- Filed: 2013-04-16
- Published: 2013-10-24
- Earliest claimed: 2012-04-20
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Richard James ZILLMAN; Kieran Gerard LARKIN; Peter Alleine FLETCHER
- Web page: https://patentgrep.com/patent/US20130279805A1

## CPC

- G06T 5/73: Deblurring; Sharpening
- G06T 3/4084: in the transform domain, e.g. fast Fourier transform [FFT] domain scaling
- G06T 5/20: using local operators
- G06T 5/70: Denoising; Smoothing
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method determines at least one image value of a corresponding desired output position of an output image from an input image. An orientation of an edge passing through the output position is determined in a localised region of the input image. A frequency spectrum for the region of the input image is extended. A main frequency band of the edge is aligned in the extended frequency spectrum parallel to a first sampling axis of a grid based on the orientation of the edge. The grid is selected from a set of the input and output grids. The aligned main frequency band is filtered along a second sampling axis of the grid, orthogonal to the first sampling axis, the filter removing frequencies associated with replica bands and maintaining the main frequency band. The image value is determined from the filtered edge at the desired output position.

## Claims

### Claim 1

A method of determining at least one image value of a corresponding desired output position on an output grid of an output image from an input image on an input grid, the method comprising:
(a) determining, in a localised region of the input image, an orientation of an edge passing through the output position;
(b) extending a frequency spectrum for the region of the input image;
(c) aligning a main frequency band of the edge in the extended frequency spectrum parallel to a first sampling axis of a grid based on the orientation of the edge, wherein the grid is selected from the set of the input and output grids;
(d) filtering the aligned main frequency band along a second sampling axis of the grid, orthogonal to the first sampling axis, the filter removing frequencies associated with replica bands and maintaining the main frequency band;
(e) determining the image value from the filtered edge at the desired output position; and
(f) storing the determined image value as part of the output image.

### Claim 2 (depends on 1)

A method according to claim 1, wherein the first sampling axis of the input image is horizontal.

### Claim 3 (depends on 1)

A method according to claim 1, wherein the first sampling axis of the input image is vertical.

### Claim 4 (depends on 1)

A method according to claim 1, wherein the main frequency band is aligned by shearing.

### Claim 5 (depends on 1)

A method according to claim 1, wherein the main frequency band is aligned by rotation.

### Claim 6 (depends on 1)

A method according to claim 1, wherein the step of extending the frequency spectrum includes filtering the region with a sub-sampled interpolation filter.

### Claim 7 (depends on 1)

A method according to claim 1, wherein the extending the frequency spectrum comprises:
determining a spectrum image of at least a portion of the input image;
resizing the spectrum image;
converting the spectrum image into the spatial domain to form a spatial image;
modulating the spatial image to shift a spectrum thereof beyond a Nyquist limit of the input image;
combining the spatial image and the modulated spatial image to form a combined image; and
determining a spectrum of the combined image to form an extended spectrum of the input image.

### Claim 8 (depends on 1)

A method according to claim 1, further comprising:
(g) performing steps (a) to (f) for at least one further image value of the output image; and
(h) resampling the output image by interpolating at least one further image value of the output image between the image value and the further image value.

### Claim 9 (depends on 8)

A method according to claim 8, wherein step (g) comprises performing steps (a) to (f) for a region of the input image, and step (h) comprises resampling across the region.

### Claim 10

A method of determining an image value at a desired output position on an output grid of an output image at a first resolution from an input image on an input grid at a second resolution, the method comprising the steps of:
estimating in a region of the input image an orientation of an edge passing through the output sample position;
determining a location for each of a plurality of auxiliary points where the auxiliary points are located at an intersection of the edge and a first direction determined according to the orientation;
selecting, for each of the plurality of auxiliary points, a first filter based on the location of the auxiliary point in the first direction of the input grid, said first filter being adapted to unwrap aliasing frequencies in the input image;
determining a value of each said auxiliary point by applying the selected filter in the first direction;
selecting a second filter of a plurality of filters based on the output position relative to the input grid in a second direction of the input grid; and
determining the image value at the desired output position by applying the second filter to said value of the plurality of auxiliary points along the edge.

### Claim 11 (depends on 10)

A method according to claim 10, further comprising padding input pixels with zero pixel values in the output grid.

### Claim 12 (depends on 11)

A method according to claim 11, wherein the selecting of the first filter comprises assessing a position of an auxiliary point and the orientation.

### Claim 13 (depends on 12)

A method according to claim 12, wherein the selected first filter comprises one of an odd sinc filter for a first orientation, and an even sinc filter for a second orientation.

### Claim 14 (depends on 10)

A method according to claim 10, wherein said second filter comprises a sinc filter with odd and even filter taps.

### Claim 15 (depends on 1)

A method of upsampling a low-resolution input image to form a high-resolution output image at a desired output resolution, said method comprising:
determining a local orientation value of a localised region in the input image;
default upsampling the input image using the desired output resolution to form a first image;
orientation adaptively upsampling the input image at each localised region thereof using the determined local orientation value according to the method of claim 1 to form a second image; and
combining the first image and the second image using the determined local orientation value to form the output image at the desired resolution.

### Claim 16 (depends on 15)

A method according to claim 15, wherein the combining comprises selecting an output pixel value at the desired resolution from one of the first image and the second image.

### Claim 17 (depends on 15)

A method according to claim 15, wherein the determining of the local orientation value for a region of the input image comprises determining an orientation of a high frequency transition in or passing through a localised region of the input image corresponding to a desired output sample position in the output image.

### Claim 18 (depends on 17)

A method according to claim 17, wherein the determining comprises:
(i) determining a first complex image by averaging and double angle representation obtained from a first order gradient field of the input image;
(ii) determining a second complex image by combining a high-pass filtered image of the input image with a second order gradient field obtained from the first order gradient field of the input image;
(iii) forming an energy operator image from the complex images; and
(iv) resizing the energy operator image using the desired output resolution to form an orientation vector field of the input image at the desired output resolution.

### Claim 19

A method of processing an interferometer input image to extract a sub-image corresponding to a sub-spectrum at an output resolution, the method comprising:
converting the input image to a frequency domain image including the sub-spectrum associated with the sub-image;
shifting the sub-spectrum to DC based on a carrier frequency of the sub-image;
extracting a region corresponding to the sub-image and converting the extracted image to the spatial domain;
calculating a phase of the spatial domain image; and
resampling the spatial domain image to form the sub-image at the output resolution, the resampling comprising:
(a) determining, in a localised region of the input image, an orientation of an edge passing through the output position;
(b) extending a frequency spectrum for the region of the input image;
(c) aligning a main frequency band of the edge in the extended frequency spectrum parallel to a first sampling axis of a grid based on the orientation of the edge, wherein the grid is selected from the set of the input and output grids;
(d) filtering the aligned main frequency band along a second sampling axis of the grid, orthogonal to the first sampling axis, the filter removing frequencies associated with replica bands and maintaining the main frequency band;
(e) determining the image value from the filtered edge at the desired output position; and
(f) storing the determined image value as part of the output image.

### Claim 20

A method of processing an interferometer input image to extract a sub-image corresponding to a sub-spectrum at an output resolution, the method comprising:
converting the input image to a frequency domain image including the sub-spectrum associated with the sub-image;
shifting the sub-spectrum to DC based on a carrier frequency of the sub-image;
extracting a region corresponding to the sub-image and converting the extracted image to the spatial domain;
calculating a phase of the spatial domain image; and
resampling the spatial domain image to form the sub-image at the output resolution, the resampling comprising:
(i) estimating in a region of the input image an orientation of an edge passing through the output sample position;
(ii) determining a location for each of a plurality of auxiliary points where the auxiliary points are located at an intersection of the edge and a first direction determined according to the orientation;
(iii) selecting, for each of the plurality of auxiliary points, a first filter based on the location of the auxiliary point in the first direction of the input grid, said first filter being adapted to unwrap aliasing frequencies in the input image;
(iv) determining a value of each said auxiliary point by applying the selected filter in the first direction;
(v) selecting a second filter of a plurality of filters based on the output position relative to the input grid in a second direction of the input grid; and
(vi) determining the image value at the desired output position by applying the second filter to said value of the plurality of auxiliary points along the edge.
