Bed area extraction method and bed area extraction apparatus
AssigneeFujitsu Limited
InventorsYasutaka Okada, Kimitaka Murashita
Life of this patent
Estimating the term…
Abstract
A bed area extraction method includes specifying, by a computer, a first part of a bed candidate area in an image based on a first line segment extracted from the image; setting a search range for searching a second line segment with reference to the bed candidate area which is determined based on the specified first part of the bed candidate area; and correcting the bed candidate area based on a disposition of the second line segment included in the set search range.
Claims14
A non-transitory computer-readable recording medium having stored therein a program that causes a computer to execute a process, the process comprising:
- specifying a first part of a bed candidate area in an image based on first line segments which are extracted from the image;
- setting a search range for searching a second line segment with reference to the bed candidate area which is determined based on the specified first part of the bed candidate area;
- selecting the second line segment from among one or more first line segments, which are included in the first line segments and the search range, based on a disposition of the one or more first line segments;
- and
- correcting the bed candidate area based on a disposition of the second line,
- wherein the specifying includes specifying, as a part of the bed candidate area, a second part including one of short sides of the bed candidate area, the one of short sides corresponding to a head board attached to one end of a bed,
- wherein the head board has a certain thickness in a longitudinal direction of the bed candidate area, and wherein the setting includes setting, to the search range, an area surrounded by lines, the lines including a long side of the bed candidate area after rotation in which the bed candidate area is rotated by an angle depending on the thickness of the head board around a point corresponding to a midpoint of the one of short sides corresponding to a short side of the bed to which the head board is attached.
A bed area extraction method, comprising:
- specifying, by a computer, a first part of a bed candidate area in an image based on first line segments which are extracted from the image;
- setting a search range for searching a second line segment with reference to the bed candidate area which is determined based on the specified first part of the bed candidate area;
- selecting the second line segment from among one or more first line segments, which are included in the first line segments and the search range, based on a disposition of the one or more first line segments;
- and
- correcting the bed candidate area based on a disposition of the second line segment,
- wherein the specifying includes specifying, as a part of the bed candidate area, a second part including one of short sides of the bed candidate area, the one of short sides corresponding to a head board attached to one end of a bed,
- wherein the head board has a certain thickness in a longitudinal direction of the bed candidate area, and wherein the setting includes setting, to the search range, an area surrounded by lines, the lines including a long side of the bed candidate area after rotation in which the bed candidate area is rotated by an angle depending on the thickness of the head board around a point corresponding to a midpoint of the one of short sides corresponding to a short side of the bed to which the head board is attached.
A bed area extraction apparatus, comprising:
- a processor configured to:
- specify a first part of a bed candidate area in an image based on first line segments which are extracted from the image;
- set a search range for searching a second line segment with reference to the bed candidate area which is determined based on the specified first part of the bed candidate area;
- select the second line segment from among one or more first line segments, which are included in the first line segments and the search range, based on a disposition of the one or more first line segments;
- and
- correct the bed candidate area based on a disposition of the second line segment,
- wherein the processor is configured to specify, as a part of the bed candidate area, a second part including one of short sides of the bed candidate area, the one of short sides corresponding to a head board attached to one end of a bed,
- wherein the head board has a certain thickness in a longitudinal direction of the bed candidate area, and wherein the computer configured to set, to the search range, an area surrounded by lines, the lines including a long side of the bed candidate area after rotation in which the bed candidate area is rotated by an angle depending on the thickness of the head board around a point corresponding to a midpoint of the one of short sides corresponding to a short side of the bed to which the head board is attached.
Dependencies are inferred from the claim text.