Measurement method, program, and measuring device
The method and device enhance measurement accuracy within equipment housings by using an imaging device with a reference marker to generate 3D point cloud data, addressing inaccuracies and reducing remeasurement needs.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2026-03-13
AI Technical Summary
Existing measurement methods for the interior of equipment housings, such as boxes with hinged doors, suffer from inaccuracies due to obscured edges and worker skill variability, leading to potential remeasurement and reduced precision.
A measurement method and device utilizing an imaging device to capture images with added distance information and a reference marker, enabling accurate measurement of internal dimensions by generating 3D point cloud data and correcting measurements using known marker dimensions.
Improves measurement accuracy by reducing the influence of worker skill and allowing non-contact measurement, even with equipment connected to a power source, thereby minimizing remeasurement efforts.
Smart Images

Figure 2026046099000001_ABST
Abstract
Description
Technical Field
[0004] ,
[0006] , , , , , ,
[0005] , , ,
[0003] , , , ,
[0001] The present disclosure generally relates to a measurement method, a program, and a measuring device, and more particularly, to a measurement method, a program, and a measuring device for the inside of a box that houses equipment.
Background Art
[0002] Patent Document 1 discloses a wire length calculator. This wire length calculator displays electronic video data obtained by photographing the arrangement position of wiring ducts with instruments and a digital camera in a panel on a personal computer screen. The wire length calculator automatically calculates the length of a wire by cumulatively calculating the amount of change in the cursor position as an operator traces the path from the instrument at the wire connection source to the instrument at the wire connection destination on the personal computer screen with the cursor.
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0004] By the way, it is desired to improve the measurement accuracy when measuring the inside of a box that houses equipment.
[0005] In view of the above reasons, the present disclosure has been made, and an object thereof is to provide a measurement method, a program, and a measuring device capable of improving measurement accuracy.
Means for Solving the Problems
[0006] A measurement method according to one aspect of the present disclosure is a measurement method for measuring at least the interior of a box containing equipment. The box has a hinged door. The measurement method comprises an acquisition step and a measurement step. In the acquisition step, an image to which distance information is added is acquired. The image is an image taken by an imaging device of the interior of the box with the hinged door open and a reference marker for measurement installed along the end of the box on the rotation axis side of the hinged door. In the measurement step, the dimensions of the interior of the box are measured based on the image.
[0007] A measurement method according to one embodiment is a measurement method for measuring at least the interior of a box containing equipment. The box has a hinged door. The measurement method comprises the acquisition step and the measurement step. In the acquisition step, information on the external dimensions of the box and an image to which distance information is added are acquired. The image is an image of the interior of the box with the hinged door open, captured by an imaging device. In the measurement step, the dimensions of the interior of the box are measured based on the information on the external dimensions and the image.
[0008] One aspect of the measurement method is a method for measuring at least the interior of a box containing equipment. The box has a first door and a second door, which are double doors. The measurement method comprises a first acquisition step, a second acquisition step, and a measurement step. In the first acquisition step, a first image with distance information added is acquired. The first image is an image taken by an imaging device of the interior of the box and a measurement reference marker installed on the surface of the second door in a first state in which the first door is open and the second door is closed. In the second acquisition step, a second image is acquired. The second image is an image taken by an imaging device of the interior of the box and a measurement reference marker installed on the surface of the first door in a second state in which the first door is closed and the second door is open. In the measurement step, the dimensions of the interior of the box are measured based on the first image and the second image.
[0009] A program according to one aspect of this disclosure is a program for causing one or more processors to execute the measurement method.
[0010] A measuring device according to one aspect of the present disclosure is a measuring device for measuring at least the interior of a box containing equipment. The box has a hinged door. The measuring device comprises an acquisition unit and a measuring unit. The acquisition unit acquires an image to which distance information is added. The image is an image captured by an imaging device of the interior of the box with the hinged door open and a reference marker for measurement installed along the end of the box on the rotation axis side of the hinged door. The measuring unit measures the dimensions of the interior of the box based on the image.
[0011] A measuring device according to one embodiment is a measuring device for measuring at least the interior of a box containing equipment. The box has a hinged door. The measuring device comprises an acquisition unit and a measuring unit. The acquisition unit acquires information on the external dimensions of the box and an image to which distance information is added. The image is an image of the interior of the box with the hinged door open, captured by an imaging device. The measuring unit measures the dimensions of the interior of the box based on the information on the external dimensions and the image. [Effects of the Invention]
[0012] According to this disclosure, it is possible to improve measurement accuracy. [Brief explanation of the drawing]
[0013] [Figure 1] Figure 1 is a flowchart of the measurement method according to Embodiment 1. [Figure 2] Figure 2 is a block diagram showing the configuration of the measuring device described above. [Figure 3] Figure 3 is a front view showing one aspect of the box body that is the subject of measurement using the measurement method described above. [Figure 4] Figure 4 is a front view showing another embodiment of the box body that is the subject of measurement using the same measurement method as described above. [Figure 5]FIG. 5 is a schematic diagram showing a display image displayed on the display unit of the above-described measuring device. [Figure 6] FIG. 6 is a flowchart of the measuring method according to Embodiment 2. [Figure 7] FIG. 7 is a front view showing one aspect of the box body to be measured in the measuring method according to Embodiment 3. [Figure 8] FIG. 8 is a flowchart of the above-described measuring method. [Figure 9] FIG. 9 is a front view showing one aspect of the box body to be measured in the measuring method according to Embodiment 4. [Figure 10] FIG. 10 is a front view showing another aspect of the box body to be measured in the above-described measuring method. [Figure 11] FIG. 11 is a flowchart of the above-described measuring method. [Figure 12] FIG. 12 is a flowchart of the measuring method according to Embodiment 5. [Figure 13] FIG. 13 is a flowchart of the measuring method according to Embodiment 6. [Figure 14] FIG. 14 is a flowchart of the above-described measuring method.
MODE FOR CARRYING OUT THE INVENTION
[0014] Hereinafter, preferred embodiments of the present disclosure will be described in detail with reference to the drawings. In the embodiments described below, the same reference numerals are assigned to common elements, and redundant descriptions of the common elements may be omitted. Note that the following embodiments and modification examples are only a part of various embodiments of the present disclosure. In addition, the following embodiments and modification examples can be variously modified according to design and the like as long as the object of the present disclosure can be achieved. Also, the configurations of the modification examples can be appropriately combined.
[0015] Each figure described in the present disclosure is a schematic diagram, and the respective ratios of the sizes and thicknesses of each component in each figure do not necessarily reflect the actual dimensional ratios. The arrows indicating each direction in the drawings are for example only, and are not intended to define the directions during the implementation of the measurement method and during the use of the measurement system 100. Further, the arrows indicating each direction in the drawings are merely for explanation and do not have an entity.
[0016] Note that the "orthogonal (perpendicular)" as referred to in the present disclosure means not only a state where the angle between the two is exactly 90 degrees, but also a state where the two intersect within a certain range of difference. That is, the angle between the two that are orthogonal falls within a certain range of difference (for example, 10 degrees or less) with respect to 90 degrees. That is, the "orthogonal" as referred to in the present disclosure includes a case where the angle formed by the two is 80 degrees or more and 100 degrees or less. Similarly, for the "parallel" as referred to in the present disclosure, it means not only a state where the two do not strictly intersect, but also a state where the two are arranged within a certain range of difference. For example, the "parallel" as referred to in the present disclosure includes that the inclination of the other with respect to one is 10 degrees or less. That is, the "parallel" as referred to in the present disclosure includes a case where the angle formed by one and the other is -10 degrees or more and 10 degrees or less.
[0017] [[ID=۷]] (Embodiment 1) (1) Outline First, the outline of the measurement method according to Embodiment 1 will be described with reference to FIGS. 1 to 4.
[0018] The measurement method of Embodiment 1 is a measurement method for measuring at least the inside of the box body 2 (see FIG. 3). The box body 2 has a hinged door 22 (see FIG. 3). The box body 2 houses the device 5 (see FIG. 4).
[0019] As shown in FIG. 1, the measurement method of Embodiment 1 has an acquisition step (step S2 in the example of FIG. 1) and a measurement step (step S8 in the example of FIG. 1).
[0020] In the acquisition step, an image with distance information added is acquired. The image is an image taken by the imaging device 14 (see Figure 2) of the inside of the box body 2 with the hinged door 22 open and the marker 3 (see Figure 3). Here, the imaging device 14 is an imaging device capable of measuring the distance to the object being imaged. The marker 3 is positioned along the end 24 (see Figure 3) of the hinged door 22 of the box body 2 on the rotation axis Ax1 (see Figure 3) side, and serves as a reference marker for measurements inside the box body 2.
[0021] In the measurement step, the internal dimensions of the enclosure 2 are measured based on the image acquired in the acquisition step. Here, "measuring the internal dimensions of the enclosure 2" as used in this disclosure includes measuring the dimensions of the equipment 5 housed inside the enclosure 2, measuring the dimensions between the enclosure 2 and the equipment 5, and measuring the length of the wiring 53 (see Figure 4).
[0022] Conventionally, when replacing equipment 5 housed in a box 2, the internal dimensions of the box 2 are measured by a worker as a preliminary step to ensure a more reliable replacement of the equipment 5. For example, the worker manually measures the internal dimensions of the box 2 using a measuring instrument such as a tape measure. The accuracy of manual measurement varies depending on the worker's skill level. Depending on the worker's skill level, measurement omissions or errors may occur frequently. If measurement omissions or errors occur, the worker may need to return to the site where the box 2 is installed and perform remeasurement. According to the measurement method of Embodiment 1, for example, the worker's main task is to image the inside of the box 2 with the imaging device 14, thus reducing the influence of skill level on measurement accuracy. Furthermore, according to the measurement method of Embodiment 1, remeasurement is easily possible as long as the image is stored, thus reducing the effort required for remeasurement.
[0023] Furthermore, if the device 5 is a so-called electrical panel or the like, it is desirable that measurement be possible while the device 5 remains electrically connected to a power source such as a commercial power supply. According to the measurement method of Embodiment 1, since measurement is performed non-contact using an image captured by the imaging device 14, it is possible to measure the inside of the box 2 while the device 5 remains electrically connected to a power source.
[0024] Furthermore, in the case of a box body having a hinged door, as in the box body 2 of Embodiment 1, the hinged door obscures the edges of the box body when imaging the inside of the box body. When measuring the inside of the box body based on the external shape of the box body, the obscured edges of the box body reduce the measurement accuracy.
[0025] According to the measurement method of Embodiment 1, the inside of the box body 2 is measured using an image of a marker 3 placed along the end 24 of the box body 2. This makes it possible to estimate the position of the end 24 of the box body 2 using the marker 3 as a reference, thereby improving the measurement accuracy when measuring the inside of the box body 2 having a hinged door 22.
[0026] (2)Details The measurement method and measuring device 1 according to Embodiment 1 will be described below with reference to Figures 1 to 5.
[0027] (2.1) Box structure The measurement method and measuring device 1 of this disclosure describe the enclosure 2 that is the object of measurement. As described above, the enclosure 2 houses the equipment 5. As shown in Figure 4, the enclosure 2 in Embodiment 1 is a so-called electrical panel. However, the enclosure 2 may be a gas water heater, an engine room, a server rack or distribution board that houses servers, etc. The enclosure 2 may be wall-mounted or floor-standing.
[0028] The box body 2 is rectangular in shape. The box body 2 includes a main body 21 and a hinged door 22. Here, as shown in Figure 3, in this disclosure, the direction normal to the main surface of the hinged door 22 when the hinged door 22 is closed is defined as the front-to-back direction. In this disclosure, the box body 2 is installed in front of the wall 4. The hinged door 22 is the front of the box body 2. The direction along the vertical direction is defined as the up-and-down direction, and the direction perpendicular to both the front-to-back direction and the up-and-down direction is defined as the left-to-right direction.
[0029] The main body 21 is a rectangular box with an open front. In other words, the main body 21 has a rectangular opening 25 and a rectangular frame 23 that forms the opening 25. At least part of a support mechanism, such as a hinge, is provided on one end (right end) of the frame 23. The support mechanism rotatably supports the hinged door 22 around the rotation axis Ax1.
[0030] The device 5 of Embodiment 1 includes a main circuit breaker 51, a branch circuit breaker section 52, a plurality of wirings 53, and a frame 54. The branch circuit breaker section 52 includes a plurality of branch circuit breakers. The frame 54 is fixed, for example, to the rear surface of the box 2. The main circuit breaker 51, the branch circuit breaker section 52, and the plurality of wirings 53 are attached to the frame 54. The frame 54 has a first rail 541 and a second rail 542. The first rail 541 and the second rail 542 are long, hollow square pipes. The longitudinal directions of the first rail 541 and the second rail 542 are aligned in the vertical direction. The longitudinal direction of the first rail 541 and the longitudinal direction of the second rail 542 are parallel.
[0031] (2.2) Configuration of the measurement system The measurement method described herein is performed using a measurement system 100. The measurement system 100 comprises a measurement device 1 and an imaging device 14.
[0032] (2.2.1) Configuration of the imaging device The imaging device 14 in Embodiment 1 is an imaging device that can be attached externally to the measuring device 1. However, it is not essential that the imaging device 14 can be attached externally to the measuring device 1.
[0033] The imaging device 14 has an image sensor and captures images of a subject to generate images. Here, "image" refers to an image (image data) obtained by capturing an image of a subject (or object to be captured) with the imaging device 14, and includes moving images, still images, and frame-by-frame images. The image sensor is a two-dimensional image sensor such as a CCD (Charge Coupled Devices) image sensor or a CMOS (Complementary Metal-Oxide Semiconductor) image sensor.
[0034] The imaging device 14 in Embodiment 1 has the function of, for example, a depth camera or stereo camera capable of measuring the distance to the object being imaged. In Embodiment 1, the imaging device 14 has a distance sensor such as LiDAR (Light Detection and Ranging). The image captured by the imaging device 14 is an RGBD image in which distance information (or depth information) is added to each pixel.
[0035] Embodiment 1 illustrates the case where the image captured by the imaging device 14 is a frame-by-frame RGBD image. First, the operator activates the imaging device 14, which is externally attached to the measuring device 1. Then, the operator moves the imaging device 14 so that its imaging range scans from a first location (image disclosure location) to a second location (image end location) of the box body 2. As a result, the imaging device 14 scans the entire box body 2 with the hinged door 22 open, from the first location to the second location, and generates a frame-by-frame RGBD image. The imaging device 14 transmits the captured frame-by-frame RGBD image to the measuring device 1. When the imaging device 14 captures a frame-by-frame RGBD image, it is sufficient that one or more frames containing the marker 3 are included in the frame-by-frame RGBD image.
[0036] The image captured by the imaging device 14 may be a single still image (RGBD image) that captures the entire box body 2 with the hinged door 22 open, along with the marker 3.
[0037] Furthermore, the imaging device 14 in Embodiment 1 detects the orientation of the imaging device 14. The imaging device 14 includes motion sensors such as an accelerometer and a gyroscope. In Embodiment 1, the imaging device 14 has a 3-axis accelerometer and a 3-axis gyroscope as motion sensors. The 3-axis accelerometer detects acceleration for each of the three mutually orthogonal axes and outputs an electrical signal corresponding to the acceleration to the measuring device 1. The 3-axis gyroscope detects angular velocity around each of the three mutually orthogonal axes and outputs an electrical signal corresponding to the angular velocity to the measuring device 1.
[0038] When imaging the inside of the box 2 with the imaging device 14, if the imaging is taken from an oblique angle (oblique front) to the box 2, the accuracy of the distance information may decrease due to the effects of multipath imaging. Therefore, when imaging the inside of the box 2 with the imaging device 14, it is preferable for the operator to image the inside of the box 2 from directly in front of the box 2.
[0039] (2.2.2) Configuration of the measuring device The measuring device 1 is a device for measuring the inside of the box 2. In Embodiment 1, the measuring device 1 is a laptop-type personal computer (PC) carried by the worker performing the measurement inside the box 2. However, the measuring device 1 may be a tablet terminal, a smartphone, or a dedicated terminal.
[0040] As shown in Figure 1, the measuring device 1 comprises a communication unit 11, a display unit 12, an operation unit 13, a storage unit 15, and a processing unit 16. Here, the storage unit 15 may be an external component.
[0041] The communication unit 11 includes an interface that enables communication with other devices. In this disclosure, "enabled communication" means the ability to exchange information directly or indirectly via a network or relay, etc., using an appropriate communication method such as wired or wireless communication. For example, the communication unit 11 is configured to communicate with an imaging device 14 externally attached to the measuring device 1.
[0042] The display unit 12 is composed of, for example, a liquid crystal display or an organic EL (Electro-Luminescence) display. The display unit 12 may be composed of a touch panel display.
[0043] The operation unit 13 includes, for example, one or more of a mouse, keyboard, and pointing device. The operator can operate the operation unit 13 and input information while referring to the information displayed on the display unit 12.
[0044] In Embodiment 1, the display unit 12 and the operation unit 13 are implemented by a touch panel display. In other words, operations on the operation unit 13 include, for example, tapping, double-tapping, long-tapping, dragging, swiping, flicking, pinching in, and pinching out.
[0045] As shown in Figure 5, in Embodiment 1, the display unit 12 displays a display image G1 including a rendering image G10, which will be described later. The operation unit 13 receives operator input on the display image G1. When the operation unit 13 receives operator input on the rendering image G10, the measurement unit 164, which will be described later, measures the distance between two points on the rendering image G10. The operation unit 13 also receives operator input on the display image G1 to receive selection of a measurement mode, which will be described later. The measurement results from the measurement unit 164 are output from the output unit 165, which will be described later, to the display unit 12, and the display unit 12 displays the measurement results on the display image G1. This allows the operator to perform measurements inside the box 2.
[0046] Furthermore, the display image G1 includes button B1. Button B1 is used to switch between the planar dimension measurement mode and the depth direction measurement mode. The display image G1 shown in Figure 5 is the display image G1 in planar dimension measurement mode. In planar dimension measurement mode, the distance between two points on the rendering image G10, which corresponds to a plan view of the box 2 as seen from the front, is measured. The depth dimension measurement mode is used to measure dimensions along the depth direction (front-to-back direction) of the box 2. In depth dimension measurement mode, when the operator specifies a location (surface) where they want to measure the depth direction, the display unit 12 displays a rendering image G10, which corresponds to a plan view of the box 2 as seen from, for example, the left-to-right direction (or up-to-down direction), for measuring the depth direction of the specified location.
[0047] The storage unit 15 is a semiconductor memory such as an electrically rewritable flash memory, ROM (Read Only Memory), RAM (Random Access Memory), or EEPROM (Electrically Erasable Programmable Read Only Memory). Note that the storage unit 15 is not limited to semiconductor memory; it may also be a hard disk drive or the like.
[0048] The memory unit 15 stores marker information relating to the marker 3. The marker information may include, for example, information about the location where the marker 3 is installed, information about the dimensions of the marker 3, and information about the part of the marker 3 that serves as the reference for measurement. In Embodiment 1, the marker information includes information that the end (right end) of the marker 3 in the left-right direction is at the same position as the end 24 of the box body 2 in the left-right direction.
[0049] The processing unit 16 primarily consists of a computer system having one or more processors and memory. The functions of the processing unit 16 are realized when the processor of the computer system executes a program recorded in the memory or storage unit 15 of the computer system. The program may be recorded in the memory or storage unit 15, provided via a telecommunication line such as the Internet, or provided on a non-temporary recording medium such as a memory card.
[0050] The processing unit 16 of Embodiment 1 controls each part of the measuring device 1, such as the display unit 12. For example, when the imaging device 14 is generating a frame-by-frame RGBD image, the processing unit 16 displays an image on the display unit 12 based on electrical signals corresponding to the acceleration output from the imaging device 14 and electrical signals corresponding to the angular velocity. For example, when the imaging device 14 is generating a frame-by-frame RGBD image, if the imaging device 14 is tilted beyond a predetermined value, or if the distance between the imaging device 14 and the box body 2 changes beyond a predetermined value, the processing unit 16 displays an image on the display unit 12 to alert the worker. For example, the image to alert the worker includes a text image to alert the worker. The form of the text image may be, for example, black text on a yellow background.
[0051] The processing unit 16 includes an acquisition unit 161, a generation unit 162, an estimation unit 163, a measurement unit 164, and an output unit 165.
[0052] The acquisition unit 161 of Embodiment 1 acquires an image generated by the imaging device 14. More specifically, the acquisition unit 161 acquires an image to which distance information has been added. The image is an image taken by the imaging device 14 of the inside of the box body 2 with the hinged door 22 open and the marker 3. Here, the marker 3 is, for example, placed by a worker along the end 24 on the rotation axis Ax1 side of the hinged door 22 of the box body 2. The marker 3 is, for example, an AR (Augmented Reality) marker. The marker 3 is a marker that serves as a reference for measurement inside the box body 2. The marker 3 is used as a reference plane for defining a plane in the box body 2 or the equipment 5. The measuring device 1 of Embodiment 1 corrects the measurement result by utilizing the known dimensions of the marker 3 (for example, by comparing the known dimensions of the marker 3 with the measurement result of the dimensions of the marker 3).
[0053] The generation unit 162 generates 3D point cloud data based on the image acquired by the acquisition unit 161. More specifically, the generation unit 162 generates 3D point cloud data from the image acquired by the acquisition unit 161 using a method such as Visual SLAM (Simultaneous Localization and Mapping). The 3D point cloud data includes an overall view of the box body 2 with the hinged door 22 open. In the following description, the 3D point cloud data may be simply referred to as "point cloud data".
[0054] Furthermore, the generation unit 162 renders 3D point cloud data in response to the operator's operation on the operation unit 13, and displays the rendered image G10, which is a 2D image on which the distance between two points on the image can be measured, on the display unit 12. The point cloud data and the rendered image G10 are based on images captured by the imaging device 14.
[0055] The estimation unit 163 estimates the position of the end 24 of the box body 2 based on the image of the marker 3 included in the image acquired by the acquisition unit 161. In Embodiment 1, the estimation unit 163 estimates that the right end of the marker 3 is at the same position as the end 24 of the box body 2 in the left-right direction. The estimation result of the end 24 by the estimation unit 163 is reflected in the generation of 3D point cloud data by the generation unit 162. Note that the function of the estimation unit 163 may also be provided by the generation unit 162.
[0056] The measurement unit 164 measures the internal dimensions of the box 2 using a rendered image (or 3D point cloud data). In other words, the measurement unit 164 measures the internal dimensions of the box 2 based on the image acquired by the acquisition unit 161.
[0057] The operator selects any two points on the rendering image G10 displayed on the display unit 12 by performing operations on the rendering image G10. Depending on the location where dimensions are to be measured, the operator selects two points to measure the distance between the main breaker 51 and a part of the branch breaker section 52, two points to measure the length of the wiring 53, two points to measure the distance between the first rail 541 and the second rail 542, etc. When the operation unit 13 receives an operation on the rendering image G10, the measurement unit 164 measures the distance between the two points specified by the operator.
[0058] In the measurement method and measuring device 1 of Embodiment 1, the position of the end portion 24 is estimated based on the image of the marker 3 included in the 3D point cloud data. Therefore, according to the measurement method and measuring device 1 of Embodiment 1, it is possible to improve the measurement accuracy when measuring dimensions based on the end portion 24, for example, as shown by the distance D1 in Figure 4.
[0059] The measurement unit 164 of Embodiment 1 performs measurements in either a first measurement mode or a second measurement mode. The first measurement mode is a measurement mode that simply measures the distance between two points selected by the operator. The second measurement mode is a measurement mode selected, for example, when measuring the length of wiring 53. In the second measurement mode, the measurement unit 164 measures the distance between two specified points based on an image (point cloud data based on the image) and offsets the measurement result. More specifically, in the second measurement mode, the measurement unit 164 performs an offset by subtracting a preset correction value from the measurement result. In other words, when the measurement unit 164 of Embodiment 1 measures the dimensions of the wiring 53 of the equipment 5, it subtracts a preset correction value before measuring. In Embodiment 1, the wiring 53 is connected to the equipment 5 from the top surface of the box 2. Here, the dimensions of the wiring 53 are, for example, the dimensions between the top surface of the box 2 and the screw portion that is the connection point to the equipment 5. This prevents measurement errors from causing the measured result to be shorter than the actual dimensions of the wiring 53, thus preventing problems such as insufficient wiring length when replacing equipment 5.
[0060] The output unit 165 outputs the measurement results from the measurement unit 164 to the display unit 12. The output unit 165 also stores the data, including the measurement results from the measurement unit 164, in the storage unit 15. Alternatively, the output unit 165 may output information indicating the measurement results to a printer, thereby printing a document from the printer. Alternatively, the output unit 165 may output a PDF file containing the measurement results from the measurement unit 164.
[0061] (2.3) Measurement method Figure 1 is a flowchart of the measurement method of Embodiment 1.
[0062] The worker installs the marker 3 (Step S1: Installation step). The worker installs the marker 3, which will serve as the reference for measurement, at a position along the end 24 on the rotation axis Ax1 side of the hinged door 22 of the box body 2. In Embodiment 1, the worker installs the marker 3 on the wall 4 so that the right end of the marker 3 coincides with the end 24 of the box body 2.
[0063] Next, the operator uses the imaging device 14 of the measuring device 1 to image the inside of the box body 2 with the hinged door 22 open and the marker 3. In other words, step S2 in Embodiment 1 is also an imaging step. As a result, the acquisition unit 161 acquires an image (step S2: acquisition step).
[0064] Next, the estimation unit 163 estimates the position of the end 24 of the box body 2 based on the image of the marker 3 included in the image (step S3: estimation step).
[0065] Next, the generation unit 162 generates 3D point cloud data based on the image (Step S4: Generation step). Furthermore, the generation unit 162 renders the point cloud data and displays a rendered image G10, which is a 2D image in which the distance between two points on the image can be measured, on the display unit 12 (Step S6: Rendering step).
[0066] Next, when the operation unit 13 receives an operation by the operator to specify two points in the rendered image G10 (step S7), the measurement unit 164 measures the internal dimensions of the box 2 based on the point cloud data (step S8: measurement step). Then, the output unit 165 outputs the measurement results of the measurement unit 164 to the display unit 12 (step S9: output step). When the output step is completed, the series of processes shown in Figure 1 is finished.
[0067] Note that the flowchart shown in Figure 1 is merely an example, and the order of processes may be changed as appropriate, or processes may be added or deleted as appropriate.
[0068] (Embodiment 2) The measurement method and measurement system 100 according to Embodiment 2 differ from the measurement method and measurement system 100 of Embodiment 1 in that it acquires information on the external shape of the box body 2.
[0069] The acquisition unit 161 in Embodiment 2 acquires information on the external dimensions of the box body 2 and an image of the inside of the box body 2 captured by the imaging device 14 with the hinged door 22 open. Here, the external dimensions of the box body 2 are the height D11 (see Figure 1), the width D12, or the depth of the box body 2. In Embodiment 2, the dimensions of the box body 2 are measured manually, for example, by an operator.
[0070] As described above, the external dimensions information for Embodiment 2 is information entered by the operator by operating the control unit 13 to input the external dimensions of the box body 2.
[0071] In Embodiment 2, the estimation unit 163 estimates the position of the end 24 of the box body 2 based on information about the external dimensions of the box body 2 and the image acquired by the acquisition unit 161.
[0072] In Embodiment 2, the measurement unit 164 measures the internal dimensions of the box body 2 based on information about the external dimensions of the box body 2 and the image acquired by the acquisition unit 161. More specifically, the measurement unit 164 measures the internal dimensions of the box body 2 based on the estimation result of the estimation unit 163, information about the external dimensions of the box body 2, and the image acquired by the acquisition unit 161. This improves the measurement accuracy when measuring the inside of the box body 2 having a hinged door 22.
[0073] Figure 6 is a flowchart of the measurement method in Embodiment 2.
[0074] First, the worker manually measures the external dimensions of the box 2. Then, the worker operates the control unit 13 to input the external dimension information, and the acquisition unit 161 acquires the external dimension information (Step S11: Acquisition Step).
[0075] Next, the worker places the marker 3 (Step S12: Placement Step). The worker places the marker 3 at the position to be used as the reference for measurement. For example, as shown in Figure 7, the worker places the marker 3 on the frame 23. According to the measurement method and measuring device 1 of Embodiment 2, by placing the marker 3 on the frame 23, the accuracy of the point cloud data synthesis is improved, and the measurement accuracy can be further improved.
[0076] Next, the operator uses the imaging device 14 of the measuring device 1 to image the inside of the box body 2 with the hinged door 22 open. In other words, step S13 in Embodiment 2 is also an imaging step. As a result, the acquisition unit 161 acquires an image (step S13: acquisition step).
[0077] Next, the estimation unit 163 estimates the position of the end 24 of the box body 2 based on the external dimensions information and images of the box body 2 (step S14: estimation step). In Embodiment 2, since the external dimensions are measured values, the accuracy of estimating the position of the end 24 of the box body 2 can be improved.
[0078] Next, the generation unit 162 generates 3D point cloud data based on the image (step S15: generation step). Then, when a predetermined operation is performed on the operation unit 13 by the operator (step S16), the generation unit 162 renders the point cloud data and displays a rendered image G10, which is a 2D image in which the distance between two points on the image can be measured, on the display unit 12 (step S17: rendering step).
[0079] Next, when the operation unit 13 receives an operation by the operator to specify two points on the rendered image G10 (step S18), the measurement unit 164 measures the internal dimensions of the box 2 based on the estimation result from the estimation unit 163, the information on the external dimensions of the box 2, and the image (point cloud data based on the image) (step S19: measurement step). Then, the output unit 165 outputs the measurement result from the measurement unit 164 to the display unit 12 (step S20: output step). When the output step is completed, the series of processes shown in Figure 6 is finished.
[0080] Note that the flowchart shown in Figure 6 is merely an example, and the order of processing may be changed as appropriate, or processes may be added or deleted as appropriate. For example, in the measurement method of Embodiment 2, it is not essential to set up marker 3, and the process in step S12 may be deleted.
[0081] (Embodiment 3) The measurement method and measurement system 100 according to Embodiment 3 differ from the measurement method and measurement system 100 of Embodiment 1 in that it acquires information on the external shape of the box body 2.
[0082] In Embodiment 3, the acquisition unit 161 acquires information on the external dimensions of the box body 2 and an image of the inside of the box body 2 captured by the imaging device 14 with the hinged door 22 open. In Embodiment 3, the external dimensions of the box body 2 are measured by the measurement unit 164 based on the external image generated by the imaging device 14 capturing the box body 2 with the hinged door 22 closed. The external image may be a series of RGBD images or a single still image (RGBD image). Distance information is added to each pixel of the external image.
[0083] As described above, the external dimensions information for Embodiment 3 is an external image captured by the imaging device 14 of the box body 2 with the hinged door 22 closed. Since the external image is generated by the imaging device 14 capturing the box body 2 with the hinged door 22 closed, the effect of multipath is minimal and the accuracy of the distance information is high.
[0084] In Embodiment 3, the estimation unit 163 estimates the position of the end portion 24 of the box body 2 based on the external shape image (information on the external dimensions of the box body 2) and the image acquired by the acquisition unit 161.
[0085] In Embodiment 3, the measurement unit 164 measures the internal dimensions of the box body 2 based on the external image (information on the external dimensions of the box body 2) and the image acquired by the acquisition unit 161. More specifically, the measurement unit 164 measures the internal dimensions of the box body 2 based on the estimation result of the estimation unit 163, the external image (information on the external dimensions of the box body 2), and the image acquired by the acquisition unit 161. This improves the measurement accuracy when measuring the inside of the box body 2 having a hinged door 22.
[0086] Figure 8 is a flowchart of the measurement method according to Embodiment 3.
[0087] First, the worker places the marker 3 (Step S21: Placement Step). The worker places the marker 3 at the position to be used as the reference for measurement. For example, similar to Embodiment 2, the worker places the marker 3 on the frame 23. According to the measurement method and measuring device 1 of Embodiment 3, by placing the marker 3 on the frame 23, the accuracy of the point cloud data synthesis is improved, and the measurement accuracy can be further improved.
[0088] Next, the operator uses the imaging device 14 of the measuring device 1 to image the outer shape of the box body 2 with the hinged door 22 closed. In other words, step S22 in Embodiment 3 is also an imaging step. As a result, the acquisition unit 161 acquires an image of the outer shape (step S22: acquisition step).
[0089] Next, the operator uses the imaging device 14 of the measuring device 1 to image the inside of the box body 2 with the hinged door 22 open. In other words, step S23 in Embodiment 3 is also an imaging step. As a result, the acquisition unit 161 acquires an image (step S23: acquisition step).
[0090] Next, the estimation unit 163 estimates the position of the end 24 of the box body 2 based on the external shape image (information on the external dimensions of the box body 2) and the image (step S24: estimation step).
[0091] Next, the generation unit 162 generates 3D point cloud data based on the image (step S25: generation step). Then, when a predetermined operation is performed on the operation unit 13 by the operator (step S26), the generation unit 162 renders the point cloud data and displays a rendered image G10, which is a 2D image on which the distance between two points on the image can be measured, on the display unit 12 (step S27: rendering step).
[0092] Next, when the operation unit 13 receives an operation by the operator to specify two points on the rendered image G10 (step S28), the measurement unit 164 measures the internal dimensions of the box 2 based on the estimation result from the estimation unit 163, the external image (information on the external dimensions of the box 2), and the image (point cloud data based on the image) (step S29: measurement step). Then, the output unit 165 outputs the measurement result from the measurement unit 164 to the display unit 12 (step S30: output step). When the output step is completed, the series of processes shown in Figure 8 is finished.
[0093] Note that the flowchart shown in Figure 8 is merely an example, and the order of processing may be changed as appropriate, or processes may be added or deleted as appropriate. For example, in the measurement method of Embodiment 3, it is not essential to install marker 3, and the process in step S12 may be deleted.
[0094] (Embodiment 4) The measurement method and measuring device 1 according to Embodiment 4 differ from the measurement method and measuring device 1 of Embodiments 1 to 3 in that it measures at least the inside of a box body 2A having a first hinged door 22A (see Figure 9) and a second hinged door 22B (see Figure 9), which are double hinged doors.
[0095] As shown in Figures 9 and 10, the enclosure 2A of Embodiment 4 has double doors. Similar to the enclosures 2 of Embodiments 1 to 3, the enclosure 2A of Embodiment 4 houses the equipment 5. As shown in Figures 9 and 10, the enclosure 2A of Embodiment 4 is a so-called electrical control panel.
[0096] The box body 2A is rectangular in shape. The box body 2A includes a main body 21 and a first hinged door 22A and a second hinged door 22B.
[0097] The main body 21 is a rectangular box with an open front. In other words, the main body 21 has a rectangular opening 25 and a rectangular frame 23 that forms the opening 25. At least a part of a first support mechanism, such as a hinge, is provided on one end (right end) of the frame 23. The first support mechanism rotatably supports the first hinged door 22A around a rotation axis Ax1. At least a part of a second support mechanism, such as a hinge, is provided on the other end (left end) of the frame 23. The second support mechanism rotatably supports the second hinged door 22B around a rotation axis Ax2.
[0098] The device 5 of Embodiment 4 includes a main circuit breaker 51, a branch circuit breaker section 52, a plurality of wirings 53, a first frame 54A (see Figure 10), and a second frame 54B (see Figure 9). The first frame 54A and the second frame 54B have the same configuration as the frame 54 of Embodiment 1. The first frame 54A is located on the right side inside the enclosure 2A, and the second frame 54B is located on the left side inside the enclosure 2A.
[0099] In Embodiment 4, markers 3 are placed on the surface of the first hinged door 22A and the surface of the second hinged door 22B by an operator. In a box body 2A having double hinged doors, the dimensions in the left-right direction tend to be large, and when the measuring device 1 generates point cloud data from images of the box body 2, the image synthesis accuracy of the central part of the box body 2A in the left-right direction may decrease. In the measurement method of Embodiment 4, by placing markers 3 on the surface of the first hinged door 22A and the surface of the second hinged door 22B, the image synthesis accuracy when the measuring device 1 generates point cloud data can be improved. In Embodiment 4, the case in which markers 3 are placed on the upper part of the surface of the first hinged door 22A and the upper part of the surface of the second hinged door 22B is illustrated as an example, but instead of or in addition to the markers 3 placed on the upper part of the surface of the first hinged door 22A and the upper part of the surface of the second hinged door 22B, markers 3 may also be placed on the lower part of the surface of the first hinged door 22A and the lower part of the surface of the second hinged door 22B.
[0100] Furthermore, in Embodiment 4, the marker 3 is installed along the end 24A (right end) of the box body 2A. In addition, in Embodiment 4, the marker 3 is installed along the end 24B (left end) of the box body 2A.
[0101] The acquisition unit 161 of Embodiment 4 acquires a first image. The first image is an image captured by the imaging device 14 of the inside of the box body 2A and the measurement reference marker 3 installed on the surface of the second door 22B, in the first state in which the first hinged door 22A is open and the second hinged door 22B is closed.
[0102] Furthermore, the acquisition unit 161 of Embodiment 4 acquires a second image. The second image is an image captured by the imaging device 14 of the inside of the box body 2A and the marker 3 installed on the surface of the first door 22A, in the second state where the first door 22A is closed and the second door 22B is open.
[0103] Each of the first and second images may be a series of RGBD images or a single still image (RGBD image). Distance information is added to each pixel of both the first and second images.
[0104] In Embodiment 4, the generation unit 162 generates point cloud data based on the first and second images acquired by the acquisition unit 161. The generation unit 162 generates 3D point cloud data from the first and second images using a method such as Visual SLAM. The point cloud data includes an overall view of the box body 2A with the first door 22A and the second door 22B open.
[0105] Furthermore, the generation unit 162 renders the point cloud data and displays the rendered image G10, which is a 2D image on which the distance between two points on the image can be measured, on the display unit 12. The point cloud data and the rendered image G10 are based on the first image and the second image.
[0106] In Embodiment 4, the estimation unit 163 estimates the position of the end (right end) of the second hinged door 22B based on the image of the marker 3 included in the first image. The estimation unit 163 also estimates the position of the end (left end) of the first hinged door 22A based on the image of the marker 3 included in the second image. The estimation results of the second hinged door 22B end (right end) and the first hinged door 22A end (left end) by the estimation unit 163 are reflected in the generation of 3D point cloud data by the generation unit 162. According to the measurement method and measurement device 1 of Embodiment 4, for example, when measuring dimensions based on the end 24A (right end) of the box body 2A, as shown in distance D2 in Figure 9, the measurement accuracy can be improved.
[0107] In Embodiment 4, the measurement unit 164 measures the internal dimensions of the box body 2A using 3D point cloud data. In other words, the measurement unit 164 measures the internal dimensions of the box body 2A based on the first and second images acquired by the acquisition unit 161.
[0108] The operator selects any two points on the rendering image G10 displayed on the display unit 12 by performing operations on the rendering image G10. When the operation unit 13 receives the operation on the rendering image G10, the measurement unit 164 measures the distance between the two points specified by the operator. In the measurement method and measuring device 1 of Embodiment 4, the position of the end (left end) of the first hinged door 22A may be estimated based on the marker 3 installed on the first hinged door 22A. In addition, in the measurement method and measuring device 1 of Embodiment 4, the position of the end (right end) of the second hinged door 22B may be estimated based on the marker 3 installed on the second hinged door 22B. By performing such estimations, the measurement method and measuring device 1 of Embodiment 4 can improve the measurement accuracy when measuring dimensions based on the end of the first hinged door 22A or the end of the second hinged door 22B.
[0109] Figure 11 is a flowchart of the measurement method according to Embodiment 4.
[0110] First, the worker places the marker 3 (Step S31: Placement Step). The worker places the marker 3 on the surface of the first hinged door 22A and the surface of the second hinged door 22B. The worker also places the marker 3 along the end 24A (right end) of the box body 2A, and further places the marker 3 along the end 24B (left end) of the box body 2A.
[0111] Next, the operator uses the imaging device 14 of the measuring device 1 to image the inside of the box body 2A and the marker 3 installed on the surface of the second door 22B in the first state in which the first door 22A is open and the second door 22B is closed. In other words, step S32 of Embodiment 4 is also the first imaging step. As a result, the acquisition unit 161 acquires the first image (step S32: first acquisition step).
[0112] Next, the operator uses the imaging device 14 of the measuring device 1 to image the inside of the box body 2A and the marker 3 installed on the surface of the first door 22A in the second state, when the first door 22A is closed and the second door 22B is open. In other words, step S33 in Embodiment 4 is also the second imaging step. As a result, the acquisition unit 161 acquires the second image (step S33: acquisition step).
[0113] Next, the estimation unit 163 estimates the position of the end (right end) of the second hinged door 22B based on the image of marker 3 included in the first image, and estimates the position of the end (left end) of the first hinged door 22A based on the image of marker 3 included in the second image (step S34: estimation step).
[0114] Next, the generation unit 162 generates 3D point cloud data based on the first and second images (step S35: generation step). Then, when a predetermined operation is performed on the operation unit 13 by the operator (step S36), the generation unit 162 renders the point cloud data and displays a rendered image G10, which is a 2D image on which the distance between two points on the image can be measured, on the display unit 12 (step S37: rendering step).
[0115] Next, when the operation unit 13 receives an operation by the operator to specify the distance between two points in the rendered image G10 (step S38), the measurement unit 164 measures the internal dimensions of the box body 2A based on the first image and the second image (point cloud data based on the first image and the second image) (step S39: measurement step). Then, the output unit 165 outputs the measurement results of the measurement unit 164 to the display unit 12 (step S40: output step). When the output step is completed, the series of processes shown in Figure 11 is finished.
[0116] Note that the flowchart shown in Figure 11 is merely an example, and the order of processes may be changed as appropriate, or processes may be added or deleted as appropriate.
[0117] (Embodiment 5) The measurement method and measurement system 100 according to Embodiment 5 differ from the measurement method and measurement system 100 of Embodiment 4 in that it acquires information on the external shape of the box body 2A.
[0118] The acquisition unit 161 in Embodiment 5 acquires information on the external dimensions of the box body 2A, a first image, and a second image. In Embodiment 5, the dimensions of the box body 2A are measured manually, for example, by an operator.
[0119] The estimation unit 163 of Embodiment 5 estimates the positions of the ends 24A and 24B of the box body 2A based on the external dimensions information of the box body 2A, the first image, and the second image.
[0120] The measurement unit 164 of Embodiment 5 measures the internal dimensions of the box body 2A based on the external dimensions of the box body 2A, the first image, and the second image.
[0121] Figure 12 is a flowchart of the measurement method according to Embodiment 5.
[0122] First, the operator manually measures the external dimensions of the box body 2A. Then, the operator operates the control unit 13 to input the external dimension information, and the acquisition unit 161 acquires the external dimension information (Step S41: Acquisition Step).
[0123] Next, the worker installs the marker 3 (step S42: installation step). The worker installs the marker 3 on the surface of the first hinged door 22A and the surface of the second hinged door 22B. In Embodiment 5, it is not essential that the marker 3 be installed along the end 24A (right end) of the box body 2A, or along the end 24B (left end) of the box body 2A.
[0124] Next, the operator uses the imaging device 14 of the measuring device 1 to image the inside of the box body 2A and the marker 3 installed on the surface of the second door 22B in the first state in which the first door 22A is open and the second door 22B is closed. In other words, step S43 in Embodiment 5 is also the first imaging step. As a result, the acquisition unit 161 acquires the first image (step S43: first acquisition step).
[0125] Next, the operator uses the imaging device 14 of the measuring device 1 to image the inside of the box body 2A and the marker 3 installed on the surface of the first door 22A in the second state, when the first door 22A is closed and the second door 22B is open. In other words, step S44 in Embodiment 5 is also the second imaging step. As a result, the acquisition unit 161 acquires the second image (step S44: acquisition step).
[0126] Next, the estimation unit 163 estimates the positions of the end (right end) of the second hinged door 22B and the end (left end) of the first hinged door 22A based on the external dimensions information, the first image, and the second image (step S45: estimation step).
[0127] Next, the generation unit 162 generates 3D point cloud data based on the first and second images (step S46: generation step). Then, when a predetermined operation is performed on the operation unit 13 by the operator (step S47), the generation unit 162 renders the point cloud data and displays a rendered image G10, which is a 2D image on which the distance between two points on the image can be measured, on the display unit 12 (step S48: rendering step).
[0128] Next, when the operation unit 13 receives an operation by the operator to specify the distance between two points in the rendered image G10 (step S49), the measurement unit 164 measures the internal dimensions of the box body 2A based on the first image and the second image (point cloud data based on the first image and the second image) (step S50: measurement step). Then, the output unit 165 outputs the measurement results of the measurement unit 164 to the display unit 12 (step S51: output step). When the output step is completed, the series of processes shown in Figure 12 is finished.
[0129] Note that the flowchart shown in Figure 12 is merely an example, and the order of processes may be changed as appropriate, or processes may be added or deleted as appropriate.
[0130] (Embodiment 6) The measurement method and measurement system 100 according to Embodiment 6 differ from the measurement method and measurement system 100 of Embodiment 4 in that it acquires an external image (information on the external shape of the box body 2A).
[0131] The acquisition unit 161 of Embodiment 6 acquires an external shape image (information on the external dimensions of the box body 2A), a first image, and a second image. In Embodiment 6, the external dimensions of the box body 2A are measured by the measurement unit 164 based on the external shape image generated by the imaging device 14 capturing images of the box body 2A (see Figure 14) with the first hinged door 22A and the second hinged door 22B closed. The external shape image may be a frame-by-frame RGBD image or a single still image (RGBD image). Distance information is added to each pixel of the external shape image.
[0132] As described above, the external dimensions information of Embodiment 6 is an external image captured by the imaging device 14 of the box body 2A with the first hinged door 22A and the second hinged door 22B closed. Since the external image is generated by the imaging device 14 capturing the box body 2A with the first hinged door 22A and the second hinged door 22B closed, the effect of multipath is minimal and the accuracy of the distance information is high.
[0133] The estimation unit 163 of Embodiment 6 estimates the positions of the ends 24A and 24B of the box body 2A based on the external shape image (information on the external dimensions of the box body 2A), the first image, and the second image.
[0134] The measurement unit 164 of Embodiment 6 measures the internal dimensions of the box 2A based on the external image (information on the external dimensions of the box 2A), the first image, and the second image.
[0135] Figure 13 is a flowchart of the measurement method according to Embodiment 6.
[0136] First, the worker installs the marker 3 (Step S52: Installation Step). The worker installs the marker 3 on the surface of the first hinged door 22A and the surface of the second hinged door 22B. In Embodiment 6, it is not essential that the marker 3 be installed along the end 24A (right end) of the box body 2A, or along the end 24B (left end) of the box body 2A.
[0137] Next, the operator uses the imaging device 14 of the measuring device 1 to image the outer shape of the box body 2A with the first hinged door 22A and the second hinged door 22B closed. In other words, step S53 in Embodiment 6 is also an imaging step. As a result, the acquisition unit 161 acquires an outer shape image (step S53: acquisition step).
[0138] Next, the operator uses the imaging device 14 of the measuring device 1 to image the inside of the box body 2A and the marker 3 installed on the surface of the second door 22B in the first state in which the first door 22A is open and the second door 22B is closed. In other words, step S54 of Embodiment 6 is also the first imaging step. As a result, the acquisition unit 161 acquires the first image (step S54: first acquisition step).
[0139] Next, the operator uses the imaging device 14 of the measuring device 1 to image the inside of the box body 2A and the marker 3 installed on the surface of the first door 22A in the second state, when the first door 22A is closed and the second door 22B is open. In other words, step S55 of Embodiment 6 is also the second imaging step. As a result, the acquisition unit 161 acquires the second image (step S55: acquisition step).
[0140] Next, the estimation unit 163 estimates the positions of the end (right end) of the second hinged door 22B and the end (left end) of the first hinged door 22A based on the external image (information on external dimensions), the first image, and the second image (step S56: estimation step).
[0141] Next, the generation unit 162 generates 3D point cloud data based on the first and second images (step S57: generation step). Then, when a predetermined operation is performed on the operation unit 13 by the operator (step S58), the generation unit 162 renders the point cloud data and displays a rendered image G10, which is a 2D image on which the distance between two points on the image can be measured, on the display unit 12 (step S59: rendering step).
[0142] Next, when the operation unit 13 receives an operation by the operator to specify two points in the rendered image G10 (step S60), the measurement unit 164 measures the internal dimensions of the box body 2A based on the first image and the second image (point cloud data based on the first image and the second image) (step S61: measurement step). Then, the output unit 165 outputs the measurement results of the measurement unit 164 to the display unit 12 (step S62: output step). When the output step is completed, the series of processes shown in Figure 13 is finished.
[0143] Note that the flowchart shown in Figure 13 is merely an example, and the order of processes may be changed as appropriate, or processes may be added or deleted as appropriate.
[0144] (3) Variant The following lists some modifications of the above embodiment.
[0145] Functions equivalent to those of the measuring device 1 according to the above embodiment may be embodied in a (computer) program or a non-temporary recording medium on which the program is recorded. A program according to one embodiment is a program that causes one or more processors to execute the above measurement method.
[0146] The implementing entity of the measuring device 1 or measuring method in this disclosure includes a computer system. The computer system mainly consists of a processor and memory as hardware. The processor executes a program recorded in the memory of the computer system, thereby realizing the function of the implementing entity of the measuring device 1 or measuring method in this disclosure. The program may be pre-recorded in the memory of the computer system, provided via a telecommunications line, or provided on a non-temporary recording medium such as a memory card, optical disk, or hard disk drive that can be read by the computer system. The processor of the computer system consists of one or more electronic circuits including semiconductor integrated circuits (ICs) or large-scale integrated circuits (LSIs). The integrated circuits such as ICs or LSIs referred to here are named differently depending on the degree of integration, and include integrated circuits called system LSIs, VLSIs (Very Large Scale Integration), or ULSIs (Ultra Large Scale Integration). Furthermore, FPGAs (Field-Programmable Gate Arrays) that are programmed after the manufacture of LSIs, or logic devices that allow for the reconfiguration of junction relationships or circuit compartments within LSIs, can also be used as processors. Multiple electronic circuits may be integrated onto a single chip or distributed across multiple chips. Multiple chips may be integrated onto a single device or distributed across multiple devices. The computer system referred to here includes a microcontroller having one or more processors and one or more memories. Therefore, the microcontroller also consists of one or more electronic circuits, including semiconductor integrated circuits or large-scale integrated circuits.
[0147] Furthermore, it is not essential that the multiple functions of the measurement system 100 be integrated into a single enclosure; the components of the measurement system 100 may be distributed across multiple enclosures. In addition, at least some of the functions of the measurement system 100 may be implemented by the cloud (cloud computing) or the like.
[0148] At least some of the functions of the measurement system 100, which are distributed across multiple devices, may be consolidated into a single housing. For example, some of the functions of the measurement system 100, which are distributed across the measurement device 1 and the imaging device 14, may be consolidated into a single housing.
[0149] (summary) As is clear from the embodiments and modifications described above, the measurement method according to the first embodiment is a measurement method for measuring at least the interior of a box (2) that houses the equipment (5). The box (2) has a hinged door (22). The measurement method comprises an acquisition step and a measurement step. In the acquisition step, an image with distance information added is acquired. The image is an image taken by an imaging device (14) of the interior of the box (2) with the hinged door (22) open, and a measurement reference marker (3) installed along the end (24) of the hinged door (22) of the box (2) on the rotation axis (Ax1) side. In the measurement step, the dimensions of the interior of the box (2) are measured based on the image.
[0150] According to this embodiment, the measurement accuracy of the box body (2) having a hinged door (22) can be improved.
[0151] The measurement method relating to the second embodiment is a measurement method for measuring at least the interior of a box (2) that houses the equipment (5). The box (2) has a hinged door (22). The measurement method comprises an acquisition step and a measurement step. In the acquisition step, information on the external dimensions of the box (2) and an image with distance information added are acquired. The image is an image of the interior of the box (2) with the hinged door (22) open, captured by an imaging device (14). In the measurement step, the internal dimensions of the box (2) are measured based on the information on the external dimensions and the image.
[0152] According to this embodiment, the measurement accuracy of the box body (2) having a hinged door (22) can be improved.
[0153] In the measurement method relating to the third embodiment, in the second embodiment, the external dimensions are information entered by a person operating the control unit (13) to input the external dimensions of the box body (2).
[0154] In the measurement method relating to the fourth embodiment, in the second embodiment, the external dimensions are an external image captured by the imaging device (14) of the box body (2) with the hinged door (22) closed, and the external image has distance information added to it.
[0155] The fifth aspect of the measurement method is a measurement method for measuring at least the interior of a box (2A) that houses the equipment (5). The box (2A) has a first hinged door (22A) and a second hinged door (22B), which are double doors. The measurement method comprises a first acquisition step, a second acquisition step, and a measurement step. In the first acquisition step, a first image with distance information added is acquired. The first image is an image taken by an imaging device (14) of the interior of the box (2A) and a measurement reference marker (3) installed on the surface of the second hinged door (22B) in a first state where the first hinged door (22A) is open and the second hinged door (22B) is closed. In the second acquisition step, a second image with distance information added is acquired. The second image is an image captured by the imaging device (14) of the inside of the box body (2A) and the marker (3) installed on the surface of the first door (22A) in the second state, where the first hinged door (22A) is closed and the second hinged door (22B) is open. In the measurement step, the dimensions of the inside of the box body (2A) are measured based on the first and second images.
[0156] According to this embodiment, the measurement accuracy of the box body (2A) having double doors can be improved.
[0157] The measurement method according to the sixth embodiment is as follows: In any of the first to fifth embodiments, in the measurement step, when measuring the dimensions of the wiring (53) of the equipment (5), the measurement is taken after subtracting a preset correction value.
[0158] According to this embodiment, for example, it is possible to suppress problems such as insufficient wiring length when replacing equipment (5).
[0159] The program relating to the seventh aspect is a program that causes one or more processors to execute a measurement method relating to any of the first to sixth aspects.
[0160] According to this embodiment, the measurement accuracy of the box body (2) having a hinged door (22) can be improved.
[0161] The eighth aspect of the measuring device (1) is a measuring device (1) that measures at least the interior of a box (2) that houses the equipment (5). The box (2) has a hinged door (22). The measuring device (1) comprises an acquisition unit (161) and a measuring unit (164). The acquisition unit (161) acquires an image to which distance information is added. The image is an image taken by an imaging device (14) of the interior of the box (2) with the hinged door (22) open, and a measurement reference marker (3) installed along the end (24) of the hinged door (22) of the box (2) on the rotation axis (Ax1) side. The measuring unit (164) measures the dimensions of the interior of the box (2) based on the image.
[0162] According to this embodiment, the measurement accuracy of the box body (2) having a hinged door (22) can be improved.
[0163] The measuring device (1) according to the ninth embodiment is a measuring device (1) for measuring at least the interior of a box (2) that houses the equipment (5). The box (2) has a hinged door (22). The measuring device (1) comprises an acquisition unit (161) and a measuring unit (164). The acquisition unit (161) acquires information on the external dimensions of the box (2) and an image to which distance information is added. The image is an image of the interior of the box (2) with the hinged door (22) open, taken by an imaging device (14) capable of measuring the distance to the object being imaged. The measuring unit (164) measures the internal dimensions of the box (2) based on the information on the external dimensions and the image.
[0164] According to this embodiment, the measurement accuracy of the box body (2) having a hinged door (22) can be improved. [Explanation of symbols]
[0165] 1. Measuring device 13 Control section 14 Imaging device 161 Acquisition Department 164 Measurement Unit 2 box body 22 Hinged doors 22A First hinged door 22B Second hinged door 24 End 3 Markers 5 Equipment 53 Wiring Ax1 Rotation axis
Claims
1. A measurement method for measuring at least the interior of a box-shaped structure having a hinged door and housing equipment, An acquisition step of acquiring an image, which is an image captured by an imaging device of the interior of the box body with the hinged door in the open state and a measurement reference marker installed at a position along the end of the hinged door of the box body on the rotation axis side, wherein distance information is added to the image. A measurement step of measuring the internal dimensions of the box based on the aforementioned image, Having, Measurement method.
2. A measurement method for measuring at least the interior of a box-shaped structure having a hinged door and housing equipment, An acquisition step of acquiring information on the external dimensions of the box body and an image of the inside of the box body with the hinged door open, which is captured by an imaging device and to which distance information is added. A measurement step of measuring the internal dimensions of the box based on the external dimensions information and the image, Having, Measurement method.
3. The external dimensions information is information entered by a person operating the control unit, which is used to input the external dimensions of the box. The measurement method according to claim 2.
4. The external dimensions information is an external image of the box body with the hinged door closed, captured by the imaging device, and the external image has distance information added to it. The measurement method according to claim 2.
5. A measurement method for measuring at least the interior of a box containing equipment, having a first door and a second door which are double doors, A first acquisition step involves acquiring a first image, to which distance information is added, by capturing the interior of the box and a measurement reference marker installed on the surface of the second door with an imaging device in a first state in which the first hinged door is open and the second hinged door is closed, and acquiring the first image. In a second state where the first hinged door is closed and the second hinged door is open, a second acquisition step is to acquire a second image, to which distance information is added, by capturing the interior of the box body and a measurement reference marker installed on the surface of the first hinged door with the imaging device. A measurement step of measuring the internal dimensions of the box based on the first and second images, Having, Measurement method.
6. In the measurement step, when measuring the dimensions of the wiring of the equipment, the measurement is taken after subtracting a preset correction value. The measurement method according to any one of claims 1 to 5.
7. To cause one or more processors to execute the measurement method described in any one of claims 1 to 5, program.
8. A measuring device having a hinged door and measuring at least the inside of a box housing equipment, An acquisition unit acquires an image captured by an imaging device of the interior of the box body with the hinged door in the open state, and a measurement reference marker installed along the end of the hinged door of the box body on the rotation axis side, wherein distance information is added to the image. A measuring unit that measures the internal dimensions of the box based on the aforementioned image, Equipped with, Measuring device.
9. A measuring device having a hinged door and measuring at least the inside of a box housing equipment, An acquisition unit that acquires information on the external dimensions of the box and an image of the inside of the box with the hinged door open, which is captured by an imaging device and has distance information added to it. A measuring unit that measures the internal dimensions of the box based on the external dimensions information and the image, Equipped with, Measuring device.
Citation Information
Patent Citations
Cable length calculating device and cable processing system
JP1998234110A