Image processing apparatus, image processing method, recording medium, and program
AssigneeSony Corporation
InventorMitsuharu Ohki
Life of this patent
Estimating the term…
Abstract
An image processing apparatus and method, wherein a reference area is specified in a first step, a foreground is specified in the reference area in a second step, the degree T1 of appropriateness is calculated in a third step, the degree T2 of appropriateness is calculated in a fourth step, the degree T3 of appropriateness is calculated in a fifth step, and, in a sixth step, a comparison area having the maximum sum of the degrees T1, T2, and T3 of appropriateness is set to a matching area corresponding to the reference area, in a comparison image.
Claims9
An image processing apparatus for detecting a motion vector between a reference image and a comparison image, comprising:
- an image input for inputting the reference image and the comparison image;
- a receiver for receiving a user's operations;
- a reference-area specifier for specifying a first reference area in the reference image according to the user's operation received by the receiver;
- a divider for setting a boundary used for dividing the first reference area into a foreground and a background, according to the user's operation received by the receiver;
- a comparison-area specifier for specifying a plurality of comparison areas in the comparison image;
- a first calculator for calculating a first degree of appropriateness indicating a degree of correlation between the foreground of the first reference area and each of the plurality of comparison areas;
- a generator for generating a second reference area by differentiating a portion close to the boundary of the first reference area in a direction perpendicular to the boundary;
- a second calculator for calculating a second degree of appropriateness indicating a degree of correlation between a portion close to the boundary of the second reference area and each of the plurality of comparison areas;
- a determination part for determining a matching area corresponding to the first reference area among the plurality of comparison areas according to a sum of the first and second degrees of appropriateness;
- and
- an operator for calculating the motion vector between the reference image and the comparison image according to a position of the first reference area in the reference image and a position of the matching area in the comparison image.
An image processing method for an image processing apparatus for detecting a motion vector between a reference image and a comparison image, the method comprising the steps of:
- inputting the reference image and the comparison image;
- receiving a user's operations;
- specifying a first reference area in the reference image according to the user's operation received in the receiving step;
- setting a boundary used for dividing the first reference area into a foreground and a background, according to the user's operation received in the receiving step;
- specifying step of specifying a plurality of comparison areas in the comparison image;
- calculating a first degree of appropriateness indicating a degree of correlation between the foreground of the first reference area and each of the plurality of comparison areas;
- generating a second reference area by differentiating a portion close to the boundary of the first reference area in a direction perpendicular to the boundary;
- calculating a second degree of appropriateness indicating a degree of correlation between a portion close to the boundary of the second reference area and each of the plurality of comparison areas;
- determining a matching area corresponding to the first reference area among the number of comparison areas according to a sum of the first and second degrees of appropriateness;
- and
- calculating the motion vector between the reference image and the comparison image according to a position of the first reference area in the reference image and a position of the matching area in the comparison image.
A recording medium recording a computer-readable program for detecting a motion vector between a reference image and a comparison image, the program comprising:
- an image input step of inputting the reference image and the comparison image;
- a receiving step of receiving a user's operations;
- a reference-area specifying step of specifying a first reference area in the reference image according to the user's operation received in the receiving step;
- a dividing step of setting a boundary used for dividing the first reference area into a foreground and a background, according to the user's operation received in the receiving step;
- a comparison-area specifying step of specifying a plurality of comparison areas in the comparison image;
- a first calculation step of calculating a first degree of appropriateness indicating a degree of correlation between the foreground of the first reference area and each of the plurality of comparison areas;
- a generation step of generating a second reference area by differentiating a portion close to the boundary of the first reference area in a direction perpendicular to the boundary;
- a second calculation step of calculating a second degree of appropriateness indicating a degree of correlation between a portion close to the boundary of the second reference area and each of the plurality of comparison areas;
- a determination step of determining a matching area corresponding to the first reference area among the plurality of comparison areas according to a sum of the first and second degrees of appropriateness;
- and
- an operation step of calculating the motion vector between the reference image and the comparison image according to a position of the first reference area in the reference image and a position of the matching area in the comparison image.
Dependencies are inferred from the claim text.