Garbage quality calculation device and garbage quality calculation method
The waste quality calculation device uses clusters and relative entropy to define a uniformity index, enabling quantification and management of garbage mixing, thus improving waste management efficiency.
Patent Information
- Application Number
- JP2023061175
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-05
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-04-05
AI Technical Summary
Existing technologies lack a uniform definition for 'mixing state' and 'stirring state' of garbage, making it difficult to quantify and manage waste quality effectively.
A waste quality calculation device and method that uses clusters representing masses of dust (color) and the number of pixels within these clusters, employing relative entropy from information theory to define a uniformity index, and a crane operation control system to adjust mixing based on this index.
Enables the quantification of garbage mixing degree and identification of areas requiring mixing, facilitating efficient waste management by ensuring uniformity and reducing manual intervention.
Smart Images

Figure 2024148228000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a waste quality calculation device and a waste quality calculation method. [Background technology]
[0002] In recent years, with the widespread use of image processing technology, it is becoming possible to recognize the degree of agitation of garbage from pit images. In order to detect the agitation state of garbage stored in a pit, Patent Document 1 receives light reflected by the stored garbage, acquires polarization information, generates a polarized image containing the polarization information, and judges the agitation state of the garbage based on the polarized image. By using the polarized image, a transparent bag can be made to appear. In Patent Document 2, training data associated with images of waste stored in a waste pit is generated, and a model is constructed by learning using the training data. New image data of waste stored in the waste pit is input to the model, and a value representing the quality of the waste corresponding to the new image is obtained. The quality of the waste can be estimated even if there is a mixture of waste with different qualities but similar colors, or waste with the same quality but different colors. Patent Document 3 calculates the extracted area of the bright or dark parts of each divided area, calculates the variation in the extracted area of the bright or dark parts of the divided area for all evaluation areas or for each evaluation area, and evaluates the degree of mixing based on the variation. Patent Document 4 extracts pixels of the same hue as a reference color from a garbage pit image, extracts same-color areas by treating the connected components of the extracted pixels as one area, calculates the number N of same-color areas and the average Sb of their areas Si as an agitation degree parameter, and determines the agitation state by comparing the agitation degree parameter with a threshold value γn. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6879899 [Patent Document 2] Patent No. 6554148 [Patent Document 3] Patent No. 6457137 [Patent Document 4] JP 2015-143139 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, there is no clear definition of what a "mixed state" or "agitated state" means. For this reason, it is important to establish a common indicator of homogenization in the above prior art.
[0005] This disclosure provides a garbage quality calculation device and a garbage quality calculation method that can express a homogenization index using a cluster representing a clump of garbage (color) and the number of pixels contained in that cluster, and calculate the homogenization index using the concept of relative entropy used in information theory. [Means for solving the problem]
[0006] The waste quality calculation device of the present disclosure is a representative color processing unit that extracts (assigns) pixels of an image (e.g., a still image) of garbage in the garbage pit captured by the imaging unit to one of a predetermined number of representative colors (e.g., 8 to 32 colors); a same-color cluster processing unit that performs processing to form a pixel group of adjacent pixels of the same color (same-color area, same-color cluster) for pixels to which any of the representative colors is assigned by the representative color extraction unit; a relative entropy calculation unit that calculates a cluster relative entropy between the number of pixel groups (same-color clusters) formed by the same-color cluster processing unit and the number of pixels of the image; Equipped with.
[0007] The representative color processing unit may extract a predetermined number of representative colors using, for example, the k-means method or another clustering classification method. The representative colors are selected from colors that often appear in images of the inside of a garbage pit. For example, in municipalities that have adopted a designated bag system, there are many bags of a specific color. These colors include the white of torn and scattered paper bags, the green of pruned branches of flowers and trees (including leaves), and the brownish and grayish colors of garbage that has been in the garbage pit for some time. The representative colors are set from preset 8, 16, 32, 64, etc. colors, and may be set according to the status of the waste treatment facility, the day of the week, the status of collected waste, and the like. The representative color processing unit may, for example, perform color reduction processing on the image to convert it into a 16-color bitmap image with a smaller amount of data. By using this representative color processing unit, image processing can be performed more efficiently by focusing on the representative color rather than on all colors present in the garbage pit.
[0008] The same-color cluster processing unit may separate pixels of a first representative color (j-th representative color) from pixels of a representative color other than the first representative color (k-th representative color, k≠j), and form same-color clusters for each. The same-color cluster processing unit may generate a binary image for pixels of the j-th representative color, and form same-color clusters. A same-color cluster is composed of two or more pixels, but when calculating the relative entropy, even a cluster with only one pixel is counted as a same-color cluster.
[0009] The relative entropy calculation unit may divide an image of the garbage in the garbage pit into multiple regions (cells), and calculate the relative entropy for each divided region (cell) from the number of same-color clusters within the cell and the total number of pixels within the cell.
[0010] The image processing definition of a "uniform state" of mixing is "a state in which a specific color of dust appears uniformly in the image as small clusters." For example, assume that an image has M clusters each made up of pixels that emit a representative color (hereinafter simply referred to as pixels). The jth (j = 1, 2, . . . , M) cluster j stores pixels in N jWhen the number of pixels is 1, the occurrence probability of pixel i in cluster j is Q i =1 / MN j If we define a "uniform state" as a state in which all clusters have only one pixel, then the probability of pixel i appearing is P i =1 / N, where N=(=Σ M j=1 N j ) is the number of pixels in all clusters. The probability of occurrence in the ultimate "uniform state" P i The current occurrence probability Q for the distribution of i The relative entropy of the distribution is expressed by the following formula, which is defined as the cluster relative entropy (CRE). This CRE is an index that indicates how far the current mixing state deviates from a "uniform state." Cluster relative entropy (CRE) is calculated using the following formula:
number
[0011] The waste quality calculation device is The device may be provided with an output unit that outputs information instructing garbage mixing (instructing mixing on a cell-by-cell basis) when the relative entropy calculated by the relative entropy calculation unit (which may be CRE on a cell-by-cell basis) is a predetermined mixing threshold value. The waste quality calculation device is It may also be equipped with an imaging unit that captures images of the garbage in the garbage pit.
[0012] The waste quality calculation method disclosed herein is a representative color processing step of extracting (assigning) pixels of an image of garbage (including a corrected image) in the garbage pit to one of a predetermined number of representative colors; a same-color cluster processing step of forming a pixel group of adjacent pixels of the same color (same-color area, same-color cluster) for the pixels to which any of the representative colors is assigned in the representative color extraction step; a relative entropy calculation step of calculating a relative entropy between the number of pixel groups (same-color clusters) formed in the same-color cluster processing step and the number of pixels of the image; Includes. The waste quality calculation method is The method may further include an output step of outputting information instructing garbage mixing (instructing mixing on a cell-by-cell basis) when the relative entropy calculated in the relative entropy calculation step (which may be CRE on a cell-by-cell basis) is a predetermined mixing threshold value.
[0013] Another garbage quality calculation program of the present disclosure is a program that realizes the above-mentioned garbage quality calculation method using at least one processor or information processing device. Another computer-readable recording medium having computer instructions stored thereon according to the present disclosure is a computer-readable recording medium that, when executed by a processor, realizes the steps of the waste quality calculation program.
[0014] Another disclosed crane operation control system includes: The waste quality calculation device may be provided. An operator may view the CRE on a cell-by-cell basis and perform the mixing operation manually.
[0015] Another disclosed crane operation control system includes: The waste quality calculation device may also be equipped with a waste mixing control unit that controls a crane and a bucket in response to information instructing mixing output from the output unit of the waste quality calculation device, to move the waste in the cell to be mixed, either on the spot or to another position within the mixing address, or to another mixing address, and drop the waste for mixing.
[0016] Each element of the "waste quality calculation device" may be composed of an information processing device (e.g., a computer, a server) having a memory, a processor, and a software program, a dedicated circuit, firmware, etc. The information processing device may be either on-premise or on cloud, or a combination of both. The "information processing device" may be composed of, for example, one or more of a general-purpose computer, an on-premise server, a cloud server, and the like.
[0017] (Action and effect) (1) The uniformity index can be defined using clusters that represent clumps of dust (color) and the number of pixels contained in the cluster. The uniformity index can be calculated using the concept of relative entropy used in information theory. [Brief description of the drawings]
[0018] [Figure 1] FIG. 1 is a diagram illustrating a crane operation control system according to a first embodiment. [Diagram 2] FIG. 1 is a diagram illustrating a waste quality calculation device according to a first embodiment. [Diagram 3] 3 is a flowchart showing the operation of the first embodiment. [Figure 4A] FIG. 13 is a diagram showing an example of a garbage pit image in an embodiment. [Figure 4B] FIG. 4B is a diagram showing an example of extraction of same-color clusters in FIG. 4A. [Figure 4C] FIG. 13 is a diagram showing the transition of the average CRE and the total number of pixels. [Figure 4D] 4B is a diagram showing an example of a garbage pit image after a specified mixing from the state of FIG. 4A. FIG. [Figure 4E] FIG. 4E is a diagram showing an example of the CRE value for each cell in FIG. 4D. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0019] Several embodiments of the present invention will be described below. The embodiments described below are merely examples of the present invention. The present invention is not limited to the following embodiments, and includes various modified forms that are implemented within the scope of the present invention.
[0020] Fig. 1 shows an example of a side view of a waste quality calculation device 100, a crane operation control system 600, and a waste pit 1. Fig. 2 shows the functions of each element of the waste quality calculation device 100.
[0021] FIG. 1 shows the inside of a garbage pit 1 from a side view. A garbage truck 9 enters on the right side of FIG. 1 and sends garbage into a dump area 11 through a dump door 12. Garbage D in the dump area is transported to a mixing area 15 of the garbage pit 1 by a crane 22 and a bucket 23. The mixing area 15 has mixing addresses set on the floor plane that are divided into predetermined sizes, and in this embodiment 1, the mixing addresses match the cells related to the CRE calculation described below. The state in which garbage is piled up in the mixing area 15 is shown (D1: piled up garbage).
[0022] (Crane operation control unit) The crane operation control system 600 controls the crane 22 to move within or across any mixed address range, grab and lift up waste with the bucket 23, and drop the waste by moving it there or to another position within the mixed address, or to another mixed address. The crane operation control system 600 also controls the crane 22 and bucket 23 to move waste at multiple mixed addresses. The crane operation control system 600 has an automatic operation control unit 601. Instead of automatic operation, the operator can switch to manual operation. The crane operation control system 600 also controls the crane 22 and bucket 23 to grab and move waste at any mixed address, and controls the waste to be sent to the incinerator 40's input hopper 41. The crane operation control system 600 may be equipped with a waste mixing control unit 602 that controls the crane and bucket in response to information instructing mixing output from the output unit 130 of the waste quality calculation device 100, to move the waste in the cell to be mixed, either on the spot or to another position within the mixing address, or to another mixing address, thereby causing the waste to fall and be mixed.
[0023] The imaging unit 31 captures an image of the garbage in the garbage pit 1 (e.g., the stirring area 15) from above. The imaging unit 31 can be fixedly installed, for example, on a pillar, wall, or ceiling in the garbage pit 1, and in this embodiment, is installed on a wall below the crane girder 21. The imaging unit 31 may be, for example, a CCD camera, a CMOS camera, or an infrared camera that captures moving or still images. In the case of capturing moving images, still images may be extracted. The image is linked to the time of capture and stored in memory (for example, inside the imaging unit or in memory of the device 100 or system 600). The imaging unit 31 may capture images of the garbage periodically or at a predetermined timing, for example, at the timing of calculating the CRE. Also, although there is one imaging unit 31, this is not limiting and multiple imaging units may be installed. The stirring area 15 may be divided and imaged by multiple imaging units (partially overlapping images may be captured), or the entire stirring area may be imaged by each of the multiple imaging units from a different angle. Images captured by the multiple imaging units may be processed by a synthesis processing unit (not shown) so that the entire stirring area becomes a single image, for example. The image captured by the imaging unit 31 may be an RGB image.
[0024] The laser distance meter 32 detects the distance to the piled up garbage D1 within the garbage pit 1. The laser distance meter 32 is fixedly or movably installed in the upper part of the garbage pit 1, for example, installed on the crane girder 21 so as to be movable in the direction of crane travel, and may move together with the crane 22 or may move separately, or may be installed near the crane 22. When installed fixedly vertically downward, the laser distance meter 32 may be configured to be angle adjustable so that its detection angle can be changed for detection. In this embodiment 1, it is fixed to the crane girder 21, and the distance to the garbage below (measurement point P) can be detected by changing the detection angle left and right in Fig. 1. By moving the crane girder 21 in the direction perpendicular to the paper surface of Fig. 1, the distance to the garbage in the entire stirring area 15 can be detected. The coordinates (XY plane coordinates) of the measurement point P can be calculated based on the position and detection angle (measurement point angle θ) of the laser range finder 32. The position of the laser range finder 32 can be derived from the position coordinates of the crane girder 21 and the relative positions of the crane girder 21 and the laser range finder 32. The coordinates of the measurement point P, the detected distance A, the measurement point angle θ, and the detection time are linked and stored in a memory (for example, inside the laser range finder or in a memory unit of the device 100 or the system 600).
[0025] The image capturing time of the image capturing unit 31 and the distance detection time of the laser range finder 32 do not have to be completely the same. An image capturing time that approximately corresponds to the detection time of the laser range finder 32 may be configured. It is preferable that stirring by the crane is not performed while at least one or both of them are processing (distance detection, image capturing). Images may be taken and distances may be detected at a predetermined timing when the crane is automatically operated for mixing or when garbage is being dumped into the incinerator 40.
[0026] FIG. 2 shows the functions of the waste quality calculation device 100. The measurement point garbage height calculation unit 101 calculates the measurement point garbage pile height Z based on the distance A, the measurement point angle θ, and a reference distance B from the laser range finder 32 to the bottom surface of the garbage pit 1. The reference distance B is the distance from the laser range finder 32 to the floor (here, the floor of the mixing area 15) in the vertical downward direction. Z = BA × cosθ (1)
[0027] The three-dimensional garbage height calculation unit 102 calculates three-dimensional garbage height information W based on the plane coordinates (XY) within the garbage pit 1 and information on the garbage pile height Z at the measurement point. The three-dimensional height information W may include information on the imaging time and the detection time. The three-dimensional dust height calculation unit 102 calculates the three-dimensional height information W at a predetermined timing. In this embodiment, the "predetermined timing" may be a fixed interval, a set time, or a timing based on an instruction operation by an operator.
[0028] The image conversion unit 103 converts the image captured by the imaging unit 31 into an aerial viewpoint image based on installation information of the imaging unit 31 (e.g., the position coordinates of the installation position in the garbage pit, the imaging angle, the lens angle of view, etc.). In this embodiment 1, the imaging unit 31 captures images of the garbage in the stirring area 15 from a predetermined angle obliquely from above, and therefore converts the captured image into an aerial viewpoint image.
[0029] The image correction unit 104 corrects the aerial viewpoint image so that all areas are on the same height plane, based on the three-dimensional height information W of the dust. The image obtained here is called a corrected image. As a result, a planar image at the same height is obtained. The corrected image is stored in the storage unit 110.
[0030] The representative color processing unit 111 extracts (assigns) the pixels of an image of garbage in the garbage pit captured by the imaging unit 31 (e.g., a still image or the above-mentioned corrected image) to one of, for example, 16 representative colors, and excludes colors other than the 16 colors from cluster formation. The representative color processing unit 111 extracts a predetermined number of representative colors from the corrected image using the k-means algorithm. The representative color processing unit 111 reduces the number of colors in the image to a 16-color bitmap image with a small amount of data, for example.
[0031] A same-color cluster processing unit 112 forms a same-color cluster of adjacent pixels of the same color for each pixel to which the representative color is assigned by the representative color extraction unit 111 . The same-color cluster processing unit 112 separates pixels of the j-th representative color from pixels of representative colors other than the i-th representative color, and forms same-color clusters for each. Here, a pixel may be converted into a binary image in which a pixel that matches one or more representative colors is set to "1" and a pixel that does not match any other representative color is set to "0." The same-color cluster processing unit 112 generates a binary image for the pixels of the j-th representative color and forms a same-color cluster. A same-color cluster is composed of two or more pixels, but when calculating the relative entropy, even if there is only one pixel, it is counted as a same-color cluster.
[0032] A relative entropy calculation unit 113 calculates the relative entropy between the number of same-color clusters formed by the same-color cluster processing unit 112 and the number of pixels in the image. The relative entropy calculation unit 113 divides the image of the garbage in the garbage pit or the corrected image into a plurality of regions (cells), and calculates the relative entropy for each divided region (cell).
[0033] Cluster relative entropy (CRE) is calculated using the following formula:
number
[0034] When the relative entropy (CRE in cell units) calculated by the relative entropy calculation unit 113 is a predetermined mixing threshold, the output unit 130 outputs information instructing mixing in cell units. The output unit 130 may, for example, display information instructing mixing on a monitor, print it, store it in a storage medium, or transmit it to an external device.
[0035] The operation flow is shown in Figure 3. (S1) An image captured by the imaging unit 31 is processed to generate a corrected image. (S2) Representative colors are extracted from the corrected image using the k-means method, and all colors are narrowed down to 16 colors that indicate dust. Other colors are excluded from cluster formation. (S3) The corrected image is reduced from 256 colors to 16 colors. (S4) A binary image is generated from the corrected image that has been reduced to 16 colors. (S5) Form clusters of the same color. (S6) The representative color j is 16 colors, and the number of same-color clusters M j (j=1 to 16), total number of pixels N, number of pixels per same-color cluster Nj Calculate the following. (S7) The cluster relative entropy (CRE) is calculated for each cell obtained by dividing the image into a predetermined rectangular shape. (S8) Cells whose CRE values are greater than the mixture threshold are determined, and the relative entropy calculation unit 113 executes this. (S9) Information including an instruction to mix cells whose CRE values are greater than the mixing threshold value is output, and the information is sent to the crane operation control system 600. (S10) The waste mixing control unit 602 gives priority to mixing the cells, and the mixing may be performed automatically or manually by the operator. After the predetermined mixing has been carried out, the process returns to step S1, an image of the inside of the pit is captured, and the process is repeated. This process may be repeated until all cells have CRE values less than the blending threshold.
[0036] (Example) 4A is an example of a corrected image obtained by correcting the image inside the garbage pit. The corrected image is obtained through the processes of the measurement point garbage height calculation unit 101, the three-dimensional garbage height calculation unit 102, the image conversion unit 103, and the image correction unit 104. Figure 4B shows an image of the clusters formed by the first representative color. In this image, the number of clusters (M) of the first representative color was 1212, the number of pixels in the cluster of the first representative color (N) was 281455, and the cluster relative entropy (CRE) was 3.32. The number of clusters, the number of pixels in the cluster, and the CRE value for the other representative colors were also calculated.
[0037] Figure 4C shows the average change in cluster relative entropy (CRE) for each hour on a given day. The cluster relative entropy (CRE) declines to the right from midnight to midnight the following day. There is also a tendency for the cluster relative entropy (CRE) to be smaller in the afternoon than in the morning, which confirms that mixing is progressing from morning to afternoon. The corrected image in FIG. 4D shows a more mixed state than the corrected image in FIG. 4A.
[0038] The corrected image of the inside of the garbage pit is divided into specified rectangular cells, and the cluster relative entropy is calculated for each cell image. This makes it clear where the garbage quality has been homogenized and where it has not, and shows where mixing should take place within the pit (where mixing has not progressed). Figure 4E shows the results of calculating the cluster relative entropy (CRE) for an image obtained by dividing the corrected image in Figure 4D into cells. In Figure 4E, there are multiple cells where CRE=0, but the upper right and bottom center clearly contain something that is not garbage, and are outliers. The cell with the highest cluster relative entropy (CRE) is 6.2 in the upper left, which is a cell area that contains large clusters.
[0039] The following can be confirmed from this example. (1) The degree of mixing of garbage in a garbage pit can be quantified, so it can be used as an indicator. (2) As mentioned above, it can be used as an indicator, making it possible to clearly identify areas with a low degree of mixing. (3) It can be used as one of the pieces of information to be held by each cell of the 3D mesh of a garbage pit advanced management system (3D model). (4) Differences from the above patent documents are noted. The difference between the above Patent Document 1 and this disclosure is that the mixed state of the garbage is confirmed using a polarized image, whereas the present disclosure uses clusters (litter clumps) and the number of pixels. The above Patent Document 2 requires the generation of teacher data and the construction of a model, whereas the present disclosure does not require the generation of teacher data and the construction of a model, and it is sufficient to determine a representative color. The above Patent Document 3 uses area ratio and variation to quantify the mixed state, but does not grasp the characteristics and garbage quality. The present disclosure calculates the variation not based on the light and dark parts of the divided area, but based on the clusters (litter clumps) and the number of pixels (number of pixels) contained in the divided area. The above Patent Document 4 uses the number of clusters and the area to confirm the mixed state of the garbage, whereas the present disclosure uses clusters (litter clumps) and the number of pixels (number of pixels). [Explanation of symbols]
[0040] 100 Garbage quality calculation device 101 Measurement point garbage height calculation unit 102 Three-dimensional garbage height calculation unit 103 Image conversion section 104 Image correction section 110 Storage section 111 Representative color processing section 112 Same-color cluster processing section 113 Relative Entropy Calculation Unit 130 Output section 600 Crane Operation Control System 601 Automatic driving control unit 602 Waste Mixing Control Unit
Claims
1. a representative color processing unit that extracts pixels of an image of garbage in the garbage pit into one of a predetermined number of representative colors; a same-color cluster processing unit that forms a pixel group of adjacent pixels of the same color for pixels to which any of the representative colors has been assigned by the representative color extraction unit; a relative entropy calculation unit that calculates a cluster relative entropy between the number of pixel groups formed by the same-color cluster processing unit and the number of pixels of the image; A waste quality calculation device comprising:
2. An output unit outputs information instructing waste mixing when the cluster relative entropy calculated by the relative entropy calculation unit is equal to a predetermined mixing threshold. The waste quality calculation device according to claim 1.
3. a representative color processing step of extracting and processing pixels of an image of garbage in the garbage pit into one of a predetermined number of representative colors; a same-color cluster processing step of forming a group of adjacent pixels of the same color for the pixels to which any of the representative colors has been assigned in the representative color extraction step; a relative entropy calculation step of calculating a cluster relative entropy between the number of pixel groups formed in the same-color cluster processing step and the number of pixels in the image; A method for calculating waste quality, including:
4. and an output step of outputting information indicating waste mixing when the cluster relative entropy calculated in the relative entropy calculation step is equal to a predetermined mixing threshold value. The method for calculating waste quality according to claim 3.
5. A waste quality calculation program, A program for implementing the waste quality calculation method according to claim 3 or 4 by at least one processor or information processing device.
6. A waste quality calculation device according to claim 1 or 2 is provided. Crane operation control system.
7. and a waste mixing control unit that controls a crane and a bucket in response to information instructing mixing output from the output unit of the waste quality calculation device, to move the waste in the cell to be mixed thereon or to another position within the mixing address, or to another mixing address, and controls the waste to fall and be mixed. The crane operation control system according to claim 6.
Citation Information
Patent Citations
Method of agitating refuse in refuse pit in refuse incinerator
JP1989049815A
Apparatus for detecting agitated state in refuse pit and method of detecting agitated state in refuse pit
JP2015143139A
Information processing apparatus, information processing method, and information processing program
JP2019137551A
Electric dynamometer
JP1989057137A
Apparatus, system, program, method, and data structure for estimating waste quality
JP6554148B2
