Iron ore multi-source image fusion method and system
By mapping spectral images and dual-energy ray images to a common physical grid in multi-source image processing of iron ore, the unique attribution of spectral pixels covered by leaf nodes is determined, and node quality is estimated by using dual-energy ray attenuation. This solves the problems of local spatial offset and invalid spectral regions, realizes the correspondence between spectral fusion weights and physical quality, and ensures the accuracy and completeness of the fusion results.
Patent Information
- Application Number
- CN202611217975.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-12
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2046-08-12
AI Technical Summary
Existing technologies for processing multi-source images of iron ore suffer from several problems: difficulty in adapting to local spatial shifts, the possibility of the same spectral pixel being reused by multiple leaf nodes, the inability of image fusion weights to reflect local physical quality, and the possibility of outputting whole-sample fusion results even in spectrally invalid regions.
Two sets of spectral images and dual-energy ray images are mapped to a common physical grid. The unique assignment of spectral pixels covered by leaf nodes is determined by node displacement and node residual. The node estimated quality is formed by using dual-energy ray attenuation. Spectral fusion is performed by combining repeatability variance and node closure quality to ensure that the quality weight of spectrally effective leaf nodes is consistent with the measured net dry total quality, and to avoid the influence of spectrally invalid regions on the whole sample fusion results.
It achieves unique assignment of spectral pixels in different local regions, reduces local spectral mismatch, ensures that the spectral fusion weight is related to physical quality, avoids erroneous fusion of spectral invalid regions, and provides a judgment on the spatial validity and integrity of the fusion results.
Smart Images

Figure CN122736893B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of image data processing technology, specifically relating to a method and system for multi-source image fusion of iron ore. Background Technology
[0002] Iron ore samples typically consist of particles with varying sizes, mineral compositions, surface roughness, colors, and packing thicknesses. To obtain the different wavelength ranges and internal attenuation characteristics of iron ore samples, multiple sets of spectral images can be acquired using a spectral imaging device, and high-energy X-ray transmission images and low-energy X-ray transmission images can be acquired using a dual-energy X-ray imaging device.
[0003] Different imaging devices vary in imaging field of view, spatial resolution, point spread width, installation location, scanning direction, acquisition time, and response characteristics. Existing multi-source image processing methods typically perform global spatial registration on the entire image. However, iron ore samples are characterized by discrete particles, surface undulations, and inconsistent local deposition thicknesses, meaning that spatial offsets may differ across different local regions. When using uniform global transformation parameters, even after registration is achieved in some areas, spectral pixel mismatches may still exist in other areas.
[0004] When displacement parameters are applied to different local regions, the coverage of adjacent regions may overlap, causing the same spectral pixel to simultaneously appear in multiple local regions. When the same spectral pixel is not uniquely assigned, the same observation information may be reused in subsequent fusion processes, affecting the correspondence between node features and whole-sample features.
[0005] Furthermore, the stacking thickness and actual quality vary across different local regions. Aggregating local spectral information based on image area or pixel count makes it difficult to reflect the actual contribution of each local region to the overall physical quality of the sample. In cases of local registration failure, spectral saturation, insufficient effective pixel count, or inadequate common coverage, deleting the corresponding regions and renormalizing the weights of the remaining regions may result in a fusion result supported only by a portion of the sample regions being output as the complete result for the entire sample.
[0006] Therefore, there is a need for a multi-source image processing scheme for iron ore that can handle local spatial offset and spectral pixel duplication in multi-source images, and use the physical quality of the sample to constrain image fusion weights and determine fusion integrity. Summary of the Invention
[0007] This invention aims to solve the problems that the overall registration between two sets of spectral images and dual-energy X-ray images is difficult to adapt to local spatial shifts, the same spectral pixel may be reused by multiple leaf nodes, the image fusion weight cannot reflect local physical quality, and the whole sample fusion result may still be output when there are invalid spectral regions.
[0008] In a first aspect, this invention proposes a multi-source image fusion method for iron ore, comprising: mapping two sets of spectral images and dual-energy X-ray images to a common physical grid; forming a sample mask by attenuation of dual-energy X-rays; determining node displacements and node residuals within a calibration error bound based on candidate displacement residuals; recursively partitioning the sample mask according to residual limits and node sizes; determining the unique assignment of multiple leaf nodes covering spectral pixels based on node displacements; identifying effective and ineffective spectral leaf nodes based on node residuals, the number of effective pixels, and the common coverage ratio; and mapping surface quality by attenuation of dual-energy X-rays and integrating it to estimate node quality. If the absolute difference between the sum of estimated node quality and the measured net dry total quality is within the closure tolerance, the estimated node quality is proportionally corrected to the node closure quality; otherwise, fusion is terminated and the quality closure failure status is output. Two sets of spectral images within the effective leaf nodes of the spectrum are fused according to repeatability variance. The node fusion spectrum is aggregated according to the node closure quality to form the fusion data. The sum of the node closure quality of the effective leaf nodes of the spectrum is divided by the measured net dry total quality to form the effective quality coverage. When the effective quality coverage reaches the integrity limit, the whole sample effective fusion data is output; otherwise, the node closure quality is maintained, and the missing quality and fusion invalid status are output.
[0009] Furthermore, the two sets of spectral images include a first spectral image and a second spectral image, and the dual-energy X-ray images include a high-energy X-ray transmission image and a low-energy X-ray transmission image; the first spectral image and the second spectral image are corrected using a dark reference image and a white reference image, and the high-energy X-ray transmission image and the low-energy X-ray transmission image are corrected using empty field data, dark field data, scattering data, and beam hardening data; spatial transformation parameters are determined according to the geometric relationship between optical marks and X-ray marks in the multi-mode calibration plate, and each image is resampled according to the spatial transformation parameters to form a common physical grid, and the high-energy X-ray attenuation and low-energy X-ray attenuation are compared with the empty tray noise boundary to form a sample mask.
[0010] Furthermore, determining the node displacement and node residual within the calibration error bound according to the candidate displacement residual includes: constructing a candidate displacement set within the calibration error bound; fitting the wavelength-wise response transfer relationship between two sets of spectral images based on repeatedly acquired data from the reflectance reference plate; determining the band weights based on the reciprocal of the sum of the variances of the repeatability of the overlapping bands; screening effective pixel pairs that are simultaneously within the node spatial range, the sample mask, and the common coverage area of the two sets of spectral images; unifying the spectral responses of the effective pixel pairs according to the wavelength-wise response transfer relationship; accumulating the squares of the reflectance differences of the overlapping bands of the effective pixel pairs according to the band weights and normalizing them to form candidate displacement residuals; selecting the candidate displacement with the smallest candidate displacement residual as the node displacement, and using the smallest candidate displacement residual as the node residual.
[0011] Furthermore, the recursive partitioning of the sample mask based on residual limits and node sizes includes: determining residual limits based on the repeated calibration residual distribution matching the node size and candidate displacement set; determining the minimum node size based on the common physical grid spacing and the point spread width after mapping the two sets of spectral images; when the node residual of the node to be processed does not exceed the residual limit, the node to be processed is determined as a candidate spectral effective leaf node; when the node residual exceeds the residual limit and the node size is greater than the minimum node size, sub-nodes are partitioned along the horizontal and vertical directions of the common physical grid and the parent node stops participating in mass integration and spectral aggregation; when the node size reaches the minimum node size or there is a lack of effective pixel pairing, the node to be processed is determined as a spectral invalid leaf node.
[0012] Furthermore, the method of determining the unique assignment of multiple leaf node-covered spectral pixels based on node displacement includes: identifying leaf nodes covering the same spectral pixel; selecting paired spectral pixels based on node displacement; accumulating the square of the reflectance difference of overlapping bands according to the band weights to form an allocation residual; assigning the spectral pixel to the leaf node with the smallest allocation residual; when the difference in allocation residuals of multiple leaf nodes is within a preset numerical tolerance, determining the unique assignment by spatial location and number; freezing the node partitioning structure; recalculating the node residuals, the number of effective pixels, and the common coverage ratio; determining the lower limit of the number and the lower limit of the coverage ratio based on repeated calibration data; leaf nodes whose node residuals do not exceed the residual limit, whose number of effective pixels is not lower than the lower limit of the number, and whose common coverage ratio is not lower than the lower limit of the coverage ratio are spectrally valid leaf nodes, and leaf nodes that do not meet all the conditions are spectrally invalid leaf nodes.
[0013] Furthermore, the step of mapping surface quality from dual-energy ray attenuation and integrating it into node estimated quality includes: dividing the dry mass of the calibrated sample by the irradiated area to form the true surface quality; fitting the surface quality mapping relationship between low-energy ray attenuation, high-energy ray attenuation and the true surface quality; converting the dual-energy ray attenuation in the sample mask into grid cell surface quality according to the surface quality mapping relationship; integrating it in the effective leaf nodes and ineffective leaf nodes of the spectrum to form node estimated quality; forming a closure tolerance by the sum of measurement error, mapping verification error and grid discretization error; when the absolute difference between the sum of node estimated quality and the measured net dry mass is within the closure tolerance, correcting the node estimated quality to the node closure quality according to the ratio of the measured net dry mass to the sum of node estimated quality; otherwise, fusion is terminated and the quality closure failure status is output.
[0014] Furthermore, the fusion of two sets of spectral images within the effective leaf node of the spectrum according to repeatability variance includes: calculating the average reflectance of the two sets of spectral images within the effective leaf node; in the overlapping band, converting one set of average reflectance to the response scale of the other set of spectral images according to the wavelength-by-wavelength response transfer relationship, and weighting it according to the reciprocal of the repeatability variance of the two sets of spectral images to form the fused reflectance; retaining the effective average reflectance in the unique band, and marking the missing band when neither set of spectral images has an effective average reflectance; determining the range limit of the missing band according to the offline verification data, and adjusting the effective leaf node of the spectrum to the ineffective leaf node of the spectrum while maintaining the node closure quality when the range of the missing band exceeds the range limit of the missing band; otherwise, supplementing the reflectance of the missing band according to the interpolation relationship of adjacent effective bands formed by offline calibration to form the node fused spectrum.
[0015] Furthermore, the aggregation of node fusion spectra by node closure mass to form fusion data includes: forming mass weights for effective leaf nodes based on the ratio of node closure mass to the measured net dry mass; calculating the weighted mean, weighted variance, weighted quantile features, and areal mass distribution features of the node fusion spectra based on the mass weights and concatenating them to form a sample description vector; writing the node fusion spectra of effective leaf nodes into a common physical grid to form a node fusion feature map; writing the missing markers and cause codes of ineffective leaf nodes into the node fusion feature map; and encapsulating the node fusion feature map, sample description vector, node closure mass, and leaf node partitions into fusion data.
[0016] Furthermore, when the effective quality coverage reaches the integrity limit, the whole sample effective fused data is output; otherwise, the node closure quality is maintained, and the missing quality and fusion invalid state are output. This includes: the integrity limit is formed by floating-point error, grid boundary error, and storage precision; when the effective quality coverage reaches the integrity limit, the leaf node partition, node displacement, unique assignment of spectral pixels covered by multiple leaf nodes, node closure quality, node fusion feature map, and sample description vector are written into the fused data to form and output the whole sample effective fused data; when the integrity limit is not reached, the node closure quality remains unchanged, and the missing quality is formed by subtracting the sum of the node closure quality of the spectral effective leaf nodes from the measured net dry total quality. The fused data is marked as fusion invalid state, and the spectral invalid leaf node position, reason code, and re-acquisition command are output.
[0017] In a second aspect, the present invention provides a multi-source image fusion system for iron ore, comprising: The registration module is used to map two sets of spectral images and dual-energy X-ray images to a common physical grid. A sample mask is formed by the attenuation of dual-energy X-rays. Within the calibration error limit, the node displacement and node residual are determined according to the candidate displacement residual. The sample mask is recursively divided according to the residual limit and node size. The unique assignment of multiple leaf nodes covering spectral pixels is determined according to the node displacement. The effective leaf nodes and ineffective leaf nodes of the spectrum are determined according to the node residual, the number of effective pixels and the common coverage ratio. The closure module is used to attenuate the surface quality of the dual-energy ray and integrate it into the estimated node quality. If the absolute difference between the sum of the estimated node quality and the measured net dry total quality is within the closure tolerance, the estimated node quality is proportionally corrected to the node closure quality; otherwise, the fusion is terminated and the quality closure failure status is output. The fusion module is used to fuse two sets of spectral images within the effective leaf nodes of the spectrum according to repeatability variance, aggregate the node fusion spectrum according to the node closure quality as fusion data, and divide the sum of the node closure quality of the effective leaf nodes of the spectrum by the measured net dry total quality to form the effective quality coverage. When the effective quality coverage reaches the integrity limit, the whole sample effective fusion data is output; otherwise, the node closure quality is maintained, and the missing quality and fusion invalid status are output.
[0018] The beneficial effects of this invention are: This invention maps two sets of spectral images and dual-energy ray images to a common physical grid, and determines the node displacement and node residual of each node according to the overlapping band residual within the calibration error range. This enables different local regions to adopt node displacements that match the corresponding spatial offset, reducing local spectral mismatches that occur when using a single overall registration parameter.
[0019] This invention recursively divides the sample mask based on node residuals and node size, and stops the parent node from participating in mass integration and spectral aggregation after the child node is formed. This enables regions of different spatial scales to be registered separately, while avoiding repeated participation of parent and child nodes in subsequent mass calculations and spectral aggregation.
[0020] This invention selects paired spectral pixels based on node displacement and assigns spectral pixels covered by multiple leaf nodes to the leaf node with the smallest allocation residual. This ensures a unique spatial assignment for each spectral pixel, preventing the same spectral observation from being reused across multiple leaf nodes. After freezing the node partitioning structure, recalculating the node residual, effective pixel count, and common coverage ratio further ensures that the leaf node validity status remains consistent with the spectral data after unique assignment.
[0021] This invention utilizes dual-energy ray attenuation to form the surface quality of grid cells. It integrates within both effective and ineffective spectral leaf nodes to generate estimated node quality, and performs quality closure based on the measured net dry total quality. This allows the aggregation weight of the node-fused spectrum to be correlated with the physical quality of the corresponding region. By using closure tolerance to determine whether the sum of estimated node quality matches the measured net dry total quality, it also prevents data with anomalous surface quality mapping from continuing to form effective fused data.
[0022] This invention performs weighted fusion of two sets of spectral images within overlapping bands based on their repeatability variance, while retaining effective average reflectance within unique bands. This enables the formation of nodal fusion spectra at a unified response scale, ensuring that spectral data with better repeatability contributes appropriately to the fused reflectance. When the range of missing bands exceeds the limit, the corresponding leaf node is adjusted to a spectrally invalid leaf node, thus avoiding the use of spectral data with excessively large missing ranges to form effective nodal fusion spectra.
[0023] This invention generates quality weights based on node closure quality, and accordingly forms sample description vectors and node fusion feature maps, which can simultaneously preserve the overall sample statistical characteristics and the node fusion spectra corresponding to each spatial location. By writing the missing markers and reason codes of spectrally invalid leaf nodes into the node fusion feature map, the spatial validity information of the fusion result can also be preserved.
[0024] The present invention maintains the node closure quality of spectrally invalid leaf nodes and uses the sum of the node closure quality of spectrally valid leaf nodes to form the effective quality coverage. When spectrally invalid regions exist, the quality weights of the remaining spectrally valid leaf nodes are not renormalized to the entire sample. When the effective quality coverage does not reach the integrity limit, missing quality and fusion invalidity states are output, preventing fusion results supported only by a portion of the sample region from being marked as valid fusion data for the entire sample, and providing location and cause basis for re-acquisition of the corresponding region. Attached Figure Description
[0025] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0026] Figure 1 This is a flowchart illustrating the multi-source image fusion method for iron ore provided in an embodiment of the present invention;
[0027] Figure 2 This is a flowchart illustrating the node recursive partitioning, spectral pixel unique attribution, and leaf node validity determination method provided in this embodiment of the invention.
[0028] Figure 3 This is a flowchart illustrating the node estimation mass formation and mass closure method provided in an embodiment of the present invention;
[0029] Figure 4 This is a flowchart illustrating the node spectral fusion and fusion data encapsulation method provided in an embodiment of the present invention;
[0030] Figure 5 This is a schematic diagram of the structure of the multi-source image fusion system for iron ore provided in an embodiment of the present invention. Detailed Implementation
[0031] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the invention. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings.
[0032] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0033] This application is applicable to multi-source image processing of iron ore granular samples, iron ore block samples, or non-uniform iron ore samples composed of particles of different sizes. The sample to be processed is laid flat on a rigid sample tray with a positioning reference. Two sets of spectral imaging devices acquire a first spectral image and a second spectral image with overlapping bands, respectively. A dual-energy X-ray imaging device acquires high-energy X-ray transmission images and low-energy X-ray transmission images. The measured net-dry total mass of the sample is obtained by a weighing device.
[0034] The processing environment used in this embodiment includes two sets of spectral imaging devices, a dual-energy X-ray imaging device, a weighing device, a multimodal calibration plate, a processor, and a data storage device. The multimodal calibration plate is equipped with optical markers recognizable by the spectral imaging devices and X-ray markers recognizable by the dual-energy X-ray imaging device; the optical and X-ray markers have a known geometric relationship. The processor receives image data, calibration data, and weighing data, and performs common physical mesh mapping, local registration, leaf node division, unique spectral pixel assignment, node quality closure, spectral fusion, and fusion integrity assessment.
[0035] The common physical grid is a physical coordinate grid established using the positioning reference on the sample tray, with grid coordinates represented by actual length. A node is a rectangular spatial region within the common physical grid; a leaf node is a node that is not further subdivided after the recursive partitioning is completed. A spectrally effective leaf node is a leaf node whose node residual, effective pixel count, and common coverage ratio all meet the criteria; a spectrally ineffective leaf node is a leaf node that does not meet all the criteria. Node closure quality is the node quality formed by proportionally correcting the estimated node quality using the measured net dry total mass. Effective quality coverage is the ratio of the sum of the node closure qualities of spectrally effective leaf nodes to the measured net dry total mass.
[0036] Multi-source image data flows according to the following relationship: the two sets of spectral images after correction and dual-energy ray attenuation are mapped to a common physical grid; the common physical grid, sample mask, and two sets of spectral images enter the local registration and node division process; node displacement enters the process of uniquely assigning spectral pixels covered by multiple leaf nodes; leaf node partitioning and dual-energy ray attenuation enter the node quality closure process; the effective spectral leaf nodes, node closure quality, and spectral pixels that have been uniquely assigned enter the spectral fusion process; the fused data and effective quality coverage enter the fusion integrity judgment process.
[0037] This embodiment provides a method for multi-source image fusion of iron ore. For example... Figure 1 As shown, the method includes the following steps: Step S10: Map the two sets of spectral images and dual-energy X-ray images onto a common physical grid, and form a sample mask by dual-energy X-ray attenuation; Step S20: Determine the nodal displacements and nodal residuals within the calibration error limits based on the candidate displacement residuals; Step S30: Recursively divide the sample mask according to the residual limit and node size, determine the unique assignment of multiple leaf nodes covering spectral pixels according to node displacement, and determine the spectral effective leaf nodes and spectral ineffective leaf nodes according to node residual, effective pixel number and common coverage ratio. Step S40: The mass of the attenuated mapping surface of the dual-energy ray is integrated to obtain the estimated mass of the nodes. If the absolute difference between the sum of the estimated mass of the nodes and the measured net dry mass is within the closure tolerance, the estimated mass of the nodes is proportionally corrected to the node closure mass; otherwise, the fusion is terminated and the mass closure failure status is output. Step S50: The two sets of spectral images within the effective leaf nodes of the spectrum are fused according to the repeatability variance. The node fusion spectrum is aggregated according to the node closure mass as the fusion data. The effective mass coverage is formed by dividing the sum of the node closure masses of the effective leaf nodes by the measured net dry mass. Step S60: When the effective quality coverage reaches the integrity limit, output the whole sample effective fused data; otherwise, maintain the node closure quality and output the missing quality and invalid fusion status.
[0038] The following is a detailed explanation of each step.
[0039] Step S10: Map the two sets of spectral images and dual-energy X-ray images onto a common physical grid, and form a sample mask by dual-energy X-ray attenuation.
[0040] In this embodiment, step S10 includes: Step S11, the two sets of spectral images include a first spectral image and a second spectral image, and the dual-energy X-ray image includes a high-energy X-ray transmission image and a low-energy X-ray transmission image; Step S12: Correct the first spectral image and the second spectral image using the dark reference image and the white reference image; correct the high-energy ray transmission image and the low-energy ray transmission image using the space field data, dark field data, scattering data and beam hardening data. Step S13: Determine the spatial transformation parameters according to the geometric relationship between the optical markers and the ray markers in the multimodal calibration plate, resample each image according to the spatial transformation parameters to form a common physical grid, and compare the high-energy ray attenuation and low-energy ray attenuation with the empty tray noise boundary to form a sample mask.
[0041] The first and second spectral images cover the first and second wavelength ranges, respectively, with at least one overlapping band between them. The two sets of spectral images can be acquired by two hyperspectral cameras or by two multispectral cameras with multiple discrete narrow bands. High-energy and low-energy X-ray transmission images can be acquired sequentially from the same X-ray source under different energy conditions, or simultaneously by a dual-layer detector or an energy spectrum detector. The processor associates the two sets of spectral images, dual-energy X-ray images, and the measured net dry total mass into the same processing batch according to the sample number.
[0042] For the first and second spectral images, the processor reads the original digital value, dark reference value, and white reference value, respectively. It subtracts the dark reference value from the original digital value and uses the difference between the white and dark reference values as the normalization range to convert the original digital value into pixel-by-pixel reflectance. If the difference between the white and dark reference values is lower than the effective response lower limit, the original digital value reaches the imaging device saturation value, or the converted reflectance exceeds the calibrated effective range, the corresponding pixel is marked as invalid in the corresponding band. The invalid marker and reflectance are processed together in step S20 to prevent invalid reflectance from participating in the calculation of the overlapping band residual.
[0043] For high-energy and low-energy X-ray transmission images, the processor subtracts the dark field value from the sample transmission intensity, then divides it by the effective open field intensity obtained by subtracting the dark field value from the open field intensity, and takes the negative logarithm of the resulting transmittance to form high-energy and low-energy X-ray attenuation, respectively. If the transmission intensity is not positive, the open field data is invalid, the dark field data is invalid, scattering correction fails, or beam hardening correction fails, the corresponding position is marked as invalid X-ray data. If there are invalid X-ray data positions within the sample mask and reliable surface quality cannot be formed, the corresponding positions are not deleted before continuing to form complete and effective fused data; instead, the incomplete X-ray data state is passed to step S40.
[0044] A common physical coordinate system is established using the positioning reference on the sample tray. The positioning reference includes at least three non-collinear positioning points. Based on the known geometric relationship between the optical and ray marks in the multimodal calibration plate, spatial transformation parameters are determined for the first spectral image, the second spectral image, the high-energy ray transmission image, and the low-energy ray transmission image to the common physical coordinate system. The spatial transformation parameters are used to convert the pixel coordinates of each image to the common physical coordinates.
[0045] By repeatedly placing and acquiring the multimodal calibration plate, the reprojection error of each imaging device after mapping to a common physical coordinate system is recorded. The calibration error bound used in step S20 is determined based on the distribution range of the reprojection error, and the point spread width after mapping the two sets of spectral images is recorded simultaneously. The calibration error bound limits the search range of the candidate displacement set, and the point spread width is used to determine the minimum node size in step S30.
[0046] The grid spacing of the common physical grid is no greater than the worst effective spatial resolution after mapping each image. When resampling two sets of spectral images, the continuity of reflectance is maintained; when resampling dual-energy ray attenuation, the spatial relationship between ray attenuation and grid position is maintained. Locations outside the effective field of view of the original image are marked with no overlay, and effective data is not generated by extrapolating from neighboring pixels.
[0047] The attenuation of high-energy and low-energy rays is compared with the empty tray noise boundary formed by repeated acquisitions of the empty tray. When the ray attenuation under at least one energy condition exceeds the corresponding empty tray noise boundary, and the corresponding ray data is not marked as invalid, the corresponding common physical grid cell is included in the sample mask. When filtering isolated noise regions or filling internal holes in the sample mask, continuous regions where the presence of the sample has been confirmed by dual-energy ray attenuation are not deleted.
[0048] Step S10 outputs a common physical grid, sample mask, two sets of calibrated spectral images, high-energy ray attenuation, low-energy ray attenuation, and the coverage status of each grid pixel. The two sets of spectral images, common physical grid, and sample mask proceed to step S20; dual-energy ray attenuation, common physical grid, and sample mask proceed to step S40. If the positioning reference identification fails or the spatial transformation parameters exceed the calibration validity range, the fusion processing of the current sample is stopped, and an invalid spatial calibration record is output.
[0049] Step S20: Determine the nodal displacement and nodal residual according to the candidate displacement residual within the calibration error range.
[0050] In this embodiment, step S20 includes: Step S21: Construct a set of candidate displacements within the calibration error bound; Step S22: Fit the wavelength-by-wavelength response transfer relationship between the two sets of spectral images by repeatedly collecting data according to the reflectance reference plate, and determine the band weights according to the reciprocal of the sum of the variances of the repeatability of the overlapping bands. Step S23: Select effective pixel pairs that are simultaneously within the coverage area of the node space, the sample mask, and the two sets of spectral images, and unify the spectral response of the effective pixel pairs according to the wavelength-wise response transfer relationship; Step S24: Accumulate the squared reflectance difference of the overlapping bands of the effective pixel pair according to the band weight and normalize it to form candidate displacement residuals. Select the candidate displacement with the smallest candidate displacement residual as the node displacement and use the smallest candidate displacement residual as the node residual.
[0051] The outer region of the sample mask is used as the root node. For any node to be processed, a set of candidate displacements is constructed within the calibration error bound. Candidate displacements can be arranged according to the integer grid spacing of the common physical grid, or an integer grid search can be performed first, followed by sub-pixel interpolation near the position with the smallest candidate displacement residual. The lateral and longitudinal components of the candidate displacements do not exceed the calibration error bound. When the set of candidate displacements is empty, the node to be processed is transferred to the spectrally invalid leaf node processing, and displacements outside the calibration error bound are not used to supplement the candidate results.
[0052] Within the overlapping bands of two sets of spectral images, a wavelength-wise response transfer relationship from the second spectral image to the first spectral image is fitted using multiple reflectance reference plates with different reflectivities. When using linear transfer, a response scaling factor and a response bias factor are determined for each overlapping band, and the reflectance of the second spectral image is converted to the response scale of the first spectral image. The wavelength-wise response transfer relationship is only used for the overlapping bands and is not extrapolated to the unique bands of the second spectral image.
[0053] Repeated acquisitions were performed on the reflectivity reference plate to obtain the repeatability variance of the first and second spectral images in each overlapping band. The band weights were determined according to the following formula: ; In the formula, wavelength The corresponding band weights, and These represent the repeatability variances of the two sets of spectral images. To prevent numerically stable terms with a denominator of zero, bands with missing or anomalous repeatability variance are excluded from the calculation of overlapping band residuals.
[0054] For the nodes to be processed and candidate displacement Pixels that simultaneously fall within the node space, sample mask, effective coverage of the first spectral image, and effective coverage of the second spectral image after displacement are selected. Only pixels with effective reflectivity in both sets of spectral images in the current overlapping band are considered valid pixel pairs. The candidate displacement residual is formed according to the following formula: ; In the formula, For nodes to be processed, For candidate displacements, Nodes to be processed In candidate displacement The effective cell pairing set below, The common physical grid cell location in the effective cell pairing set, According to candidate displacement Determined paired cell locations, The number of valid cell pairs in the set of valid cell pairs. It is a set of overlapping bands. The wavelengths corresponding to the overlapping bands. wavelength The corresponding band weights, The first spectral image at the pixel location and wavelength Reflectivity at that location The second spectral image, transformed according to the wavelength-by-wavelength response transfer relationship, is located at the paired pixel position. and wavelength Reflectivity at that location Nodes to be processed In candidate displacement The candidate displacement residuals.
[0055] The candidate displacement residual is calculated at the pixel-by-pixel and overlap-by-overlap band level, without averaging the pixels within a node first, to avoid the reflectivity differences at different spatial locations canceling each other out after averaging. When the number of effective pixel pairs is zero or the sum of band weights is zero, the effective residual of the corresponding candidate displacement is not output, and the corresponding candidate displacement is marked as unavailable.
[0056] Compare the candidate displacement residuals of all available candidate displacements in the candidate displacement set, and select the candidate displacement with the smallest candidate displacement residual as the nodal displacement. If two or more candidate displacements have the same smallest candidate displacement residual, select the first candidate displacement according to the pre-fixed arrangement order of the candidate displacement set, so that the same input yields the same nodal displacement.
[0057] Step S20 outputs node displacement, node residual, effective pixel pairing, and node spatial range, and saves them according to node number. The node displacement is then processed in step S30 for the unique assignment of spectral pixels covered by multiple leaf nodes; the node residual is then processed in step S30 for the recursive node partitioning and leaf node validity determination.
[0058] Step S30: Recursively divide the sample mask according to the residual limit and node size, determine the unique assignment of multiple leaf nodes covering spectral pixels according to node displacement, and determine the spectral effective leaf nodes and spectral ineffective leaf nodes according to node residual, effective pixel number and common coverage ratio.
[0059] See Figure 2 Step S30 includes: Step S31: Determine the residual limit based on the repeated calibration residual distribution that matches the node size and candidate displacement set; determine the minimum node size based on the common physical grid spacing and the point spread width after mapping the two sets of spectral images. Step S32: When the node residual of the node to be processed does not exceed the residual limit, the node to be processed is determined as a candidate effective leaf node of the spectrum; when the node residual exceeds the residual limit and the node size is greater than the minimum node size, child nodes are divided along the horizontal and vertical directions of the common physical grid and the parent node is stopped from participating in mass integration and spectrum aggregation. Step S33: When the node size reaches the minimum node size or there is a lack of effective pixel pairing, the node to be processed is determined as a spectrally invalid leaf node. Step S34: Identify leaf nodes covering the same spectral pixel, select paired spectral pixels according to node displacement, and accumulate the square of the reflectance difference of overlapping bands according to the band weight to form the allocation residual. Step S35: Assign spectral pixels to the leaf node with the smallest allocation residual; when the difference in allocation residuals among multiple leaf nodes is within the preset numerical tolerance, determine the unique assignment by spatial location and number. Step S36: Freeze the node partitioning structure, recalculate the node residuals, effective pixel count, and common coverage ratio, and determine the lower limit of the number and the lower limit of the coverage ratio based on the repeated calibration data; leaf nodes whose node residuals do not exceed the residual limit, whose effective pixel count is not lower than the lower limit of the number, and whose common coverage ratio is not lower than the lower limit of the coverage ratio are spectrally valid leaf nodes, and leaf nodes that do not meet all the conditions are spectrally invalid leaf nodes.
[0060] The calibration process for residual limits uses the same node size, candidate displacement set, and minimum residual selection process as the online processing. Repeated acquisitions are performed on the multimodal calibration plate or samples known to belong to the same material region, generating repeated calibration residual distributions under different node sizes and candidate displacement sets. Pre-determined distribution locations are used as residual limits. During online processing, the corresponding residual limits are read based on the node size of the node to be processed and the candidate displacement set used, without mixing residual limits from different spatial scales.
[0061] The minimum node size is determined based on the common physical grid spacing and the larger point spread width after mapping the two sets of spectral images, and is aligned to the common physical grid. The minimum node size ensures that the leaf nodes contain a grid range sufficient to represent the actual spatial resolution of the imaging device, avoiding further subdivision of nodes to scales that the imaging device cannot resolve.
[0062] If the node residual of the node to be processed does not exceed the residual limit, the node to be processed is identified as a candidate valid leaf node for the spectrum. If the node residual exceeds the residual limit and the node size is larger than the minimum node size, sub-nodes are generated along the horizontal and vertical directions of the common physical grid. The generated sub-nodes do not overlap and cover the area where the parent node intersects with the sample mask. The parent node only serves as a structural index for the node hierarchy and does not participate in the mass integration in step S40 or the spectral aggregation in step S50, thus avoiding duplicate counting of parent and child nodes.
[0063] Step S20 is re-executed for each child node to generate its own node displacement and node residual. The recursive process continues until the node residual does not exceed the residual limit, the node size reaches the minimum node size, or the node lacks effective pixel pairings. If the node size reaches the minimum node size but the node residual still exceeds the residual limit, or the node lacks effective pixel pairings, the node to be processed is identified as a spectrally invalid leaf node. The spectrally invalid leaf node still retains its spatial range, sample mask grid pixels, and dual-energy ray attenuation, and proceeds to step S40 to calculate the node estimated quality.
[0064] After all leaf nodes are formed, leaf nodes covering the same spectral pixel are identified. For a second spectral image pixel covered by multiple leaf nodes, the node displacement of each leaf node is read, paired spectral pixels in the first spectral image are selected based on the node displacement, and the allocation residual corresponding to each leaf node is calculated. ;
[0065] In the formula, For the second spectral image pixels covered by multiple leaf nodes, These are paired spectral pixels selected based on the nodal displacement of the leaf nodes. leaf node The corresponding allocation residuals.
[0066] Spectral pixels are assigned to the leaf node with the smallest allocation residual, and the assignment records of other leaf nodes for the same spectral pixel are deleted. When the difference in allocation residuals among multiple leaf nodes is within a preset numerical tolerance, a unique assignment is determined according to the spatial location and number of the leaf nodes. The spatial location and numbering rules are fixed before processing begins to ensure that any spectral pixel belongs to only one leaf node and that the same input yields the same unique assignment result.
[0067] After unique assignment is completed, the node partitioning structure is frozen. Nodes are not re-partitioned due to changes in spectral pixel assignment; only the node residuals, effective pixel counts, and common coverage ratios of each leaf node are recalculated based on the unique assignment results. The effective pixel count is the number of pixels that can form effective pixel pairs after unique assignment. The common coverage ratio is the ratio of the number of effective pixel pairs to the number of common grid pixels within the sample mask that are theoretically covered by both sets of spectral images, as determined by node displacement.
[0068] The minimum number of effective pixels and the minimum coverage ratio are determined by repeated calibration data and are matched with the node size and the effective spatial resolution of the imaging device. A leaf node is considered a spectrally effective leaf node when the node residual does not exceed the residual limit, the number of effective pixels is not lower than the minimum number of effective pixels, and the common coverage ratio is not lower than the minimum coverage ratio. If any of these conditions are not met, the leaf node is considered a spectrally ineffective leaf node.
[0069] In this embodiment, leaf node reliability can also be formed based on node residuals, common coverage ratio, spectral repeatability error, surface quality mapping local error, and node boundary stability. Node boundary stability can be determined by the degree of change in the leaf node boundary position in adjacent repeated acquisition results. Leaf node reliability is written into the fusion integrity report as a fusion quality record, but does not replace node closure quality as the aggregation weight of the node fusion spectrum.
[0070] Step S30 outputs leaf node partitions, node displacements, unique assignments of spectral pixels covered by multiple leaf nodes, node residuals, number of effective pixels, common coverage ratio, set of effective spectral leaf nodes, set of invalid spectral leaf nodes, and corresponding reason codes. Leaf node partitions and all leaf nodes proceed to step S40; uniquely assigned spectral pixels, effective spectral leaf nodes, and invalid spectral leaf nodes proceed to step S50.
[0071] Step S40: The mass of the surface attenuated by dual-energy ray is integrated to obtain the estimated mass of the nodes. If the absolute difference between the sum of the estimated mass of the nodes and the measured net dry mass is within the closure tolerance, the estimated mass of the nodes is proportionally corrected to the node closure mass; otherwise, the fusion is terminated and the mass closure failure status is output.
[0072] See Figure 3 Step S40 includes: Step S41: Divide the dry mass of the calibrated sample by the irradiated area to form the true surface mass, and fit the surface mass mapping relationship between low-energy ray attenuation, high-energy ray attenuation and true surface mass. Step S42: Convert the dual-energy ray attenuation in the sample mask into the surface quality of the grid cells according to the surface quality mapping relationship, and integrate in the effective leaf nodes and ineffective leaf nodes of the spectrum to form the node estimated quality. Step S43: The sum of measurement error, mapping verification error and grid discretization error forms a closure tolerance. When the absolute difference between the sum of estimated node quality and the measured net dry total quality is within the closure tolerance, the estimated node quality is corrected to the node closure quality according to the ratio of the measured net dry total quality to the sum of estimated node quality. Otherwise, the fusion is terminated and the quality closure failure status is output.
[0073] Further implementation of step S41 includes: Step S411: The calibration samples covering the range of mineral composition and the range of sample thickness are divided into a fitting set and a validation set. The mapping coefficients are fitted using the low-energy ray attenuation, high-energy ray attenuation and true surface quality in the fitting set. Non-negative constraints and monotonic constraints that do not decrease with increasing ray attenuation are applied to the mapping coefficients. Step S412: Determine the verification error limit based on the surface quality measurement error of the retained verification set, and use the retained verification set to verify the surface quality error; Step S413: If the surface quality error does not exceed the verification error limit, freeze the input range of the mapping coefficients, low-energy ray attenuation and high-energy ray attenuation, as well as the mapping verification error. If the surface quality error exceeds the verification error limit, stop outputting the mesh cell surface quality and output the surface quality mapping invalid state.
[0074] Calibration samples covering the main mineral composition and thickness range of the iron ore to be treated were selected. Each calibration sample or calibration area had independently measured dry mass and irradiated area, and the true surface mass was obtained by dividing the dry mass by the irradiated area. When dividing the calibration samples into a fitting set and a validation set, the data generated from the same calibration sample was only included in one set, avoiding the same sample from participating in both the mapping coefficient fitting and validation simultaneously.
[0075] The surface quality mapping relationship can be represented by a quadratic mapping that can express the nonlinear relationship between low-energy ray attenuation, high-energy ray attenuation, and the true surface quality: ;
[0076] In the formula, For common physical grid cells Corresponding surface quality, and These are low-energy radiation attenuation and high-energy radiation attenuation, respectively. to The mapping coefficients are defined as follows: During the fitting process, non-negativity constraints and monotonic constraints that do not decrease with increasing ray attenuation are applied to the mapping coefficients, so that the surface quality mapping relationship maintains a direction consistent with the ray attenuation change within the calibrated input range.
[0077] The surface quality error is verified using a validation set. If the surface quality error does not exceed the validation error limit, the input ranges for the mapping coefficients, low-energy ray attenuation, and high-energy ray attenuation, as well as the mapping validation error, are frozen; online processing only uses the surface quality mapping relationship within the frozen input range. If the surface quality error exceeds the validation error limit or the online dual-energy ray attenuation exceeds the frozen input range, the output of grid cell surface quality is stopped, and an invalid surface quality mapping status is output. Node quality estimation is not performed using data outside the applicable range.
[0078] When the surface quality mapping relationship is verified, the low-energy ray attenuation and high-energy ray attenuation of each common physical grid cell within the sample mask are converted into the surface quality of the grid cell, and then integrated within each leaf node according to the actual area corresponding to the grid cell. Both spectrally effective and spectrally ineffective leaf nodes form the estimated node quality. Spectral effectiveness only determines whether the node spectrum enters step S50 and does not affect the calculation of the physical quality of the corresponding region.
[0079] The estimated nodal masses of all leaf nodes are summed to form the total estimated nodal mass. The measurement error is determined by the maximum permissible error of the weighing device; the mapping verification error is determined by the verification results of the retained verification set; and the grid discretization error is determined by the boundary discretization and resampling errors of the common physical grid. The sum of these three forms the closed tolerance. The absolute difference between the total estimated nodal mass and the measured net dry mass is calculated and compared with the closed tolerance.
[0080] When the absolute difference is within the closed tolerance, the mass is estimated by proportionally correcting the node using the following formula: ;
[0081] In the formula, leaf node The closure quality of the nodes, For the current leaf node, leaf node The quality of node estimation, To measure the actual net dry total mass, For the set of all leaf nodes, For the set of all leaf nodes leaf node index in leaf node The estimated nodal mass is calculated. After scaling, the sum of the nodal closure masses of all leaf nodes equals the measured net trunk mass, while maintaining the relative proportional relationship between the estimated nodal masses of each leaf node.
[0082] If the total estimated mass of nodes is zero, there are invalid locations in the sample mask where surface quality cannot be formed by ray data, or the absolute difference between the total estimated mass of nodes and the measured net dry mass exceeds the closure tolerance, the fusion process terminates and outputs a mass closure failure status. The mass closure failure status must at least record the sample number, the total estimated mass of nodes, the measured net dry mass, the absolute difference, the closure tolerance, and the reason for the failure. After a mass closure failure, the process does not proceed to the branch for generating valid fusion data for the entire sample.
[0083] Step S40 outputs the estimated node quality, node closure quality, absolute difference, closure tolerance, and quality closure status of all leaf nodes. If the quality closure status is "passed," the node closure quality proceeds to steps S50 and S60; if the quality closure status is "failed," the processing flow for the current sample ends.
[0084] Step S50: The two sets of spectral images within the effective leaf nodes of the spectrum are fused according to the repeatability variance. The node fusion spectrum is aggregated according to the node closure mass as the fusion data. The effective mass coverage is formed by dividing the sum of the node closure masses of the effective leaf nodes by the measured net dry mass.
[0085] See Figure 4 Step S50 includes: Step S51: Calculate the average reflectance of the two sets of spectral images within the effective leaf node of the spectrum; Step S52: Within the overlapping band, a set of average reflectances is converted to the response scale of another set of spectral images according to the wavelength-by-wavelength response transfer relationship, and the fused reflectance is formed by weighting the two sets of spectral images according to the reciprocal of the repeatability variance. Step S53: Retain the effective average reflectance within the unique band; mark the missing band when neither of the two sets of spectral images has an effective average reflectance. Step S54: Determine the range limit of the missing bands based on the offline verification data. If the range of the missing bands exceeds the range limit, adjust the effective leaf nodes of the spectrum to the ineffective leaf nodes of the spectrum and maintain the node closure quality. Otherwise, fill in the reflectance of the missing bands according to the interpolation relationship between adjacent effective bands formed by offline calibration to form a node fusion spectrum. Step S55: The mass weight of the effective leaf node of the spectrum is formed by the ratio of the node closure mass to the measured net dry total mass. The weighted mean, weighted variance, weighted quantile feature and surface mass distribution feature of the node fusion spectrum are calculated according to the mass weight and spliced to form the sample description vector. Step S56: Write the node fusion spectrum of the spectral effective leaf nodes into the common physical grid to form a node fusion feature map, and write the missing marker and reason code of the spectral invalid leaf nodes into the node fusion feature map. Step S57: Encapsulate the node fusion feature map, sample description vector, node closure quality, and leaf node partition into fusion data.
[0086] For any valid leaf node of the spectrum, using the unique attribution result formed in step S30, the effective reflectance belonging to that valid leaf node in the first and second spectral images is collected respectively, and the average reflectance of each band is calculated. Spectral pixels belonging to other leaf nodes are not included in the average reflectance calculation of the current valid leaf node, and invalid spectral pixels are also not included in the averaging.
[0087] Within the overlapping bands, the average reflectance of the second spectral image is converted to the response scale of the first spectral image according to the wavelength-wise response transfer relationship formed in step S22, and then fused according to the reciprocal of the repeatability variance of the two sets of spectral images: ;
[0088] In the formula, The average reflectance of the first spectral image within the effective leaf nodes of the spectrum. The average reflectance of the second spectral image after conversion to the same response scale. For the fused reflectance. When the repeatability variance is zero, the denominator is corrected using the numerical stability term adopted in step S20; when the repeatability variance is missing, the inverse weighting is not performed using the spectral image corresponding to the missing variance.
[0089] Within the unique bands of the first or second spectral image, retain the effective average reflectance that is within the effective reflectance range and has not reached saturation. In overlapping bands, if one set of spectral images has no effective average reflectance while another set does, retain the effective average reflectance; if neither set of spectral images has effective average reflectance, mark the corresponding band as a missing band.
[0090] The missing band range limit is determined using offline verification data. The offline verification process employs the same wavelength grid, validity judgment, and interpolation methods as the online processing, gradually increasing the number of missing bands or the length of consecutive missing bands. The allowable missing band range is determined based on the node fusion spectrum deviation. When the missing band range exceeds the limit, the corresponding spectral effective leaf node is adjusted to a spectral ineffective leaf node, while maintaining the node closure quality of that leaf node; this node closure quality is considered as the quality not supported by effective spectra and proceeds to step S60. When the missing band range does not exceed the limit, the reflectance of the missing band is supplemented according to the interpolation relationship between adjacent effective bands formed by offline calibration, forming a node fusion spectrum on a unified wavelength grid.
[0091] After generating the node-fused spectrum, the mass weight of the effective leaf node is determined by the ratio of the node closure mass to the measured net dry mass. The mass weight is not renormalized based on the sum of the node closure masses of the effective leaf nodes. The weighted mean, weighted variance, and weighted quantile features of the node-fused spectrum of all effective leaf nodes are calculated according to the mass weights. Surface mass distribution features are generated based on the distribution of grid cell surface mass within each effective leaf node. These features are then concatenated according to a pre-fixed dimensional order to form the sample description vector.
[0092] The weighted quantile features are formed as follows: the values of each dimension of the node fusion spectrum are sorted separately, and the quality weights of the corresponding leaf nodes are accumulated along the sorting results. The corresponding value is obtained when the accumulated quality weight first reaches the preset quantile position. The surface quality distribution features may include the quality proportion of each surface quality interval, the mean surface quality, the degree of dispersion, and the surface quality difference in the boundary region. The same feature composition and dimensional order are used for parameter establishment, offline verification, and online processing.
[0093] The node-fused spectra of the spectrally valid leaf nodes are written into the grid positions belonging to the corresponding leaf nodes in the common physical grid, forming a node-fused feature map. For the grid positions corresponding to spectrally invalid leaf nodes, a missing marker and reason code are written, and the node-fused spectra of adjacent spectrally valid leaf nodes are not used to cover the spectrally invalid leaf nodes. Reason codes include node residual exceeding limits, insufficient number of valid pixels, insufficient common coverage ratio, spectral saturation, missing band range exceeding limits, incomplete ray data, and invalid surface quality mapping.
[0094] Further implementation of step S57 includes: Step S571: After forming the node closure quality, identify the effective leaf nodes of adjacent spectra, and calculate the node displacement difference, node fusion spectrum difference, and boundary zone average surface quality difference respectively. Step S572: Determine the merging limit of each difference based on the repeated calibration data. When each difference does not exceed its respective merging limit, merge the effective leaf nodes of adjacent spectra. Add the node closure quality to form the merged closure quality. Use the node closure quality to weight the node fusion spectrum to form the merged fusion spectrum. Step S573: When there is an out-of-limit difference, retain the independent partitions of adjacent spectral valid leaf nodes; prohibit merging across spectral invalid leaf nodes, update the leaf node partitions and node fusion feature maps according to the merging results, and keep the total node closure quality and effective quality coverage unchanged.
[0095] The adjacency relationship is determined based on the boundary contact relationship of leaf nodes on a common physical grid. The node displacement difference is formed by the node displacement of two adjacent spectral effective leaf nodes; the node fusion spectral difference is formed by the difference in the fusion spectra of two nodes on the same wavelength grid; the boundary band average surface quality difference is formed by the predetermined width grid region of two leaf nodes near the common boundary. The merging limit of each difference is determined by repeated calibration data and fixed before online processing.
[0096] When none of the three differences exceed their respective merging limits, adjacent effective leaf nodes of the spectra are merged. The merged closure quality is equal to the sum of the closure qualities of the two nodes, and the merged fusion spectrum is formed by weighting the merged spectra of the two nodes according to their respective node closure qualities. When any difference exceeds the corresponding merging limit, the independent partitions of the two leaf nodes are preserved. Merging does not cross invalid leaf nodes of the spectra, nor does it allow the node closure quality of invalid leaf nodes to enter the merged fusion spectrum.
[0097] The leaf node partitions and node fusion feature maps are updated according to the merging results, while maintaining the total node closure quality and effective quality coverage unchanged. When the sample description vector contains statistical terms related to the number of leaf nodes or partition structure, the corresponding statistical terms are reconstructed according to the updated leaf node partitions to ensure that the leaf node partitions, node fusion feature maps, and sample description vectors in the fused data are consistent with each other.
[0098] The basic fusion data encapsulated in step S57 includes node fusion feature maps, sample description vectors, node closure quality, and leaf node partitions. When the complete processing chain needs to be preserved, the fusion data may also include common physical grid parameters, sample masks, node displacements, unique spectral pixel indexes, node fusion spectra, quality weight maps, node validity masks, and fusion integrity reports. Specifically, the quality weight map records the quality weight of each leaf node at its corresponding common physical grid location; the node validity mask records the spatial range of spectrally valid and invalid leaf nodes; and the fusion integrity report records the quality closure status, leaf node reliability, effective quality coverage, missing quality, and cause codes.
[0099] The effective mass coverage is calculated by dividing the sum of the nodal closure masses of the effective leaf nodes by the measured net dry mass. The effective mass coverage and the fused data are then fed into step S60.
[0100] Step S60: When the effective quality coverage reaches the integrity limit, output the whole sample effective fused data; otherwise, maintain the node closure quality and output the missing quality and invalid fusion status.
[0101] In this embodiment, step S60 includes: Step S61: The integrity limit is formed by floating-point error, grid boundary error, and storage precision; Step S62: When the effective quality coverage reaches the integrity limit, the leaf node partition, node displacement, unique assignment of multiple leaf node covered spectral pixels, node closure quality, node fusion feature map and sample description vector are written into the fusion data to form and output the whole sample effective fusion data. Step S63: When the effective quality coverage does not reach the integrity limit, keep the node closure quality unchanged, subtract the sum of the node closure quality of the effective leaf nodes of the spectrum from the measured net dry total quality to form the missing quality, mark the fused data as fused invalid state, and output the position of the invalid leaf node of the spectrum, the cause code and the reacquisition instruction.
[0102] The integrity limits are determined by floating-point error, mesh boundary error, and storage precision. Floating-point error is determined based on the data type used for summing and ratio calculations of node closure mass; mesh boundary error is determined based on the cumulative error of sample mask boundary discretization and leaf node boundaries; and storage precision is determined based on the minimum storage unit of node closure mass. These errors are fixed before the processing program runs and the integrity limits are not temporarily relaxed based on the processing results of individual samples.
[0103] When the effective quality coverage reaches the integrity limit, leaf node partitions, node displacements, unique attribution of spectral pixels covered by multiple leaf nodes, node closure quality, node fusion feature maps, and sample description vectors are written into the fused data to form and output the whole sample effective fused data. The extended fused data also retains common physical grid parameters, sample masks, node fusion spectra, quality weight maps, node effectiveness masks, quality closure status, and fusion integrity reports, enabling the whole sample effective fused data to be traced back to the spatial extent, spectral observations, and physical quality of each leaf node.
[0104] When the effective mass coverage does not reach the integrity limit, the nodal closure mass of all leaf nodes remains unchanged, and the mass weights are not renormalized according to the sum of the nodal closure masses of the spectrally effective leaf nodes. The missing mass is formed by subtracting the sum of the nodal closure masses of the spectrally effective leaf nodes from the measured net trunk mass. Since the sum of the nodal closure masses of all leaf nodes equals the measured net trunk mass, the missing mass is also equal to the sum of the nodal closure masses of the spectrally ineffective leaf nodes.
[0105] The fused data is marked as invalid, and the location of the invalid spectral leaf node, the cause code, and the reacquisition command are output. When the node residual exceeds the residual limit, the reacquisition command includes checking the sample tray position and spatial calibration; when the number of effective pixels is insufficient or the common coverage ratio is insufficient, the reacquisition command includes checking the imaging field of view, sample occlusion, and image coverage; when the spectrum is saturated, the reacquisition command includes adjusting the exposure parameters and reacquiring the spectral image; when the X-ray data is incomplete or the surface quality mapping is invalid, the reacquisition command includes checking the dual-energy X-ray imaging conditions and reacquiring the dual-energy X-ray image.
[0106] After re-acquisition, processing begins again from step S10. Interpolation or re-normalization is not used on the original invalid fused data to form valid fused data for the entire sample. In the invalid fused state, local statistical results of the effective leaf nodes of the spectrum can be output, but these local statistical results are marked as local observation results, not as valid fused data for the entire sample. Node closure quality and missing quality are retained to limit the range of physical quality support corresponding to the local observation results.
[0107] To ensure the processing can be detected and reproduced, the processor generates a run log after processing each sample. The run log includes the acquisition batch, common physical grid parameters, leaf node partitions, node displacements, node residuals, unique spectral pixel indexes, estimated node quality, node closure quality, node fused spectrum, absolute difference in quality closure, quality closure status, effective quality coverage, missing quality, and cause code. The run log only saves the data generated in steps S10 to S60 and does not alter the data processing relationships between steps.
[0108] After the fused data passes quality closure checks and integrity assessments, the sample description vector can be input into the frozen sample-level application relationship to perform mineral source identification, sample classification, grain size analysis, or grade prediction. When performing grade prediction, each parameter is recorded as a corresponding complete sample and its whole-sample dry basis total iron analysis value; the whole-sample analysis value is not assigned to leaf nodes, image blocks, or pixels. The aforementioned downstream applications do not constitute necessary processing steps in steps S10 to S60.
[0109] Specific examples The following examples are used to illustrate the data processing relationship between steps S10 to S60 and do not represent actual equipment performance, optimal parameters, or actual production results.
[0110] In step S10, a first spectral image, a second spectral image, a high-energy X-ray transmission image, and a low-energy X-ray transmission image are acquired, and the measured net dry total mass of the sample is obtained as 10.000 kg. Each image is mapped to a common physical grid with a grid spacing of 1 mm, and a sample mask is formed by comparing the attenuation of high-energy X-rays and low-energy X-rays with the noise boundary of the empty tray.
[0111] When establishing the surface quality mapping relationship, the calibration samples covering the predetermined mineral composition range and sample thickness range are divided into a fitting set and a validation set. The mapping coefficients are fitted using the fitting set, and a non-negativity constraint and a monotonic constraint that does not decrease with increasing X-ray attenuation are applied. Assuming the surface quality error obtained from the validation set is 0.018 kg / m², and the validation error limit is 0.025 kg / m², then if the surface quality error does not exceed the validation error limit, the mapping coefficients, the dual-energy X-ray attenuation input range, and the 0.018 kg / m² mapping validation error are frozen. If the surface quality error exceeds 0.025 kg / m², the output of grid cell surface quality is stopped, and an invalid surface quality mapping status is output.
[0112] In step S20, three candidate displacements are generated for a node to be processed, namely... , and The grid spacing is [number]. The candidate displacement residuals obtained according to the overlapping band residual calculation relationship are 0.060, 0.028, and 0.041, respectively. Therefore, [the following is a possible interpretation:] The grid spacing is used as the node displacement, and 0.028 is used as the node residual.
[0113] In step S30, it is assumed that the residual limit matching the current node size and candidate displacement set is 0.050. If the node residual of 0.028 does not exceed the residual limit, the current node to be processed is determined as a candidate valid spectral leaf node. If the node residual of another node exceeds 0.050 and the node size is greater than the minimum node size, child nodes are generated along the horizontal and vertical directions of the common physical grid, and the parent node stops participating in mass integration and spectral aggregation.
[0114] A certain second-spectral image pixel is simultaneously covered by two leaf nodes, with assignment residuals of 0.0025 and 0.0064 respectively. Therefore, this spectral pixel is assigned to the leaf node with an assignment residual of 0.0025. After unique assignment, the number of effective pixels in all four leaf nodes is not less than the lower limit of 20, and their common coverage ratios are 0.92, 0.89, 0.87, and 0.75 respectively. When the lower limit of coverage ratio is 0.80, the node residuals, number of effective pixels, and common coverage ratios of the first three leaf nodes all meet the conditions, and they are determined to be spectrally effective leaf nodes; the common coverage ratio of the fourth leaf node is lower than the lower limit of coverage ratio, and it is determined to be a spectrally invalid leaf node.
[0115] In step S40, the estimated node masses are obtained by integrating the mesh cell surface mass within the four leaf nodes, respectively: 2.000 kg, 2.500 kg, 3.000 kg, and 2.300 kg, with a total estimated node mass of 9.800 kg. The closure tolerance is 0.250 kg. The absolute difference between the total estimated node mass and the measured net dry mass is 0.200 kg, which is within the closure tolerance; therefore, a proportional correction is performed. The ratio of the measured net dry mass to the total estimated node mass is 10.000 / 9.800. The node closure masses of the four leaf nodes are 2.041 kg, 2.551 kg, 3.061 kg, and 2.347 kg, respectively, with a total node closure mass of 10.000 kg.
[0116] In step S50, taking an overlapping band as an example, the average reflectance of the first spectral image within a single effective leaf node is 0.32, and the average reflectance of the second spectral image after conversion to the same response scale is 0.30. The repeatability variances of the two sets of spectral images are 0.0004 and 0.0009, respectively. Weighted by the reciprocal of the repeatability variance, the fused reflectance is 0.3138. The remaining bands are processed in the same manner to form the nodal fused spectra corresponding to the leaf nodes.
[0117] Assuming the first and second leaf nodes are spatially adjacent, with a node displacement difference of 0.20 grid spacing, a node fusion spectral difference of 0.015, and a boundary zone average surface quality difference of 0.030 kg / m², the corresponding merging limits are 0.50 grid spacing, 0.020, and 0.050 kg / m², respectively. When none of the three differences exceed their respective merging limits, the first and second leaf nodes are merged, resulting in a merged closure mass of 4.592 kg. The fusion spectra of the two nodes are then weighted according to 2.041 kg and 2.551 kg to form the merged fusion spectrum. After updating the leaf node partitions and node fusion feature maps, the total node closure mass and effective quality coverage remain unchanged. If any difference exceeds the corresponding merging limit, the independent partitions of the two leaf nodes are retained; if the fourth leaf node is a spectrally invalid leaf node, merging is not performed across the fourth leaf node.
[0118] The mass weights of the four leaf nodes are 0.2041, 0.2551, 0.3061, and 0.2347, respectively. If all four leaf nodes are spectrally valid leaf nodes, the effective mass coverage is 1, and step S60 outputs the whole sample effective fused data.
[0119] If the fourth leaf node remains a spectrally invalid leaf node due to a common coverage ratio below 0.80, the mass weights of the first three leaf nodes remain at 0.2041, 0.2551, and 0.3061, and are not renormalized. The total nodal closure mass of the spectrally valid leaf nodes is 7.653 kg, the effective mass coverage is 0.7653, and the missing mass is 2.347 kg.
[0120] Assuming the integrity limit is 0.999, the effective quality coverage of 0.7653 does not meet the integrity limit. Step S60 keeps the node closure quality of the four leaf nodes unchanged, marks the fused data as invalid, and outputs the missing quality of 2.347 kg, the spatial location of the fourth leaf node, the reason code for insufficient common coverage ratio, and the re-acquisition instruction.
[0121] This embodiment provides a multi-source image fusion system for iron ore. See also: Figure 5 The system includes a registration module, a closure module, and a fusion module.
[0122] The registration module is used to map two sets of spectral images and dual-energy X-ray images to a common physical grid. A sample mask is formed by the attenuation of dual-energy X-rays. Within the calibration error range, the node displacement and node residual are determined according to the candidate displacement residual. The sample mask is recursively divided according to the residual limit and node size. The unique assignment of multiple leaf nodes covering spectral pixels is determined according to the node displacement. The effective leaf nodes and ineffective leaf nodes of the spectrum are determined according to the node residual, the number of effective pixels, and the common coverage ratio.
[0123] The registration module includes an image correction unit, a common physical grid mapping unit, a local registration unit, a node partitioning unit, a spectral pixel assignment unit, and a node determination unit. The image correction unit receives the original image and calibration data, and outputs two sets of corrected spectral images and dual-energy ray attenuation. The common physical grid mapping unit outputs a common physical grid and a sample mask. The local registration unit outputs node displacements and node residuals. The node partitioning unit outputs leaf node partitions. The spectral pixel assignment unit outputs the unique assignment of multiple leaf nodes covering spectral pixels. The node determination unit outputs valid and invalid spectral leaf nodes.
[0124] The closure module is used to attenuate the surface quality of the dual-energy ray and integrate it into the estimated node quality. If the absolute difference between the sum of the estimated node quality and the measured net dry total quality is within the closure tolerance, the estimated node quality is proportionally corrected to the node closure quality; otherwise, the fusion is terminated and the quality closure failure status is output.
[0125] The closure module receives the common physical grid, sample mask, and leaf node partitions output by the registration module, and also receives the dual-energy X-ray attenuation and measured net-to-dry total mass. The closure module generates the grid cell surface quality according to the frozen surface quality mapping relationship, integrates within the spectral effective leaf nodes and spectral ineffective leaf nodes respectively to generate the estimated node quality, performs a quality closure check, and outputs the node closure quality, absolute difference, closure tolerance, and quality closure status. If quality closure fails, the closure module sends a termination signal to the fusion module, and the fusion module does not output the complete sample valid fused data.
[0126] The fusion module is used to fuse two sets of spectral images within the effective leaf nodes of the spectrum according to repeatability variance, aggregate the node fusion spectrum according to the node closure quality as fusion data, and divide the sum of the node closure quality of the effective leaf nodes of the spectrum by the measured net dry total quality to form the effective quality coverage. When the effective quality coverage reaches the integrity limit, the whole sample effective fusion data is output; otherwise, the node closure quality is maintained, and the missing quality and fusion invalid status are output.
[0127] The fusion module receives the spectral effective leaf nodes, spectral invalid leaf nodes, unique assignment of spectral pixels covered by multiple leaf nodes, and spectral reflectance for unique assignment from the registration module, and also receives the node closure quality from the closure module. The fusion module generates a node-fused spectrum, a node-fused feature map, and a sample description vector, calculates the effective quality coverage, and outputs either valid fusion data or an invalid fusion status based on integrity limits. In case of invalid fusion, the fusion module outputs missing quality, the location of the spectral invalid leaf node, a reason code, and a re-acquisition command.
[0128] The registration module, closure module, and fusion module can be implemented by executing different program segments on the same processor, or they can be implemented separately by multiple processors with data connectivity relationships. The module division is used to describe the functional and data flow relationships, and does not limit each module to using independent hardware entities.
[0129] The terms “first”, “second”, etc., are used to distinguish similar objects, not to describe or indicate a specific order or sequence.
[0130] The term "comprising" or any other similar term is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus / device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent in such process, method, article, or apparatus / device.
[0131] The technical solution of the present invention has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of the present invention.
Claims
1. A method for multi-source image fusion of iron ore, characterized in that, include: Two sets of spectral images and dual-energy X-ray images are mapped to a common physical grid, and a sample mask is formed by the attenuation of dual-energy X-rays. Within the calibration error range, determine the node displacement and node residual according to the candidate displacement residual, recursively divide the sample mask according to the residual limit and node size, determine the unique assignment of multiple leaf nodes covering spectral pixels according to the node displacement, and determine the spectral effective leaf nodes and spectral ineffective leaf nodes according to the node residual, the number of effective pixels and the common coverage ratio. The mass of the surface attenuated by dual-energy ray is integrated to obtain the estimated mass of the nodes. If the absolute difference between the sum of the estimated mass of the nodes and the measured net dry mass is within the closure tolerance, the estimated mass of the nodes is proportionally corrected to the node closure mass; otherwise, the fusion is terminated and the mass closure failure status is output. Two sets of spectral images within the effective leaf nodes of the spectrum are fused according to repeatability variance. The node fusion spectrum is aggregated according to node closure mass as fusion data. The effective mass coverage is formed by dividing the sum of the node closure mass of the effective leaf nodes of the spectrum by the measured net dry mass. When the effective quality coverage reaches the integrity limit, output the whole sample of effective fused data; otherwise, maintain the node closure quality and output the missing quality and invalid fusion status. The process of determining nodal displacements and nodal residuals based on candidate displacement residuals within the calibration error range includes: Construct a set of candidate displacements within the calibration error bound; The wavelength-wise response transfer relationship between the two sets of spectral images is fitted by repeatedly acquiring data from the reflectivity reference plate, and the band weights are determined by the reciprocal of the sum of the variances of the repeatability of the overlapping bands. Effective pixel pairs that are simultaneously covered by the node space, the sample mask, and the two sets of spectral images are selected, and the spectral responses of effective pixel pairs are unified according to the wavelength-wise response transfer relationship. The squared reflectance difference of the overlapping bands of the effective pixel pairing is accumulated according to the band weight and normalized to form the candidate displacement residual. The candidate displacement with the smallest candidate displacement residual is selected as the node displacement and the smallest candidate displacement residual is used as the node residual. The method of determining the unique assignment of multiple leaf node-covered spectral pixels based on node displacement includes: Leaf nodes covering the same spectral pixel are identified, paired spectral pixels are selected according to node displacement, and the square of the reflectance difference of overlapping bands is accumulated according to the band weight to form the allocation residual. Spectral pixels are assigned to the leaf node with the smallest allocation residual; when the difference in allocation residuals of multiple leaf nodes is within the preset numerical tolerance, they are sorted by spatial location and number to determine a unique assignment. Freeze the node partitioning structure, recalculate the node residuals, effective pixel count, and common coverage ratio, and determine the lower limit of the number and coverage ratio based on the repeated calibration data; Leaf nodes whose node residuals do not exceed the residual limit, whose number of effective pixels is not lower than the minimum number limit, and whose common coverage ratio is not lower than the minimum coverage ratio limit are spectrally valid leaf nodes. Leaf nodes that do not meet all the conditions are spectrally invalid leaf nodes.
2. The multi-source image fusion method for iron ore according to claim 1, characterized in that, The step of mapping two sets of spectral images and dual-energy X-ray images to a common physical grid, and forming a sample mask by dual-energy X-ray attenuation, includes: The two sets of spectral images include a first spectral image and a second spectral image, and the dual-energy X-ray images include a high-energy X-ray transmission image and a low-energy X-ray transmission image; The first and second spectral images were corrected using dark and white reference images, and the high-energy ray transmission images and low-energy ray transmission images were corrected using space field data, dark field data, scattering data, and beam hardening data. The spatial transformation parameters are determined according to the geometric relationship between the optical and ray markers in the multimodal calibration plate. Each image is resampled according to the spatial transformation parameters to form a common physical grid. The high-energy ray attenuation and low-energy ray attenuation are compared with the empty tray noise boundary to form a sample mask.
3. The multi-source image fusion method for iron ore according to claim 1, characterized in that, The recursive partitioning of the sample mask based on residual limits and node sizes includes: The residual limit is determined by the repeated calibration residual distribution matching the node size and candidate displacement set, and the minimum node size is determined by the common physical grid spacing and the point spread width after mapping the two sets of spectral images. If the node residual of the node to be processed does not exceed the residual limit, the node to be processed is determined as a candidate effective leaf node of the spectrum; When the node residual exceeds the residual limit and the node size is greater than the minimum node size, sub-nodes are generated along the horizontal and vertical directions of the common physical grid, and the parent node stops participating in mass integration and spectral aggregation. When the node size reaches the minimum node size or there is a lack of effective pixel pairing, the node to be processed is identified as a spectrally invalid leaf node.
4. The multi-source image fusion method for iron ore according to claim 1, characterized in that, The method of attenuating the surface mass of a dual-energy ray-matrix attenuation mapping and integrating it to estimate the nodal mass includes: The true surface mass is obtained by dividing the dry mass of the calibrated sample by the irradiated area, and the surface mass mapping relationship between low-energy ray attenuation, high-energy ray attenuation and true surface mass is fitted. Based on the surface quality mapping relationship, the dual-energy ray attenuation in the sample mask is converted into the surface quality of the grid cells, and the node estimated quality is formed by integrating in the effective leaf nodes and the ineffective leaf nodes of the spectrum, respectively. The sum of measurement error, mapping verification error and grid discretization error forms the closure tolerance. When the absolute difference between the sum of estimated node quality and the measured net dry total quality is within the closure tolerance, the estimated node quality is corrected to the node closure quality according to the ratio of the measured net dry total quality to the sum of estimated node quality. Otherwise, the fusion is terminated and the quality closure failure status is output.
5. The multi-source image fusion method for iron ore according to claim 1, characterized in that, The two sets of spectral images within the effective leaf node of the spectral fusion based on repeatability variance include: Calculate the average reflectance of the two sets of spectral images within the effective leaf node of the spectrum; Within the overlapping bands, a set of average reflectances is converted to the response scale of another set of spectral images according to the wavelength-by-wavelength response transfer relationship, and the fused reflectance is formed by weighting the two sets of spectral images according to the reciprocal of the repeatability variance. The effective average reflectance is retained within the unique band, and the missing band is marked when neither of the two sets of spectral images has an effective average reflectance. The missing band range limit is determined based on the offline verification data. If the missing band range exceeds the missing band range limit, the effective leaf node of the spectrum is adjusted to the invalid leaf node of the spectrum while maintaining the node closure quality. Otherwise, the reflectance of the missing band is added according to the interpolation relationship between adjacent effective bands formed by offline calibration to form the node fused spectrum.
6. The multi-source image fusion method for iron ore according to claim 1, characterized in that, The fused spectrum of the node-closed mass aggregation nodes, which is the fused data, includes: The mass weight of the effective leaf node of the spectrum is formed by the ratio of the node closure mass to the measured net dry total mass. The weighted mean, weighted variance, weighted quantile feature and surface mass distribution feature of the node fused spectrum are calculated according to the mass weight and spliced to form the sample description vector. Write the node fusion spectrum of the spectral effective leaf nodes into the common physical grid to form a node fusion feature map, and write the missing marker and reason code of the spectral invalid leaf nodes into the node fusion feature map; The node fusion feature map, sample description vector, node closure quality, and leaf node partition are encapsulated into fusion data.
7. The multi-source image fusion method for iron ore according to claim 6, characterized in that, When the effective quality coverage reaches the integrity limit, the complete effective fused data is output; otherwise, the node closure quality is maintained, and the missing quality and invalid fusion states are output, including: The integrity limit is formed by floating-point error, grid boundary error, and storage precision. When the effective quality coverage reaches the integrity limit, the leaf node partition, node displacement, unique assignment of multiple leaf node covered spectral pixels, node closure quality, node fusion feature map and sample description vector are written into the fusion data to form and output the whole sample effective fusion data. If the integrity limit is not reached, the node closure mass remains unchanged. The missing mass is formed by subtracting the sum of the node closure masses of the effective leaf nodes of the spectrum from the measured net dry total mass. The fused data is marked as fused invalid state, and the position of the invalid leaf node of the spectrum, the reason code, and the re-acquisition command are output.
8. A multi-source image fusion system for iron ore, used to implement the multi-source image fusion method for iron ore as described in any one of claims 1-7, characterized in that, include: The registration module is used to map two sets of spectral images and dual-energy X-ray images to a common physical grid. A sample mask is formed by the attenuation of dual-energy X-rays. Within the calibration error limit, the node displacement and node residual are determined according to the candidate displacement residual. The sample mask is recursively divided according to the residual limit and node size. The unique assignment of multiple leaf nodes covering spectral pixels is determined according to the node displacement. The effective leaf nodes and ineffective leaf nodes of the spectrum are determined according to the node residual, the number of effective pixels and the common coverage ratio. The closure module is used to attenuate the surface quality of the dual-energy ray and integrate it into the estimated node quality. If the absolute difference between the sum of the estimated node quality and the measured net dry total quality is within the closure tolerance, the estimated node quality is proportionally corrected to the node closure quality; otherwise, the fusion is terminated and the quality closure failure status is output. The fusion module is used to fuse two sets of spectral images within the effective leaf nodes of the spectrum according to repeatability variance, aggregate the node fusion spectrum according to the node closure quality as fusion data, and divide the sum of the node closure quality of the effective leaf nodes of the spectrum by the measured net dry total quality to form the effective quality coverage. When the effective quality coverage reaches the integrity limit, the whole sample effective fusion data is output; otherwise, the node closure quality is maintained, and the missing quality and fusion invalid status are output.
Citation Information
Patent Citations
Multi-spectral imaging fused pattern recognition image acquisition method and device
CN120852485A
Deep learning-driven geological sample mineral intelligent identification method and system
CN122493234A
