Method for image segmentation
AssigneeHTC Corporation
InventorsCheng-Lung Jen, Pol-Lin Tai, Jing-Lung Wu, Hsin-Ti Chueh
Life of this patent
Estimating the term…
Abstract
An image segment method is provided in this disclosure. The method is suitable for an electronic apparatus including a first camera and a motion sensor. The method includes steps of: providing at least one pre-defined model mask; fetching pose data from the motion sensor, the pose data being related to an orientation or a position of the first camera; adjusting one of the at least one pre-defined model mask into an adaptive model mask according to the pose data; and, extracting an object from an image captured by the first camera according to the adaptive model mask.
Claims20
A method, suitable for an electronic apparatus comprising a first camera and a motion sensor, the method comprising:
- providing at least one pre-defined model mask;
- fetching pose data from the motion sensor, the pose data being related to an orientation or a position of the first camera;
- adjusting one of the at least one pre-defined model mask into an adaptive model mask according to the pose data;
- and
- extracting an object from an image captured by the first camera according to the adaptive model mask;
- wherein the adjusting step comprises at least one of the following:
- when the pose data indicates that the first camera is moved downward, the pre-defined model mask is adjusted such that a bypassing area of the adaptive model mask is larger in a lower region and narrower in an upper region;
- when the pose data indicates that the first camera is moved upward, the pre-defined model mask is adjusted such that the bypassing area of the adaptive model mask is larger in the upper region and narrower in the lower region;
- and
- when the pose data indicates that the first camera is moved to the right side, the pre-defined model mask is adjusted such that the bypassing area of the adaptive model mask is larger on the right side and narrower on the left side.
A method, suitable for an electronic apparatus comprising a first camera and a motion sensor, the method comprising:
- capturing a first image by the first camera;
- estimating an object pose from the first image;
- fetching pose data from the motion sensor, the pose data being related to a position or an orientation of the first camera when the first image is captured;
- analyzing a camera pose according to the pose data;
- tracking a relative motion according to the camera pose and the object pose;
- providing a pre-defined model mask;
- adjusting the pre-defined model mask into an adaptive model mask according to the relative motion;
- and
- adaptively extracting the object from the first image according to the adaptive model mask;
- wherein the adjusting step comprises at ;east one of the following:
- when the relative motion indicates that the first camera is moved downward, the pre-defined model mask is adjusted such that a bypassing area of the adaptive model mask is larger in a lower region and narrower in an upper region;
- when the relative motion indicates that the first camera is moved upward, the pre-defined model mask is adjusted such that the bypassing area of the adaptive model mask is larger in the upper region and narrower in the lower region;
- and
- when the relative motion indicates that the first camera is moved to the right side, the pre-defined model mask is adjusted such that the bypassing area of the adaptive model mask is larger on the right side and narrower on the left side.
A method, suitable for an electronic apparatus comprising a first camera and a motion sensor, the method comprising:
- providing a first model mask;
- capturing a first image by the first camera, the first image comprising an object;
- extracting the object from the first image according to the first model mask;
- capturing a second image by the first camera;
- fetching pose data from the motion sensor, the pose data being related to a position or an orientation of the first camera when the second image is captured;
- tracking a relative motion from the first image to the second image according to the pose data and the object from the first image;
- dynamically providing a second model mask according to the relative motion;
- and
- adaptively extracting another object from the second image according to the second model mask;
- wherein the dynamically providing step comprises at least one of the following:
- when the relative motion indicates that the first camera is moved downward, the second model mask is adjusted such that a bypassing area of the adaptive model mask is larger in a lower region and narrower in an upper region;
- when the relative motion indicates that the first camera is moved upward, the second model mask is adjusted such that the bypassing area of the adaptive model mask is larger in the upper region and narrower in the lower region;
- and when the relative motion indicates that the first camera is moved to the right side, the second model mask is adjusted such that the bypassing area of the adaptive model mask is lamer on the right side and narrower on the left side.
Dependencies are inferred from the claim text.