Output device, method, non-transitory computer readable recording medium and display device
AssigneePanasonic Housing Solutions Co., Ltd.
InventorsHirofumi Kanai, Yuka Yamada, Toshihide Mori, Hideyuki Maehara
Life of this patent
Estimating the term…
Abstract
An output device includes: an acquisition part that acquires a first image covering excrement captured by a camera to photograph an inside of a bowl of a toilet; a dividing part that divides the acquired first image into a plurality of divisional areas; a calculation part that calculates an area representative value including a representative value of each of the color components of each of the divisional areas; and an output part that outputs the calculated area representative value.
Claims13
An output device for outputting information about excrement, comprising:
- a processor;
- and
- a memory, wherein
- the processor is configured to:
- acquire a first image covering the excrement captured by a camera to photograph an inside of a bowl of a toilet, the first image containing one or more color components;
- detect whether the first image contains an image of the excrement;
- divide the acquired first image into a plurality of divisional areas;
- calculate an area representative value including a representative value of each of the color components of each of the divisional areas;
- and
- output the calculated area representative value, wherein
- the dividing operation divides the first image by a predetermined number of pixels in a vertical direction and a horizontal direction, into the divisional areas containing pixels of the excrement when the detecting operation detects that the first image contains the image of the excrement,
- a pixel value of each of all pixels included in each of the divisional areas is set to the area representative value corresponding to each of the divisional areas, and
- the calculating operation calculates an area representative value of the divided divisional areas using only pixels of the excrement for the divided divisional area containing a contour of the image of the excrement, and
- the processor is further configured to:
- acquire a second image not covering the excrement captured by the camera;
- extract, from the acquired second image, a pixel group including pixels constituting a drain hole of the toilet, the pixel group being calculated in advance through calibration;
- and
- remove the pixel group from the first image, and divide the first image subjected to the removal into a plurality of divisional areas.
An output device for outputting information about excrement, comprising:
- a processor;
- and
- a memory, wherein
- the processor is configured to:
- acquire a first image covering the excrement captured by a camera to photograph an inside of a bowl of a toilet, the first image containing one or more color components,
- detect whether the first image contains an image of the excrement,
- divide the acquired first image into a plurality of divisional areas,
- calculate an area representative value including a representative value of each of the color components of each of the divisional areas, and
- output the calculated area representative value, wherein
- the dividing operation divides the first image by a predetermined number of pixels in a vertical direction and a horizontal direction, into the divisional areas containing pixels of the excrement when the detecting operation detects that the first image contains the image of the excrement,
- a pixel value of each of all pixels included in each of the divisional areas is set to the area representative value corresponding to each of the divisional areas, and
- the calculating operation calculates an area representative value of the divided divisional areas using only pixels of the excrement for the divided divisional area containing a contour of the image of the excrement, and
- the processor is further configured to:
- acquire a second image not covering the excrement captured by the camera;
- extract, from the acquired second image, a pixel group including pixels constituting a stain adhered to the toilet, the pixel group being calculated in advance through calibration,
- store the pixel group in the memory;
- and
- remove the pixel group from the first image, and divide the first image subjected to the removal into a plurality of divisional areas.
A method for an output device that outputs information about excrement, by a processor included in the output device, comprising:
- acquiring a first image covering the excrement captured by a camera to photograph an inside of a bowl of a toilet, the first image containing one or more color components;
- detecting whether the first image contains an image of the excrement;
- dividing the acquired first image into a plurality of divisional areas;
- calculating an area representative value including a representative value of each of the color components of each of the divisional areas;
- and
- outputting the calculated area representative value, wherein
- the dividing operation divides the first image by a predetermined number of pixels in a vertical direction and a horizontal direction, into the divisional areas containing pixels of the excrement when the detecting operation detects that the first image contains the image of the excrement,
- a pixel value of each of all pixels included in each of the divisional areas is set to the area representative value corresponding to each of the divisional areas, and
- the calculating operation calculates an area representative value of the divided divisional areas using only pixels of the excrement for the divided divisional area containing a contour of the image of the excrement, wherein the method further comprises performing with the processor:
- acquiring a second image not covering the excrement captured by the camera;
- extracting, from the acquired second image, a pixel group including pixels constituting a drain hole of the toilet;
- storing the pixel group in a memory, the pixel group being calculated in advance through calibration;
- and
- removing the pixel group from the first image, and dividing the first image subjected to the removal into a plurality of divisional areas.
A non-transitory computer-readable recording medium storing a program for causing a computer to serve as an output device that outputs information about excrement, comprising:
- causing a processor included in the output device to execute:
- acquiring a first image covering the excrement captured by a camera to photograph an inside of a bowl of a toilet, the first image containing one or more color components;
- detecting whether the first image contains an image of the excrement;
- dividing the acquired first image into a plurality of divisional areas;
- calculating an area representative value including a representative value of each of the color components of each of the divisional areas;
- and
- outputting the calculated area representative value, wherein
- the dividing operation divides the first image by a predetermined number of pixels in a vertical direction and a horizontal direction, into the divisional areas containing pixels of the excrement when the detecting operation detects that the first image contains the image of the excrement,
- a pixel value of each of all pixels included in each of the divisional areas is set to the area representative value corresponding to each of the divisional areas, and
- the calculating operation calculates an area representative value of the divided divisional areas using only pixels of the excrement for the divided divisional area containing a contour of the image of the excrement,
- the program further causing the processor to further execute:
- acquiring second image not covering the excrement captured by the camera;
- extracting, from the acquired second image, a pixel group including pixels constituting a drain hole of the toilet;
- storing the pixel group in a memory, the pixel group being calculated in advance through calibration;
- and
- removing the pixel group from the first image, and dividing the first image subjected to the removal into a plurality of divisional areas.
Dependencies are inferred from the claim text.