Moving image processing apparatus and method, and computer readable memory
AssigneeCanon Kabushiki Kaisha
InventorHiroshi Tojo
Life of this patent
Estimating the term…
Abstract
A frame extraction unit detects a luminance change point frame in which the brightness change amount between frames is equal to or higher than a threshold value from a moving image formed by a plurality of frames. A flash check unit checks the presence/absence of a flash portion in the moving image on the basis of the detected luminance change point frame.
Claims27
A moving image processing apparatus for detecting a cut point frame in an input moving image, comprising:
- first calculation means for calculating first similarities between neighboring frames in the moving image formed by a plurality of frames;
- cut point determination means for determining cut point frames in the moving image on the basis of the first similarities calculated by said first calculation means;
- scene duration determination means for determining if a scene duration between neighboring cut point frames determined by said cut point determination means is less than a predetermined value;
- first search means for searching frames within a first predetermined range of frames before the cut point frame determined by said cut point determination means for a frame having a brightness value of a first condition on the basis of a determination result of said scene duration determination means;
- second search means for searching frames within a second predetermined range of frames after the cut point frame determined by said cut point determination means for a frame having a brightness value of a second condition on the basis of the determination result of said scene duration determination means;
- second calculation means for calculating a second similarity between the frames found by said first and second search means;
- determination means for determining the presence/absence of a flash portion in the moving image on the basis of the second similarity calculated by said second calculation means;
- and
- correction means for correcting the determination result of said cut point determination means on the basis of a determination result of said determination means,
- wherein when a first frame found by said second search means matches the cut point frame determined by said cut point determination means, a second frame at least one frame before the first frame is set to be the frame found by said second search means.
A moving image processing method for detecting a cut point frame in an input moving image, comprising:
- a first calculation step of calculating first similarities between neighboring frames in the moving image formed by a plurality of frames;
- a cut point determination step of determining cut point frames in the moving image on the basis of the first similarities calculated in said first calculation step;
- a scene duration determination step of determining if a scene duration between neighboring cut point frames determined in said cut point determination step is less than a predetermined value;
- a first search step of searching frames within a first predetermined range of frames before the cut point frame determined in said cut point determination step of a frame having a brightness value of a first condition on the basis of a determination result in said scene duration determination step;
- a second search step of searching frames within a second predetermined range of frames after the cut point frame determined in said cut point determination step of a frame having a brightness value of a second condition on the basis of the determination result in said scene duration determination step;
- a second calculation step of calculating a second similarity between the frames found in said first and second search steps;
- a determination step of determining the presence/absence of a flash portion in the moving image on the basis of the second similarity calculated in said second calculation step;
- and
- a correction step of correcting the determination result in the cut point determination step on the basis of a determination result in said determination step,
- wherein when a first frame found in said second search step matches the cut point frame determined in said cut point determination step, a second frame at least one frame before the first frame is set to be the frame found in said second search step.
A computer readable memory that stores a program code of moving image processing for detecting a cut point frame in an input moving image, comprising:
- a program code for a first calculation step of calculating first similarities between neighboring frames in the moving image formed by a plurality of frames;
- a program code for a cut point determination step of determining cut point frames in the moving image on the basis of the first similarities calculated in the first calculation step;
- a program code for a scene duration determination step of determining if a scene duration between neighboring cut point frames determined in the cut point determination step is less than a predetermined value;
- a program code for a first search step of searching frames within a first predetermined range of frames before the cut point frame determined in the cut point determination step of a frame having a brightness value of a first condition on the basis of a determination result in the scene duration determination step;
- a program code for a second search step of searching frames within a second predetermined range of frames after the cut point frame determined in the cut point determination step of a frame having a brightness value of a second condition on the basis of the determination result in the scene duration determination step;
- a program code for a second calculation step of calculating a second similarity between the frames found in the first and second search steps;
- a program code for a determination step of determining the presence/absence of a flash portion in the moving image on the basis of the second similarity calculated in the second calculation step;
- and
- a program code for a correction step of correcting the determination result in the cut point determination step on the basis of a determination result in the determination step,
- wherein when a first frame found by the second search step matches the cut point frame determined by the cut point determination step, a second frame at least one frame before the first frame is set to be the frame found by the second search step.
Dependencies are inferred from the claim text.