Room shape estimation device, air conditioning system, room shape estimation method and program

The room shape estimation device uses thermal imaging and controlled air direction changes to efficiently determine room shape, addressing inefficiencies in existing technologies and enabling tailored air conditioning.

JP7884224B2Active Publication Date: 2026-07-03PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
Filing Date
2021-02-22
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

Existing room shape estimation technologies require time-consuming accumulation and storage of movement data, making them inefficient for rapid room shape determination.

Method used

A room shape estimation device using a thermal image sensor to detect temperature changes in a room, employing reference temperature bands and controlled air direction changes to determine room regions, which are then used to estimate the room's shape.

Benefits of technology

Enables rapid and efficient estimation of room shape based on thermal image analysis, facilitating effective air conditioning control tailored to the room's geometry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007884224000005
    Figure 0007884224000005
  • Figure 0007884224000006
    Figure 0007884224000006
  • Figure 0007884224000007
    Figure 0007884224000007
Patent Text Reader

Abstract

To provide a room shape estimation device that can easily estimate the shape of a room.SOLUTION: A room shape estimation device 10 estimates the shape of a room by using a thermal image obtained by detecting, with a thermal image sensor 30, the temperature of an area within a certain range of the room installed with an indoor unit 20, and the device comprises: a reference temperature band determination unit 11 that determines a first reference temperature band and a second reference temperature band according to the temperature of conditioning air blown out of the indoor unit 20; a control unit 12 that, in a first period, causes the indoor unit 20 to blow out the conditioning air in a first direction, and in a second period after the first period, causes the indoor unit 20 to blow out the conditioning air in a second direction different from the first direction; an area determination unit 13 that determines a first area belonging to the first reference temperature band in the thermal image obtained in the first period, and determines a second area belonging to the second reference temperature band in the thermal image obtained in the second period; and an estimation unit 14 that estimates the shape of the room based on the determined first area and second area.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This disclosure relates to a room shape estimation device, an air conditioning system, a room shape estimation method, and a program for estimating the shape of a room. [Background technology]

[0002] Conventionally, indoor information detection devices have been disclosed that detect information such as the shape of a room by accumulating and storing information such as the range of movement of people detected using thermal images of the room (for example, Patent Document 1). [Prior art documents] [Patent Documents]

[0003] [Patent Document 1] Patent No. 2707382 [Overview of the Initiative] [Problems that the invention aims to solve]

[0004] However, the technology disclosed in Patent Document 1 requires accumulating and storing information such as the range of movement of people, which makes it time-consuming to estimate the shape of a room.

[0005] This disclosure provides a room shape estimation device that can easily estimate the shape of a room. [Means for solving the problem]

[0006] The room shape estimation device in this disclosure estimates the shape of a room using a thermal image obtained by detecting the temperature of a certain range of a room in which an indoor unit is installed using a thermal image sensor, and comprises: a reference temperature band determination unit that determines a first reference temperature band and a second reference temperature band according to the temperature of the conditioned air blown out from the indoor unit; a control unit that blows out conditioned air from the indoor unit in a first direction during a first period and blows out conditioned air from the indoor unit in a second direction different from the first direction during a second period after the first period; a region determination unit that determines a first region belonging to the first reference temperature band in the thermal image obtained during the first period and determines a second region belonging to the second reference temperature band in the thermal image obtained during the second period; and an estimation unit that estimates the shape of the room based on the determined first region and second region.

[0007] The air conditioning system in this disclosure comprises the room shape estimation device described above, the indoor unit, and the thermal image sensor.

[0008] The room shape estimation method in this disclosure is a room shape estimation method that estimates the shape of a room using a thermal image obtained by detecting the temperature of a certain range of area in a room in which an indoor unit is installed using a thermal image sensor, and includes: a reference temperature band determination step of determining a first reference temperature band and a second reference temperature band according to the temperature of the conditioned air blown out from the indoor unit; a first control step of blowing out conditioned air from the indoor unit in a first direction during a first period; a first region determination step of determining a first region belonging to the first reference temperature band in the thermal image obtained during the first period; a second control step of blowing out conditioned air from the indoor unit in a second direction different from the first direction during a second period after the first period; a second region determination step of determining a second region belonging to the second reference temperature band in the thermal image obtained during the second period; and an estimation step of estimating the shape of the room based on the determined first region and second region.

[0009] The program in the present disclosure is a program for causing a computer to execute the above-described room shape estimation method.

Effect of the Invention

[0010] According to the room shape estimation device etc. in the present disclosure, the shape of the room can be easily estimated.

Brief Description of the Drawings

[0011] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of an air conditioning system according to an embodiment. [Figure 2] FIG. 2 is a flowchart showing an example of the operation of the room shape estimation device according to an embodiment. [Figure 3] FIG. 3 is a diagram showing an example of a room to which the air conditioning system according to an embodiment is applied. [Figure 4] FIG. 4 is a flowchart showing a specific example of the operation of the room shape estimation device according to an embodiment. [Figure 5] FIG. 5 is a diagram showing an example of the number of pixels of a thermal image. [Figure 6] FIG. 6 is a flowchart for explaining the end condition of the first period. [Figure 7] FIG. 7 is a diagram showing an example of pixels belonging to the first reference temperature band. [Figure 8] FIG. 8 is a flowchart showing an example of the determination method of the first region. [Figure 9] FIG. 9 is a diagram showing contour pixels. [Figure 10] FIG. 10 is a diagram for explaining the determination method of the upper base. [Figure 11] FIG. 11 is a diagram for explaining the determination method of the left hypotenuse and the right hypotenuse. [Figure 12] FIG. 12 is a diagram for explaining the determination method of the lower base. [Figure 13] FIG. 13 is a diagram showing an example of the first region. [Figure 14] FIG. 14 is a flowchart for explaining the end condition of the second period. [Figure 15] Figure 15 shows an example of a pixel belonging to the second reference temperature band. [Figure 16] Figure 16 is a flowchart showing an example of a method for estimating the shape of a room. [Figure 17] Figure 17 is a diagram illustrating the method for estimating the shape of a room. [Figure 18] Figure 18 is a diagram illustrating the method for estimating the shape of a room. [Figure 19] Figure 19 is a diagram illustrating the method for estimating the shape of a room. [Figure 20] Figure 20 is a diagram illustrating the method for estimating the shape of a room. [Figure 21] Figure 21 is a diagram illustrating the method for estimating the shape of a room. [Modes for carrying out the invention]

[0012] The embodiments will be described in detail below, with reference to the drawings as appropriate. However, unnecessary details may be omitted. For example, detailed explanations of already well-known matters and redundant explanations of substantially identical configurations may be omitted. This is to avoid the following explanation becoming unnecessarily verbose and to facilitate understanding for those skilled in the art.

[0013] The inventors provide the accompanying drawings and the following description so that those skilled in the art can fully understand the disclosure, and not to limit the subject matter described in the claims.

[0014] (Embodiment) The air conditioning system and room shape estimation device according to the embodiment will be described below with reference to Figures 1 to 21.

[0015] Figure 1 shows an example of the configuration of an air conditioning system 1 according to an embodiment.

[0016] Air conditioning system 1 is a system that harmonizes the air inside a room and estimates the shape of the room. The system comprises a room shape estimation device 10, an indoor unit 20 such as an air conditioner installed in the room, and a thermal image sensor 30 mounted on the indoor unit 20. The air conditioning system 1 controls the conditioned air blown out from the indoor unit according to the room shape estimated by the room shape estimation device 10.

[0017] The indoor unit 20 is installed, for example, on the wall of a room. Alternatively, the indoor unit 20 may be installed on the ceiling of a room. For example, the indoor unit 20 has a heating and cooling function and can blow out conditioned air at a temperature suitable for cooling and conditioned air at a temperature suitable for heating.

[0018] The thermal image sensor 30 has an infrared sensor and detects the heat distribution in the room at predetermined intervals by scanning the room with the infrared sensor. The predetermined interval is not particularly limited, but for example it is 1 second. The thermal image sensor 30 outputs a thermal image showing the heat distribution or data for generating a thermal image.

[0019] The room shape estimation device 10 is a device that estimates the shape of a room using a thermal image obtained by detecting the temperature of a certain area in the room in which the indoor unit 20 is installed using a thermal image sensor 30. The room shape estimation device 10 is a computer having a processor and memory. The memory is ROM (Read Only Memory) and RAM (Random Access Memory), and can store programs executed by the processor. The room shape estimation device 10 comprises a reference temperature band determination unit 11, a control unit 12, an area determination unit 13, and an estimation unit 14. The reference temperature band determination unit 11, the control unit 12, the area determination unit 13, and the estimation unit 14 are realized by a processor that executes a program stored in memory. The room shape estimation device 10 may be mounted on the indoor unit 20, or it may be provided separately from the indoor unit 20. For example, the room shape estimation device 10 may be realized by a server. Also, each component constituting the room shape estimation device 10 may be distributed and arranged on multiple servers.

[0020] The reference temperature band determination unit 11 determines the first reference temperature band and the second reference temperature band. Details of the operation of the reference temperature band determination unit 11 will be described later.

[0021] During the first period, the control unit 12 blows conditioned air from the indoor unit 20 in a first direction, and during the second period following the first period, it blows conditioned air from the indoor unit 20 in a second direction different from the first direction. Details of the operation of the control unit 12 will be described later.

[0022] The region determination unit 13 determines a first region belonging to a first reference temperature band in the thermal image obtained during the first period, and determines a second region belonging to a second reference temperature band in the thermal image obtained during the second period. Details of the operation of the region determination unit 13 will be described later.

[0023] The estimation unit 14 estimates the shape of the room based on the determined first and second regions. Details of the operation of the estimation unit 14 will be described later.

[0024] Next, the operation of the room shape estimation device 10 will be explained in detail using Figure 2.

[0025] Figure 2 is a flowchart showing an example of the operation of the room shape estimation device 10 according to the embodiment.

[0026] First, the reference temperature band determination unit 11 determines the first reference temperature band and the second reference temperature band (step S11). The first reference temperature band and the second reference temperature band are temperature bands corresponding to the temperature of the conditioned air blown out from the indoor unit 20. For example, when the indoor unit 20 is in an operating mode that uses the cooling function, these will be temperature bands corresponding to the temperature of the cooling function. Furthermore, the first and second reference temperature bands are, for example, temperature bands corresponding to the heating temperature when the indoor unit 20 is in an operating mode that uses the heating function. In other words, the reference temperature band determination unit 11 determines the first and second reference temperature bands according to the operating mode of the indoor unit 20.

[0027] For example, the reference temperature band determination unit 11 determines the first reference temperature band and the second reference temperature band to be different temperature bands. Specifically, when the temperature of the conditioned air blown out from the indoor unit 20 corresponds to a temperature that corresponds to cooling (i.e., when the indoor unit 20 is in an operating mode that uses the cooling function), the reference temperature band determination unit 11 determines the first reference temperature band to be a temperature band from the lowest temperature in the thermal image obtained in the first period to a temperature that is a predetermined reference temperature higher, and determines the second reference temperature band to be a temperature band from the lowest temperature in the thermal image obtained in the second period to a temperature that is a predetermined reference temperature higher. Also, when the temperature of the conditioned air blown out from the indoor unit 20 corresponds to a temperature that corresponds to heating (i.e., when the indoor unit 20 is in an operating mode that uses the heating function), the reference temperature band determination unit 11 determines the first reference temperature band to be a temperature band from the highest temperature in the thermal image obtained in the first period to a temperature that is a predetermined reference temperature lower, and determines the second reference temperature band to be a temperature band from the highest temperature in the thermal image obtained in the second period to a temperature that is a predetermined reference temperature lower. The predetermined reference temperature is not particularly limited, but for example, it is set to a temperature of around 1°C to 2°C. The predetermined reference temperature in the first reference temperature band during cooling, the predetermined reference temperature in the second reference temperature band during cooling, the predetermined reference temperature in the first reference temperature band during heating, and the predetermined reference temperature in the second reference temperature band during heating may all be the same temperature, may all be different temperatures, or may some be different temperatures while others are the same temperature.

[0028] Next, the control unit 12 blows conditioned air from the indoor unit 20 in a first direction during the first period (step S12), and the region determination unit 13 determines a first region belonging to a first reference temperature band in the thermal image obtained during the first period (step S13). If the indoor unit 20 is installed on the wall of the room, the first direction may be downward (diagonally downward and forward from the indoor unit 20), upward (diagonally upward and forward from the indoor unit 20), to the right, or to the left. The first period is the period during which conditioned air is continuously blown from the indoor unit 20 in a first direction in order to change the temperature of the wall or floor located in the first direction from the indoor unit 20. During the first period, conditioned air is blown out from the indoor unit 20 in a first direction, causing the temperature of the wall or floor in that direction to gradually change, and the heat distribution in the thermal image obtained at predetermined intervals by the thermal image sensor 30 also gradually changes. The first period ends when the heat distribution in the thermal image satisfies a certain condition, and the first region is determined based on the pixels belonging to the first reference temperature band in the thermal image at that time. As will be described in detail later, for example, the first period is the period from when conditioned air is blown out from the indoor unit 20 in a first direction until the number of pixels belonging to the first reference temperature band in the thermal image exceeds a predetermined number, and the difference between the average temperature of the pixels belonging to the first reference temperature band and the average temperature of the pixels not belonging to the first reference temperature band exceeds a predetermined temperature.

[0029] Next, the control unit 12 blows conditioned air from the indoor unit 20 in a second direction during the second period (step S14), and the region determination unit 13 determines a second region belonging to a second reference temperature band in the thermal image obtained during the second period (step S15). The second direction is different from the first direction. If the indoor unit 20 is installed on the wall of a room, for example, if the first direction is downward when viewed from the indoor unit 20, the second direction may be upward when viewed from the indoor unit 20, to the right when viewed from the indoor unit 20, or to the left when viewed from the indoor unit 20. The second period is the period during which conditioned air is continuously blown from the indoor unit 20 in a second direction in order to change the temperature of the wall or floor, etc., located in the second direction from the indoor unit 20. The second period is the period following the first period, in which conditioned air is blown from the indoor unit 20 in a first direction during the first period, and subsequently in the second period, conditioned air is blown from the indoor unit 20 in a second direction Harmonized air is blown out. In the second period, after the temperature of the wall or floor in the first direction has changed, harmonized air is blown out from the indoor unit 20 in the second direction, causing the temperature of the wall or floor in the second direction to change, and the heat distribution in the thermal image obtained by the thermal image sensor 30 also gradually changes from the heat distribution at the end of the first period. The second period ends when the heat distribution in the thermal image satisfies a certain condition, and the second region is determined based on the pixels belonging to the second reference temperature band in the thermal image at that time. As will be described in detail later, for example, the second period is the period from when harmonized air is blown out from the indoor unit 20 in the second direction until the number of pixels belonging to the second reference temperature band in the thermal image exceeds a predetermined number, and the difference between the average temperature of the pixels belonging to the second reference temperature band and the average temperature of the pixels not belonging to the second reference temperature band exceeds a predetermined temperature.

[0030] Then, the estimation unit 14 estimates the shape of the room based on the determined first and second regions (step S16). For example, the estimation unit 14 estimates the shape of the room by estimating the boundaries between the faces of the room based on the contours of the first or second region. Specific examples of methods for estimating the shape of the room will be described later.

[0031] Next, the operation of the room shape estimation device 10 will be explained with a specific example. For example, suppose that the air conditioning system 1 is applied to a room as shown in Figure 3.

[0032] Figure 3 shows an example of a room to which the air conditioning system 1 according to the embodiment is applied.

[0033] Assume that the indoor unit 20 and the thermal image sensor 30 are installed above the front wall of the room shown in Figure 3 (the wall opposite the front wall shown in Figure 3).

[0034] Furthermore, the first direction is downward when viewed from the indoor unit 20, and the second direction is upward when viewed from the indoor unit 20. Also, the temperature of the conditioned air blown out from the indoor unit 20 is assumed to be the temperature corresponding to cooling.

[0035] Figure 4 is a flowchart showing a specific example of the operation of the room shape estimation device 10 according to the embodiment.

[0036] First, the control unit 12 blows conditioned air downward from the indoor unit 20 (step S101). The control unit 12 continues to blow conditioned air downward from the indoor unit 20 until the first region is determined in step S105, which will be described later.

[0037] Next, the region determination unit 13 acquires a thermal image (step S102). An example of the number of pixels in the thermal image is shown in Figure 5.

[0038] Figure 5 shows an example of the number of pixels in a thermal image.

[0039] The thermal image only needs to contain enough images to draw boundaries to identify the shape of the room (floor, left wall, front wall, right wall, floor). Note that Figure 5 shows the shape of the room in the same way as a normal image to indicate where each pixel of the thermal image corresponds to in the room, but in reality, the thermal image only displays the heat distribution and does not display the shape of the room in the same way as a normal image. For example, the thermal image sensor 30 is facing diagonally downwards and forward, and as shown in Figure 5, the thermal image does not include pixels corresponding to the ceiling. In the following explanation, as an example of the number of pixels in the thermal image, we will assume that there are 20 pixels vertically and 100 pixels horizontally.

[0040] Cooled conditioned air is blown downwards from the indoor unit 20, reaching the floor and front wall of the room. As the area cools, the pixel value of the pixel corresponding to the cooled area (hereinafter referred to as the pixel temperature) changes.

[0041] Returning to the explanation in Figure 4, the region determination unit 13 extracts pixels belonging to a first reference temperature band in the acquired thermal image (step S103). Specifically, the region determination unit 13 obtains the temperature of each pixel in the acquired thermal image and extracts pixels belonging to a first reference temperature band from the lowest temperature to a temperature higher than a predetermined reference temperature. For example, if the lowest temperature at this point is 25°C and the predetermined reference temperature is 2°C, the region determination unit 13 extracts pixels belonging to the first reference temperature band from 25°C to 27°C.

[0042] Next, the region determination unit 13 determines whether or not to use the current thermal image (step S104). Since the first period ends when it is determined that the current thermal image should be used, step S104 can be said to be a process that determines whether or not the conditions for ending the first period have been met. Here, the conditions for ending the first period will be explained using Figure 6.

[0043] Figure 6 is a flowchart illustrating the termination conditions for the first period.

[0044] The region determination unit 13 determines whether the number of pixels belonging to the first reference temperature band is greater than or equal to a predetermined number (step S1041). The predetermined number is not particularly limited, but is set according to, for example, the size of the room. This determination is made to exclude cases where only a part of the front wall and floor is cold, and the majority is not.

[0045] If the number of pixels belonging to the first reference temperature band is less than a predetermined number (No in step S1041), the process from step S102 is repeated after a predetermined time. In other words, the first period does not end, and conditioned air continues to be blown downward, and the process from step S102 is repeated with an increased area of ​​the room's front wall and floor cooled.

[0046] If the number of pixels belonging to the first reference temperature band is greater than or equal to a predetermined number (Yes in step S1041), the region determination unit 13 determines whether the difference between the average temperature of the pixels belonging to the first reference temperature band and the average temperature of the pixels not belonging to the first reference temperature band is greater than or equal to a predetermined temperature (step S1042). The predetermined temperature is not particularly limited, but is set according to, for example, the cooling function of the indoor unit 20. This determination is made to exclude cases where the front wall and floor of the room have not cooled down completely, the lowest temperature among the temperatures of each pixel in the thermal image is high, and there is not much temperature difference between the pixels belonging to the first reference temperature band and the pixels not belonging to the first reference temperature band.

[0047] If the difference between the average temperature of pixels belonging to the first reference temperature band and the average temperature of pixels not belonging to the first reference temperature band is less than a predetermined temperature (No in step S1042), the process from step S102 is repeated after a predetermined time. In other words, the first period does not end, and conditioned air continues to be blown downward, so that the temperature of pixels belonging to the first reference temperature band becomes even lower, and the process from step S102 is repeated.

[0048] If the difference between the average temperature of pixels belonging to the first reference temperature band and the average temperature of pixels not belonging to the first reference temperature band is greater than or equal to a predetermined temperature (Yes in step S1042), the processing in step S105 is performed and the first period ends.

[0049] Returning to the explanation in Figure 4, if the region determination unit 13 determines that the current thermal image is not to be used (No in step S104), that is, if No is obtained in step S1041 or step S1042 shown in Figure 6, the next thermal image is obtained when conditioned air is further applied to the front wall and floor of the room, and the determination shown in Figure 6 is made using the next thermal image.

[0050] If the region determination unit 13 determines to use the current thermal image (Yes in step S104), that is, if Yes is given in steps S1041 and S1042 shown in Figure 6, it determines the first region using the current thermal image at that time (step S105). For example, Figure 7 shows pixels belonging to the first reference temperature band of the current thermal image that has been determined to be used.

[0051] Figure 7 shows an example of a pixel belonging to the first reference temperature band.

[0052] As shown in Figures 5 and 7, it can be seen that the pixels corresponding to the floor and the lower part of the front wall of the room belong to the first reference temperature band due to the downward-flowing conditioned air from the indoor unit 20. Here, the method for determining the first region will be explained using Figure 8.

[0053] Figure 8 is a flowchart showing an example of a method for determining the first region.

[0054] First, the region determination unit 13 determines contour pixels based on pixels belonging to the first reference temperature band (step S1051). For example, each pixel is flag i,j Let i = 1 to 20 and j = 1 to 100, with pixels belonging to the first reference temperature band set to 1 and pixels not belonging to the first reference temperature band set to 0. When each pixel is represented as a matrix, we get the following equation 1.

[0055]

number

[0056] Regarding the above F, when expanding the surrounding elements, the following Equation 2 is obtained.

[0057] [Number]

[0058] And regarding the above F', by using the filter represented by the following Equation 3 and performing the first derivative as shown in the following Equation 4, for each pixel flag in H i,j the corresponding edge k,l (k = 1 to 20, l = 1 to 100), those with a value of 1 become contour pixels.

[0059] [Number] [Number]

[0060] Figure 9 is a diagram showing contour pixels. It can be seen that it forms the contour of the pixels belonging to the first reference temperature band shown in Figure 7. Hereinafter, in order to determine the trapezoid surrounding the contour pixels as the first region, the upper base L T , the left hypotenuse L L , the right hypotenuse L R , the lower base L B1 will be explained about the method of determination.

[0061] Returning to the explanation in Figure 8, the region determination unit 13 determines the horizontal line passing through the uppermost pixel among the contour pixels as the upper base L T . The method of determining the upper base L T will be explained using Figure 10.

[0062] Figure 10 is a diagram for explaining the method of determining the upper base L T .

[0063] Among the contour pixels, the uppermost pixel is the edge with the smallest k among the edges k,l with a value of 1, that is, the edge k,lThese are the pixels corresponding to the upper base L, as shown in Figure 10. T It is possible to make a decision.

[0064] Returning to the explanation in Figure 8, the region determination unit 13 selects a combination of two points from the contour pixels (step S1053). Note that the loop from step S1054 to step S1063 is performed for all combinations of two points from the contour pixels.

[0065] Next, the region determination unit 13 determines a straight line passing through the two selected points (step S1054) and determines whether the straight line passing through the two points is an outer tangent to the contour (step S1055). The region determination unit 13 determines that if the straight line passing through the two points passes through any other points on the contour, the straight line passing through the two points is not an outer tangent to the contour, and determines that if the straight line passing through the two points does not pass through any other points on the contour, the straight line passing through the two points is an outer tangent to the contour.

[0066] If the line passing through the two points is not an outer tangent to the contour (No in step S1055), the region determination unit 13 determines whether all combinations of two points among the contour pixels have been selected (step S1063). If no combinations of two points have been selected (No in step S1063), the processing from step S1053 is performed for the other combinations of two points that have not yet been selected.

[0067] If the line passing through the two points is the outer tangent to the contour (Yes in step S55), the region determination unit 13 determines whether the line passing through the two points slopes downward to the right (step S1056).

[0068] If the line passing through the two points is not sloping downwards to the right (No in step S1056), specifically if the line passing through the two points is sloping downwards to the left, the region determination unit 13 determines the vertical distance between the two points (i.e., the two edges) k,lIt is determined whether the difference between each of the k values ​​is greater than the vertical distance of the provisional left hypotenuse (step S1057). The provisional left hypotenuse is the provisional left hypotenuse determined in step S1059, and if the processing in step S1059 has not yet been performed, it is determined that the vertical distance between the two points is greater than the vertical distance of the provisional left hypotenuse.

[0069] If the vertical distance between two points is less than or equal to the vertical distance of the provisional left hypotenuse (No in step S1057), the process in step S1063 is performed. If not all combinations of two points have been selected, the process from step S1053 is performed for the remaining combinations of two points that have not yet been selected.

[0070] If the vertical distance between two points is greater than the vertical distance of the provisional left hypotenuse (Yes in step S1057), the region determination unit 13 determines the vertical distance between the two points to be the vertical distance of the provisional left hypotenuse (step S1058), and determines the line passing through the two points as the provisional left hypotenuse (step S1059). Then, the processing in step S1063 is performed, and if not all combinations of two points have been selected, the processing from step S1053 onwards is performed for the remaining combinations of two points that have not yet been selected.

[0071] If the line passing through the two points slopes downward to the right (Yes in step S1056), the region determination unit 13 determines whether the vertical distance between the two points is greater than the vertical distance of the provisional right hypotenuse (step S1060). The provisional right hypotenuse is the provisional right hypotenuse determined in step S1062, and if the process in step S1062 has not yet been performed, it is determined that the vertical distance between the two points is greater than the vertical distance of the provisional right hypotenuse.

[0072] If the vertical distance between two points is less than or equal to the vertical distance of the provisional right hypotenuse (No in step S1060), the process in step S1063 is performed. If not all combinations of two points have been selected, the process from step S1053 is performed for the remaining combinations of two points that have not yet been selected.

[0073] If the vertical distance between two points is greater than the vertical distance of the provisional right hypotenuse (Yes in step S1060), the region determination unit 13 determines the vertical distance between the two points to be the vertical distance of the provisional right hypotenuse (step S1061), and determines the line passing through the two points as the provisional right hypotenuse (step S1062). Then, the process in step S1063 is performed, and if not all combinations of two points have been selected, the process from step S1053 is performed for the other combinations of two points that have not yet been selected.

[0074] Then, if the region determination unit 13 selects all combinations of two points (Yes in step S1063), it determines the line that is ultimately the provisional left hypotenuse to be the left hypotenuse L. L The final decision was made to use the straight line that is provisionally the right hypotenuse as the right hypotenuse L. R The decision is made (step S1064).

[0075] Figure 11 shows the left hypotenuse L. L , right hypotenuse L R This is a diagram to explain the method of determination.

[0076] As shown in Figure 11, among all the lines passing through any two points, the left hypotenuse L is the circumtangency of the contour, slopes downward to the left, and has the greatest vertical distance between the two points. L Furthermore, among all the lines passing through any two points, the one that is the outer tangent to the contour, slopes downward to the right, and has the greatest vertical distance between the two points is the right hypotenuse L. R This is the result.

[0077] Returning to the explanation in Figure 8, the region determination unit 13 uses a horizontal line passing through the lowest pixel among the contour pixels as the lower base L. B1 Determined to be (step S1065). Bottom base L B1 The method for determining this will be explained using Figure 12.

[0078] Figure 12 shows the lower base L. B1 This is a diagram to explain the method of determination.

[0079] The bottommost pixel among the contour pixels is an edge with a value of 1. k,l The edge with the largest k among them k,l This corresponds to the pixel, and as shown in Figure 12, the lower base L B1 It is possible to make a decision.

[0080] Returning to the explanation in Figure 8, the region determination unit 13 is the upper base L T Left hypotenuse L L , right hypotenuse L R , lower base L B1 A trapezoid formed by these elements is determined as the first region (step S1066).

[0081] Figure 13 shows an example of the first region.

[0082] For example, the dashed trapezoid shown in Figure 13 is determined to be the first region.

[0083] Returning to the explanation in Figure 4, the control unit 12 blows conditioned air upward from the indoor unit 20 (step S106). The control unit 12 continues to blow conditioned air upward from the indoor unit 20 until the second region is determined in step S110, which will be described later.

[0084] Next, the region determination unit 13 acquires a thermal image (step S107).

[0085] Cooled conditioned air is blown upward from the indoor unit 20, which cools the front wall of the room, and the temperature of the pixels corresponding to the cooled area changes.

[0086] Next, the region determination unit 13 extracts pixels belonging to a second reference temperature band in the acquired thermal image (step S108). Specifically, the region determination unit 13 obtains the temperature of each pixel in the acquired thermal image and extracts pixels belonging to a second reference temperature band from the lowest temperature to a temperature higher than a predetermined reference temperature. For example, if the lowest temperature at this point is 20°C and the predetermined reference temperature is 1°C, the region determination unit 13 extracts pixels belonging to the second reference temperature band from 20°C to 21°C.

[0087] Next, the region determination unit 13 determines whether or not to use the current thermal image (step S109). Since the second period ends when it is determined that the current thermal image should be used, step S109 can be said to be a process that determines whether or not the conditions for ending the second period have been met. Here, the conditions for ending the second period will be explained using Figure 14.

[0088] Figure 14 is a flowchart illustrating the termination conditions for the second period.

[0089] The region determination unit 13 determines whether the number of pixels belonging to the second reference temperature band is greater than or equal to a predetermined number (step S1091). The predetermined number is not particularly limited, but is set according to, for example, the size of the room. This determination is made to exclude cases where only a part of the front wall is cooled and the majority is not.

[0090] If the number of pixels belonging to the second reference temperature band is less than a predetermined number (No in step S1091), the process from step S107 is repeated after a predetermined time. In other words, the second period does not end, and conditioned air continues to be blown upward, and the process from step S107 is repeated with the cooled area on the front wall of the room having increased.

[0091] If the number of pixels belonging to the second reference temperature band is greater than or equal to a predetermined number (Yes in step S1091), the region determination unit 13 determines whether the difference between the average temperature of the pixels belonging to the second reference temperature band and the average temperature of the pixels not belonging to the second reference temperature band is greater than or equal to a predetermined temperature (step S1092). The predetermined temperature is not particularly limited, but is set according to, for example, the cooling function of the indoor unit 20. This determination is made to exclude cases where the front wall of the room has not cooled down completely, the lowest temperature among the temperatures of each pixel in the thermal image is high, and there is not much temperature difference between the pixels belonging to the second reference temperature band and the pixels not belonging to the second reference temperature band.

[0092] If the difference between the average temperature of pixels belonging to the second reference temperature band and the average temperature of pixels not belonging to the second reference temperature band is less than a predetermined temperature (No in step S1092), the process from step S107 is repeated after a predetermined time. In other words, the second period does not end, and conditioned air continues to be blown upward, so that the temperature of pixels belonging to the second reference temperature band becomes even lower, and the process from step S107 is repeated.

[0093] If the difference between the average temperature of pixels belonging to the second reference temperature band and the average temperature of pixels not belonging to the second reference temperature band is greater than or equal to a predetermined temperature (Yes in step S1092), the processing in step S110 is performed and the second period ends.

[0094] Returning to the explanation in Figure 4, if the region determination unit 13 determines that the current thermal image is not to be used (No in step S109), that is, in step S1091 or step S shown in Figure 14, If the result is No at 1092, the next thermal image is obtained when conditioned air is further applied to the front wall of the room, and the determination shown in Figure 14 is made using the next thermal image.

[0095] If the region determination unit 13 determines to use the current thermal image (Yes in step S109), that is, if Yes is given in steps S1091 and S1092 shown in Figure 14, it determines the second region using the current thermal image at that time (step S110). For example, Figure 15 shows pixels belonging to the second reference temperature band of the current thermal image that has been determined to be used.

[0096] Figure 15 shows an example of a pixel belonging to the second reference temperature band.

[0097] As shown in Figures 5 and 15, it can be seen that the pixels corresponding to the upper part of the front wall of the room belong to the second reference temperature band due to the conditioned air flowing upward from the indoor unit 20. For example, the region determination unit 13 determines the pixels belonging to the second reference temperature band as the second region. For example, in the second period, the flag belonging to the second reference temperature band i,j(i=1~20, j=1~100) is 1, and flags that do not belong to the second reference temperature range i,j Set to 0, flag i,j The pixels with a value of 1 are defined as the second region.

[0098] Returning to the explanation in Figure 4, the estimation unit 14 estimates the shape of the room based on the first and second regions (step S111). The method for estimating the shape of the room will be explained using Figures 16 to 21.

[0099] Figure 16 is a flowchart showing an example of a method for estimating the shape of a room.

[0100] Figures 17 to 21 are diagrams illustrating the method for estimating the shape of a room.

[0101] First, the estimation unit 14 determines the horizontal line L that passes through the lowest pixel in the second region. B2 Determine (step S1111). Line L B2 The method for determining this will be explained using Figure 17.

[0102] The bottommost pixel in the second region is a flag with a value of 1. i,j The flag with the largest i among them i,j These are pixels corresponding to the line L, as shown in Figure 17. B2 It is possible to make a decision.

[0103] Next, the estimation unit 14 calculates the left hypotenuse L L and line L B2 Intersection point a, right hypotenuse L R and line L B2 Calculate the intersection point b (step S1112). It can be seen that intersection points a and b can be calculated as shown in Figure 18.

[0104] Next, the estimation unit 14 determines the line segment from intersection point a to the pixel at the vertically upward end (the upper edge of the thermal image) as the boundary between the left wall and the front wall, and the line segment from intersection point b to the pixel at the vertically upward end as the boundary between the right wall and the front wall (step S1113). It can be seen that the boundary between the left wall and the front wall and the boundary between the right wall and the front wall can be determined as shown in Figure 19.

[0105] Next, the estimation unit 14 calculates the left hypotenuse L L The line segment below the intersection point a is determined to be the boundary between the left wall and the floor, and the right hypotenuse L R The line segment below intersection point b is determined to be the boundary between the right wall and the floor, and the line segment connecting intersection point a and intersection point b is determined to be the boundary between the front wall and the floor (step S1114). It can be seen that the boundaries between the left wall and the floor, the boundary between the right wall and the floor, and the boundary between the front wall and the floor can be determined as shown in Figure 20.

[0106] The estimation unit 14 can then estimate from each determined boundary that the shape of the room is as shown in Figure 21.

[0107] As described above, the room shape estimation device 10 is a device that estimates the shape of a room using a thermal image obtained by detecting the temperature of a certain range of the room in which the indoor unit 20 is installed using a thermal image sensor 30. The room shape estimation device 10 includes a reference temperature band determination unit 11 that determines a first reference temperature band and a second reference temperature band according to the temperature of the conditioned air blown out from the indoor unit 20, a control unit 12 that blows out conditioned air from the indoor unit 20 in a first direction during a first period and blows out conditioned air from the indoor unit 20 in a second direction different from the first direction during a second period after the first period, a region determination unit 13 that determines a first region belonging to the first reference temperature band in the thermal image obtained during the first period and determines a second region belonging to the second reference temperature band in the thermal image obtained during the second period, and an estimation unit 14 that estimates the shape of the room based on the determined first and second regions.

[0108] According to this, in the first period, a first region such as a wall or floor that experienced a temperature change in a first direction due to the conditioned air blown out from the indoor unit 20 can be determined, and in the second period, a second region such as a wall or floor that experienced a temperature change in a second direction can be determined by the conditioned air blown out from the indoor unit 20. Since the first and second regions correspond to the shapes of the walls or floors that experienced temperature changes due to the conditioned air, the shape of the room can be easily estimated based on the first and second regions. Knowing the shape of the room makes it possible to control the air conditioner according to the shape of the room (specifically, airflow control along the walls), enabling air conditioning that is suitable for the shape of the room. In addition, because thermal images can be used, it is possible to identify places where people tend to feel hot or cold, which changes depending on the season or weather, and blow conditioned air into those places, thereby realizing a comfortable air-conditioned environment.

[0109] For example, the first period may be the period from when conditioned air is blown out from the indoor unit 20 in a first direction until the number of pixels in the thermal image belonging to the first reference temperature band becomes a predetermined number or more, and the difference between the average temperature of the pixels belonging to the first reference temperature band and the average temperature of the pixels not belonging to the first reference temperature band becomes a predetermined temperature or more. The second period may be the period from when conditioned air is blown out from the indoor unit 20 in a second direction until the number of pixels in the thermal image belonging to the second reference temperature band becomes a predetermined number or more, and the difference between the average temperature of the pixels belonging to the second reference temperature band and the average temperature of the pixels not belonging to the second reference temperature band becomes a predetermined temperature or more.

[0110] According to this, the size of the first and second regions, where the temperature changes due to the conditioned air, increases, and the amount of temperature change in the first and second regions also increases. Therefore, it becomes easier to estimate the shape of the room using the first and second regions, which are larger in size and have larger temperature changes.

[0111] For example, the reference temperature band determination unit 11 may determine the first reference temperature band and the second reference temperature band to be different temperature bands. Specifically, if the temperature of the conditioned air blown out from the indoor unit 20 corresponds to a temperature for cooling, the reference temperature band determination unit 11 may determine the first reference temperature band to be the temperature band from the lowest temperature in the thermal image obtained during the first period to a temperature that is a predetermined reference temperature higher, and the second reference temperature band may be the temperature band from the lowest temperature in the thermal image obtained during the second period to a temperature that is a predetermined reference temperature higher. Alternatively, if the temperature of the conditioned air blown out from the indoor unit 20 corresponds to a temperature for heating, the reference temperature band determination unit 11 may determine the first reference temperature band to be the temperature band from the highest temperature in the thermal image obtained during the first period to a temperature that is a predetermined reference temperature lower, and the second reference temperature band may be the temperature band from the highest temperature in the thermal image obtained during the second period to a temperature that is a predetermined reference temperature lower.

[0112] According to this, it is possible to determine the first and second reference temperature ranges that are effective during cooling and heating, respectively.

[0113] For example, the estimation unit 14 may estimate the shape of the room by estimating the boundaries between the faces of the room based on the contours of the first or second region.

[0114] According to this method, the contour of the first or second region corresponds to the contour of the boundary between room surfaces such as walls or floors that have been exposed to conditioned air and have undergone temperature changes. Therefore, the boundary between room surfaces can be estimated, and the shape of the room can be easily estimated from the estimated boundary.

[0115] For example, the estimation unit 14 may estimate the shape of a room by estimating the boundaries between the faces of the room based on straight lines passing through points that satisfy predetermined conditions in the contour of the first or second region.

[0116] According to this, since the boundaries of rooms are often straight lines, a straight line passing through a point that satisfies a predetermined condition in the contour of the first or second region (for example, the outer tangent line of that contour) can be estimated as the boundary between the faces of the rooms.

[0117] For example, the first orientation may be downward when viewed from the indoor unit 20, and the second orientation may be upward when viewed from the indoor unit 20.

[0118] According to this, the indoor unit 20 is often installed in the wall of the room, and in the first period, conditioned air is blown downward from the indoor unit 20, and in the second period, conditioned air is blown upward from the indoor unit 20, which allows for efficient estimation of the room's shape.

[0119] Furthermore, the air conditioning system 1 includes a room shape estimation device 10, an indoor unit 20, and a thermal image sensor 30.

[0120] According to this, an air conditioning system 1 can be provided that can easily estimate the shape of a room.

[0121] (Other embodiments) As described above, embodiments have been explained as examples of the technology disclosed in this application. However, the technology in this disclosure is not limited thereto and can be applied to embodiments that are modified, replaced, added, or omitted as appropriate. Furthermore, it is possible to create new embodiments by combining the components described in the above embodiments.

[0122] For example, in the above embodiment, an example was described in which the control unit 12 blows conditioned air from the indoor unit 20 in a first direction during the first period and blows conditioned air from the indoor unit 20 in a second direction during the second period, but it is not limited to this. For example, the control unit 12 may blow conditioned air from the indoor unit 20 in directions different from the first and second directions during the second period and subsequent periods. In this case, the region determination unit 13 may determine a region in the thermal image obtained during the second period and subsequent periods that is different from the first and second regions, and the estimation unit 14 may use this region to estimate the shape of the room.

[0123] For example, in the above embodiment, a specific example was described in which the thermal image does not include pixels corresponding to the ceiling, but pixels corresponding to the ceiling may be included. In this case, the room shape estimation device 10 may estimate the shape of the room including the ceiling.

[0124] For example, in the above embodiment, as a specific example, the first direction is downward when viewed from the indoor unit 20, the second direction is upward when viewed from the indoor unit 20, and the temperature of the conditioned air blown out from the indoor unit 20 is the temperature corresponding to cooling. However, it is not limited to this. For example, the first direction is upward when viewed from the indoor unit 20, the second direction is downward when viewed from the indoor unit 20, and the temperature of the conditioned air blown out from the indoor unit 20 is the temperature corresponding to heating. It's okay to have it.

[0125] For example, this disclosure can be implemented not only as an air conditioning system 1 and a room shape estimation device 10, but also as a room shape estimation method that includes steps (processes) performed by the components constituting the room shape estimation device 10.

[0126] Specifically, the room shape estimation method is a method for estimating the shape of a room using a thermal image obtained by detecting the temperature of a certain range of the room in which the indoor unit is installed using a thermal image sensor, and as shown in Figure 2, includes: a reference temperature band determination step (step S11) for determining a first reference temperature band and a second reference temperature band according to the temperature of the conditioned air blown out from the indoor unit; a first control step (step S12) for blowing out conditioned air from the indoor unit in a first direction during a first period; a first region determination step (step S13) for determining a first region belonging to the first reference temperature band in the thermal image obtained during the first period; a second control step (step S14) for blowing out conditioned air from the indoor unit in a second direction different from the first direction during a second period after the first period; a second region determination step (step S15) for determining a second region belonging to the second reference temperature band in the thermal image obtained during the second period; and an estimation step (step S16) for estimating the shape of the room based on the determined first and second regions.

[0127] For example, the room shape estimation method may be performed by a computer (computer system). The present disclosure can be implemented as a program for causing a computer to execute the steps included in the room shape estimation method. Furthermore, the present disclosure can be implemented as a non-temporary computer-readable recording medium, such as a CD-ROM, on which the program is recorded.

[0128] For example, if this disclosure is implemented in a program (software), each step is executed by the program using hardware resources such as the computer's CPU, memory, and input / output circuits. In other words, each step is executed by the CPU obtaining data from memory or input / output circuits, performing calculations, and outputting the calculation results to memory or input / output circuits.

[0129] Furthermore, the components included in the room shape estimation device 10 of the above embodiment may be implemented as an integrated circuit (IC), specifically a Large Scale Integration (LSI).

[0130] Furthermore, the integrated circuit is not limited to LSIs; it may also be implemented using dedicated circuits or general-purpose processors. Programmable FPGAs, or reconfigurable processors in which the connections and settings of circuit cells within the LSI can be reconfigured, may also be used.

[0131] Furthermore, if advances in semiconductor technology or other derived technologies lead to the emergence of integrated circuit technology that replaces LSIs, then naturally, that technology may be used to integrate the components included in the room shape estimation device 10 into integrated circuits.

[0132] As described above, embodiments have been explained as examples of the technology in this disclosure. For this purpose, accompanying drawings and a detailed description have been provided.

[0133] Therefore, the components described in the attached drawings and detailed descriptions may include not only components essential for solving the problem, but also components that are not essential for solving the problem. For this reason, the mere presence of these non-essential components in the attached drawings and detailed descriptions should not immediately lead to the conclusion that they are essential. do not have.

[0134] Furthermore, since the embodiments described above are for illustrative purposes of the technology described herein, various modifications, substitutions, additions, omissions, etc., can be made within the claims or their equivalents. [Industrial applicability]

[0135] This disclosure can be applied to systems that estimate the shape of a room and adjust the indoor air conditioning environment to be comfortable. [Explanation of Symbols]

[0136] 1. Air conditioning system 10 Room shape estimation device 11. Reference temperature band determination unit 12 Control Unit 13 Area determination part 14 Estimation part 20 Indoor unit 30 Thermal imaging sensors

Claims

1. A room shape estimation device that estimates the shape of a room by using a thermal image obtained by detecting the temperature of a certain area in a room in which an indoor unit is installed using a thermal image sensor, A reference temperature band determination unit that determines a first reference temperature band and a second reference temperature band according to the temperature of the conditioned air blown out from the indoor unit, A control unit that, during a first period, blows conditioned air from the indoor unit in a first direction, and during a second period following the first period, blows conditioned air from the indoor unit in a second direction different from the first direction, A region determination unit that determines a first region belonging to the first reference temperature band in the thermal image obtained during the first period, and determines a second region belonging to the second reference temperature band in the thermal image obtained during the second period, The system includes an estimation unit that estimates the shape of the room based on the determined first and second regions, The first orientation is downward when viewed from the indoor unit. The second orientation is upward when viewed from the indoor unit. The region determination unit determines a trapezoid consisting of an upper base, left hypotenuse, right hypotenuse, and lower base that surrounds the contour pixels of the pixels belonging to the first reference temperature band as the first region. The aforementioned region determination unit, The uppermost horizontal line passing through the uppermost pixel of the contour pixels is determined to be the upper base. Select a combination of two points from the aforementioned contour pixels, Determine the straight line that passes through the two selected points. If it is determined that a line passing through two points is the outer tangent to the contour, then it is determined whether the line passing through the two points slopes downward to the left or downward to the right. The line passing through two points that slope downwards to the left is determined to be the left hypotenuse, and the line passing through two points that slope downwards to the right is determined to be the right hypotenuse. The horizontal line passing through the lowest pixel among the contour pixels is determined as the bottom base. The estimation unit, Determine the horizontal line passing through the lowest pixel of the second region mentioned above. The first intersection point between the left hypotenuse and the line and the second intersection point between the right hypotenuse and the line are calculated. The line segment from the first intersection point to the pixel at the top edge of the thermal image, vertically above, is determined to be the boundary between the left wall and the front wall. The line segment from the second intersection to the pixel at the top edge of the thermal image, vertically above, is determined to be the boundary between the right wall and the front wall. The line segment below the first intersection of the left hypotenuse is determined to be the boundary between the left wall and the floor. The line segment below the second intersection of the right hypotenuse is determined to be the boundary between the right wall and the floor. The line segment connecting the first intersection and the second intersection is determined to be the boundary between the front wall and the floor. Room shape estimation device.

2. The first period is the period from when conditioned air is blown out from the indoor unit in the first direction until the number of pixels in the thermal image belonging to the first reference temperature band becomes a predetermined number or more, and the difference between the average temperature of the pixels belonging to the first reference temperature band and the average temperature of the pixels not belonging to the first reference temperature band becomes a predetermined temperature or more. The second period is the period from when conditioned air is blown out from the indoor unit in the second direction until the number of pixels in the thermal image belonging to the second reference temperature band becomes a predetermined number or more, and the difference between the average temperature of the pixels belonging to the second reference temperature band and the average temperature of the pixels not belonging to the second reference temperature band becomes a predetermined temperature or more. The room shape estimation device according to claim 1.

3. The reference temperature band determination unit determines the first reference temperature band and the second reference temperature band to be different temperature bands. The room shape estimation device according to claim 1 or 2.

4. The aforementioned reference temperature band determination unit is: If the temperature of the conditioned air blown out from the indoor unit is the temperature corresponding to cooling, the first reference temperature range is determined to be the temperature range from the lowest temperature in the thermal image obtained during the first period to a temperature that is a predetermined reference temperature higher, and the second reference temperature range is determined to be the temperature range from the lowest temperature in the thermal image obtained during the second period to a temperature that is a predetermined reference temperature higher. If the temperature of the conditioned air blown out from the indoor unit is a temperature corresponding to heating, the first reference temperature range is determined to be the temperature range from the highest temperature in the thermal image obtained during the first period to a temperature lower than a predetermined reference temperature, and the second reference temperature range is determined to be the temperature range from the highest temperature in the thermal image obtained during the second period to a temperature lower than a predetermined reference temperature. The room shape estimation device according to claim 3.

5. A room shape estimation device according to any one of claims 1 to 4, The aforementioned indoor unit, The thermal image sensor comprises Air conditioning system.

6. A room shape estimation method that estimates the shape of a room by using a thermal image obtained by detecting the temperature of a certain area in a room where an indoor unit is installed using a thermal image sensor, A reference temperature band determination step in which a first reference temperature band and a second reference temperature band are determined according to the temperature of the conditioned air blown out from the indoor unit, During the first period, a first control step is performed to blow conditioned air from the indoor unit in a first direction, A first region determination step for determining a first region belonging to the first reference temperature band in the thermal image obtained during the first period, A second control step in which, during a second period following the first period, conditioned air is blown out from the indoor unit in a second direction different from the first direction, A second region determination step for determining a second region belonging to the second reference temperature band in the thermal image obtained during the second period, The estimation step includes estimating the shape of the room based on the determined first and second regions, The first orientation is downward when viewed from the indoor unit. The second orientation is upward when viewed from the indoor unit. In the first region determination step, a trapezoid consisting of an upper base, left hypotenuse, right hypotenuse, and lower base that surrounds the contour pixels of the pixels belonging to the first reference temperature band is determined as the first region. In the first region determination step described above, The uppermost horizontal line passing through the uppermost pixel of the contour pixels is determined to be the upper base. Select a combination of two points from the aforementioned contour pixels, Determine the straight line that passes through the two selected points. If it is determined that a line passing through two points is the outer tangent to the contour, then it is determined whether the line passing through the two points slopes downward to the left or downward to the right. The line passing through two points that slope downwards to the left is determined to be the left hypotenuse, and the line passing through two points that slope downwards to the right is determined to be the right hypotenuse. The horizontal line passing through the lowest pixel among the contour pixels is determined as the bottom base. In the estimation step described above, Determine the horizontal line passing through the lowest pixel of the second region mentioned above. The first intersection point between the left hypotenuse and the line and the second intersection point between the right hypotenuse and the line are calculated. The line segment from the first intersection point to the pixel at the top edge of the thermal image, vertically above, is determined to be the boundary between the left wall and the front wall. The line segment from the second intersection to the pixel at the top edge of the thermal image, vertically above, is determined to be the boundary between the right wall and the front wall. The line segment below the first intersection of the left hypotenuse is determined to be the boundary between the left wall and the floor. The line segment below the second intersection of the right hypotenuse is determined to be the boundary between the right wall and the floor. The line segment connecting the first intersection and the second intersection is determined to be the boundary between the front wall and the floor. A method for estimating room shape.

7. A program for causing a computer to execute the room shape estimation method described in claim 6.