IP Library Granted Patent US 10,115,178
Granted Patent B2
US 10,115,178 · App. 14/138,813 · Granted Oct 30, 2018

Image processing apparatus, image capturing apparatus, image processing method, and storage medium

Inventors: Yusuke Tamura (Kawasaki, JP); Yasunobu Kodama (Yokohama, JP)
Assignee: CANON KABUSHIKI KAISHA
G06T3/40G06T11/60H04N5/772H04N9/7921G06T2210/22
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,115,178
App. No.
14/138,813
Granted
Oct 30, 2018
Kind
B2
Abstract

Provided is an image processing apparatus that determines crop positions for an image including a plurality of objects in a preferred manner. This image processing apparatus specifies object regions from the image, and sets a plurality of crop region candidates for each of the specified object regions. The image processing apparatus selects a predetermined number of crop regions from among the plurality of crop region candidates based on evaluation values obtained for the plurality of crop region candidates and on similarities among the plurality of crop region candidates.

Claims (61)

1. An image processing apparatus comprising:

a processor; and

a memory including instructions that, when executed by the processor, cause the processor to:

specify object regions from an image;

set a plurality of crop region candidates for each of the specified object regions;

obtain evaluation values of the set plurality of crop region candidates;

select a predetermined number of crop regions from among the plurality of crop region candidates, wherein a crop region candidate having the highest evaluation value among the plurality of crop region candidates is selected as one crop region, and remaining crop regions are selected after selecting the one crop region; and

generate, from the image, crop images corresponding to each of the predetermined number of crop regions,

wherein in the selecting of the remaining crop regions, the instructions, when executed by the processor, cause the processor to repeat the following processing until the predetermined number of crop regions are selected:

choose a crop region candidate having the next highest evaluation value from among the plurality of crop region candidates;

perform similarity determination processing which determines whether the chosen crop region candidate including at least a portion of a specific object region has a similarity with any of the already selected crop regions including at least a portion of the specific object region;

in a case where it is determined, in the similarity determination processing, that the chosen crop region candidate including at least a portion of the specific object region has a similarity with any of the already selected crop regions including at least a portion of the specific object region, omit the chosen crop region candidate from the crop region candidates; and

in a case where it is determined, in the similarity determination processing, that the chosen crop region candidate including at least a portion of the specific object region does not have a similarity with the already selected crop regions including at least a portion of the specific object region, select the chosen crop region candidate as a crop region,

wherein the crop images corresponding to each of the selected crop regions are displayed on a display device.

2. The image processing apparatus according to claim 1 , wherein the similarity determination processing is performed based on a difference between an aspect ratio of the chosen crop region candidate including at least a portion of the specific object region and an aspect ratio of each of the already selected crop regions including at least a portion of the specific object region.

3. The image processing apparatus according to claim 1 , wherein the similarity determination processing is performed based on a difference between a size of the chosen crop region candidate including at least a portion of the specific object region and a size of each of the already selected crop regions including at least a portion of the specific object region.

4. The image processing apparatus according to claim 1 , wherein the similarity determination processing is performed based on a difference between region start coordinates of the chosen crop region candidate including at least a portion of the specific object region and region start coordinates of each of the already selected crop regions including at least a portion of the specific object region.

5. The image processing apparatus according to claim 1 , wherein the instructions, when executed by the processor, further cause the processor to:

obtain the evaluation values of the set plurality of crop region candidates based on areas and distances from an image center.

6. The image processing apparatus according to claim 1 , wherein the instructions, when executed by the processor, further cause the processor to:

extract, from the image, images of regions defined by the selected predetermined number of crop regions, and output the extracted images.

7. An image capturing apparatus comprising:

an image sensor which captures an image; and

an image processing apparatus comprising:

a processor; and

a memory including instructions that, when executed by the processor, cause the processor to:

specify object regions from the image,

set a plurality of crop region candidates for each of the specified object regions,

obtain evaluation values of the set plurality of crop region candidates,

select a predetermined number of crop regions from among the plurality of crop region candidates, wherein a crop region candidate having the highest evaluation value among the plurality of crop region candidates is selected as one crop region, and remaining crop regions are selected after selecting the one crop region, and

generate, from the image, crop images corresponding to each of the predetermined number of crop regions,

wherein in the selecting of the remaining crop regions, the instructions, when executed by the processor, cause the processor to repeat the following processing until the predetermined number of crop regions are selected:

choose a crop region candidate having the next highest evaluation value from among the plurality of crop region candidates;

perform similarity determination processing which determines whether the chosen crop region candidate including at least a portion of a specific object region has a similarity with any of the already selected crop regions including at least a portion of the specific object region;

in a case where it is determined, in the similarity determination processing, that the chosen crop region candidate including at least a portion of the specific object region has a similarity with any of the already selected crop region including at least a portion of the specific object region, omit the chosen crop region candidate from the crop region candidates; and

in a case where it is determined, in the similarity determination processing, that the chosen crop region candidate including at least a portion of the specific object region does not have a similarity with the already selected crop regions including at least a portion of the specific object region, select the chosen crop region candidate as a crop region,

wherein the crop images corresponding to each of the selected crop regions are displayed on a display device.

8. An image processing method comprising:

specifying object regions from an image;

setting a plurality of crop region candidates for each of the specified object regions;

obtaining evaluation values of the set plurality of crop region candidates;

selecting a predetermined number of crop regions from among the plurality of crop region candidates, wherein a crop region candidate having the highest evaluation value among the plurality of crop region candidates is selected as one crop region, and the remaining crop regions are selected after selecting the one crop region; and

generating, from the image, crop images corresponding to each of the predetermined number of crop regions,

wherein in the selecting of the remaining crop regions, the method comprises repeating the following processing until the predetermined number of crop regions are selected:

choosing a crop region candidate having the next highest evaluation value from among the plurality of crop region candidates;

performing similarity determination processing which determines whether the chosen crop region candidate including at least a portion of a specific object region has a similarity with any of the already selected crop regions including at least a portion of the specific object region;

in a case where it is determined, in the similarity determination processing, that the chosen crop region candidate including at least a portion of the specific object region has a similarity with any of the already selected crop region, omitting the chosen crop region candidate from the crop region candidates including at least a portion of the specific object region; and

in a case where it is determined, in the similarity determination processing, that the chosen crop region candidate including at least a portion of the specific object region does not have a similarity with the already selected crop regions, selecting the chosen crop region candidate as a crop region including at least a portion of the specific object region,

wherein the crop images corresponding to each of the selected crop regions are displayed on a display device.

9. A non-transitory computer-readable storage medium having stored thereon a program that, when executed by a computer, causes the computer to:

specify object regions from an image;

set a plurality of crop region candidates for each of the specified object regions;

obtain evaluation values of the set plurality of crop region candidates;

select a predetermined number of crop regions from among the plurality of crop region candidates, wherein a crop region candidate having the highest evaluation value among the plurality of crop region candidates is selected as one crop region, and the remaining crop regions are selected after selecting the one crop region; and

generate, from the image, crop images corresponding to each of the predetermined number of crop regions,

wherein in the selecting of the remaining crop regions, the program, when executed by the computer, causes the computer to repeat the following processing until the predetermined number of crop regions are selected:

choose a crop region candidate having the next highest evaluation value from among the plurality of crop region candidates;

perform similarity determination processing which determines whether the chosen crop region candidate including at least a portion of a specific object region has a similarity with any of the already selected crop regions including at least a portion of the specific object region;

in a case where it is determined, in the similarity determination processing, that the chosen crop region candidate including at least a portion of the specific object region has a similarity with any of the already selected crop region including at least a portion of the specific object region, omit the chosen crop region candidate from the crop region candidates; and

in a case where it is determined, in the similarity determination processing, that the chosen crop region candidate including at least a portion of the specific object region does not have a similarity with the already selected crop regions, select the chosen crop region candidate as a crop region including at least a portion of the specific object region,

wherein the crop images corresponding to each of the selected crop regions are displayed on a display device.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 1, 2014
From: TAMURA, YUSUKE; KODAMA, YASUNOBU
To: CANON KABUSHIKI KAISHA
Reel/Frame 033072/0246 →
Priority Claims (3)
JP 2012-283671 · Dec 26, 2012 · national
JP 2012-286167 · Dec 27, 2012 · national
JP 2013-234313 · Nov 12, 2013 · national
Continuity (1)
Related Publication 20140176612A1 · Jun 26, 2014
Cited By (1)
US 12,737,835