CN112927347B - Visualization method and system for temperature field data of blast furnace reflow zone - Google Patents

Visualization method and system for temperature field data of blast furnace reflow zone Download PDF

Info

Publication number
CN112927347B
CN112927347B CN202110137263.7A CN202110137263A CN112927347B CN 112927347 B CN112927347 B CN 112927347B CN 202110137263 A CN202110137263 A CN 202110137263A CN 112927347 B CN112927347 B CN 112927347B
Authority
CN
China
Prior art keywords
blast furnace
temperature field
reflow zone
color value
field data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110137263.7A
Other languages
Chinese (zh)
Other versions
CN112927347A (en
Inventor
蒋朝辉
周承越
刘金狮
桂卫华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Central South University
Original Assignee
Central South University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Central South University filed Critical Central South University
Priority to CN202110137263.7A priority Critical patent/CN112927347B/en
Publication of CN112927347A publication Critical patent/CN112927347A/en
Application granted granted Critical
Publication of CN112927347B publication Critical patent/CN112927347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention discloses a visualization method and a visualization system for blast furnace reflow zone temperature field data, which are used for establishing a three-dimensional texture object for organizing the blast furnace reflow zone temperature field data by acquiring offline blast furnace reflow zone temperature field data and preprocessing the blast furnace reflow zone temperature field data, filling and interpolating pixels in the three-dimensional texture object and sampling the filled and interpolated three-dimensional texture object to obtain color values, and displaying the color values on a screen image.

Description

Visualization method and system for temperature field data of blast furnace reflow zone
Technical Field
The invention mainly relates to the field of industrial data visualization, in particular to a method and a system for visualizing temperature field data of a softening and melting zone of a blast furnace.
Background
The blast furnace reflow zone refers to a region where the burden from the beginning softens to the dropping inside the blast furnace. The reactions taking place in the reflow zone are mainly the softening of the ore and the formation of primary slag. The low-melting-point compound formed by the solid-phase reaction starts to soften after being further heated, and meanwhile, the contact condition of the ore and coke or a flux is improved due to the appearance of a liquid phase, and when the furnace burden is continuously lowered and heated, the liquid phase is continuously increased, and finally the furnace burden is softened and melted to form a flowing state. The softening to the molten flow of the ore is a link which has a great influence on the blast furnace stroke in the slagging process, such as the pre-reduction of the ore, the silicon content of pig iron, the utilization of coal gas, the temperature and the activity degree of a hearth, the maintenance of a furnace lining and the like. The onset softening temperature and the reflow temperature interval of the ore determine to a large extent the position of the reflow zone in the vertical direction of the blast furnace and the thickness of the reflow layer. The shape of the reflow zone is affected by the distribution of the temperature field in the furnace, namely, the position of the reflow zone is high at a high temperature, and the position of the reflow zone is low at a low temperature. The shape and the position of the blast furnace reflow zone are the key for determining the stable operation of the blast furnace gas flow, and are the comprehensive embodiment of the upper and lower regulating means of the blast furnace. Therefore, the method for researching the visualization of the temperature field data of the softening and melting zone of the blast furnace has important significance for ensuring that the blast furnace achieves high quality, high yield and low consumption by obtaining important indexes of excellent economic technology.
The patent publication No. CN 1111563957A invention provides a digitalized imaging method for three-dimensional temperature fields of coal field fire and gangue dump fire. The visualization principle of the three-dimensional temperature field is that a two-dimensional texture is mapped to a three-dimensional geometric model, the adopted texture can only reflect two-dimensional temperature information essentially, and the problem of third-dimensional temperature information loss exists.
Disclosure of Invention
The visualization method and system for the temperature field data of the blast furnace reflow zone provided by the invention solve the problem that the data display of the temperature field of the existing blast furnace reflow zone is not complete and intuitive.
In order to solve the technical problem, the visualization method for the temperature field data of the blast furnace reflow zone provided by the invention comprises the following steps:
acquiring offline blast furnace reflow zone temperature field data, and preprocessing the blast furnace reflow zone temperature field data;
creating a three-dimensional texture object for organizing the temperature field data of the blast furnace reflow zone based on the temperature field data of the blast furnace reflow zone;
filling and interpolating pixels in the three-dimensional texture object based on the preprocessed blast furnace reflow zone temperature field data;
and sampling the filled and interpolated three-dimensional texture object to obtain a color value, and displaying the color value on a screen image.
Further, creating a three-dimensional texture object for organizing the blast furnace reflow zone temperature field data based on the blast furnace reflow zone temperature field data includes:
determining the size of the three-dimensional texture object according to the data volume and the precision requirement of the temperature field data of the blast furnace reflow zone;
determining a storage format of the three-dimensional texture object according to the definition requirement and the memory occupation limit;
and creating the three-dimensional texture object according to the size and the storage format of the three-dimensional texture object, and initializing the three-dimensional texture object.
Further, based on the preprocessed temperature field data of the blast furnace reflow zone, the filling and interpolating of the pixels in the three-dimensional texture object includes:
mapping the radial distance and the axial distance of the blast furnace reflow zone temperature field in the preprocessed blast furnace reflow zone temperature field data to a pixel coordinate system of the three-dimensional texture object;
mapping the temperature value of the blast furnace reflow zone temperature field in the preprocessed blast furnace reflow zone temperature field data to an HSV color space, and converting the HSV color space into an RGB color space;
drawing a circle on a two-dimensional plane corresponding to the axial distance of the blast furnace reflow zone temperature field by using a Bresenham algorithm, wherein the circle center of the circle is the center of the two-dimensional plane, the radius is the radial distance of the blast furnace reflow zone temperature field in a pixel coordinate system, and the color of a pixel point in the pixel coordinate system is the temperature value of the blast furnace reflow zone temperature field in an RGB color space;
and filling and interpolating colors between two adjacent circular rings.
Further, mapping the temperature value of the blast furnace reflow zone temperature field in the preprocessed blast furnace reflow zone temperature field data to an HSV color space includes:
the custom color is changed according to blue-green-yellow-red, the value range of the drawn hue H is 240-0 degrees, the saturation S is 1, the transparency V is 1, and the mapping relation between the normalized temperature value of the blast furnace reflow zone temperature field and the HSV color space is as follows:
Figure BDA0002927190750000021
wherein T isnormalizedAnd representing the temperature value of the temperature field of the blast furnace reflow zone after normalization treatment.
Further, sampling the filled and interpolated three-dimensional texture object to obtain a color value, and displaying the color value on a screen image includes:
down-sampling the filled and interpolated three-dimensional texture object to obtain a low-resolution three-dimensional texture;
sampling the low-resolution three-dimensional texture to obtain an expected color value of the light;
and based on the expected color value of the light, sampling the filled and interpolated three-dimensional texture object by adopting a light projection method to obtain a color value, and displaying the color value on a screen image.
Further, based on the expected color value of the ray, sampling the filled and interpolated three-dimensional texture object by adopting a ray projection method to obtain a color value, and displaying the color value on a screen image comprises:
judging whether the A channel of the current mixed accumulated color value of the light is larger than or equal to a preset A channel threshold value, if not, continuing to sample until the A channel is larger than or equal to the preset A channel threshold value, or the coordinate of the current sampling point is not in the coordinate range of the preset sampling point, or the current accumulated sampling time of the light exceeds the preset maximum sampling time of each light, if so, recording the current sampling point, judging whether the current mixed accumulated color value of the light is equal to the expected color value of the light, if so, finishing the light projection of the light, displaying the current mixed accumulated color value of the light on a screen image pixel corresponding to the light, if not, continuing to advance from the current sampling point and taking the next sampling point, judging whether the mixed accumulated color value of the next sampling point is equal to the expected color value of the light, if so, reversely advancing from the current sampling point and taking the previous sampling point, judging whether the mixed accumulated color value of the last sampling point is equal to the expected color value of the light ray, and repeating the steps until the current mixed accumulated color value of the light ray is equal to the expected color value of the light ray;
and displaying the mixed accumulated color value when the current mixed accumulated color value of the ray is equal to the expected color value of the ray on the screen image pixel corresponding to the ray.
The invention provides a blast furnace reflow zone temperature field data visualization system, which comprises:
the device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and the processor realizes the steps of the visualization method of the temperature field data of the soft melting zone of the blast furnace when executing the computer program.
Compared with the prior art, the invention has the advantages that:
the invention provides a visualization method and a visualization system for blast furnace reflow zone temperature field data, which are characterized in that off-line blast furnace reflow zone temperature field data are obtained, the blast furnace reflow zone temperature field data are preprocessed, a three-dimensional texture object for organizing the blast furnace reflow zone temperature field data is created based on the blast furnace reflow zone temperature field data, pixels in the three-dimensional texture object are filled and interpolated based on the preprocessed blast furnace reflow zone temperature field data, the three-dimensional texture object after filling and interpolation is sampled to obtain color values, and the color values are displayed on a screen image, so that the problem that the blast furnace reflow zone temperature field data are difficult to be comprehensively and intuitively displayed is solved, the three-dimensional visualization of the blast furnace reflow zone temperature field distribution is realized, and the visualization method and the visualization system have the characteristics of intuition, comprehensiveness, operability and the like.
Drawings
FIG. 1 is a flowchart of a visualization method of temperature field data of a reflow zone of a blast furnace according to a first embodiment of the invention;
FIG. 2 is a flowchart of a visualization method of temperature field data of a reflow zone of a blast furnace according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of the position of the offline data of the temperature field of the reflow zone of the blast furnace in the temperature field of the reflow zone of the blast furnace according to the second embodiment of the present invention;
fig. 4 is a schematic diagram of a reservation method of a circular pixel according to a second embodiment of the present invention;
FIG. 5 is a flowchart of a Bresenham circle drawing algorithm according to a second embodiment of the present invention;
fig. 6 is a schematic diagram illustrating a next pixel point according to a second embodiment of the present invention;
FIG. 7 is a diagram of a screen image obtained in accordance with a second embodiment of the present invention;
fig. 8 is a block diagram of a system for visualizing temperature field data of a reflow zone of a blast furnace according to an embodiment of the present invention.
Reference numerals:
10. a memory; 20. a processor.
Detailed Description
In order to facilitate an understanding of the invention, the invention will be described more fully and in detail below with reference to the accompanying drawings and preferred embodiments, but the scope of the invention is not limited to the specific embodiments below.
The embodiments of the invention will be described in detail below with reference to the drawings, but the invention can be implemented in many different ways as defined and covered by the claims.
Example one
Referring to fig. 1, a method for visualizing temperature field data of a reflow zone of a blast furnace according to an embodiment of the present invention includes:
step S101, acquiring offline blast furnace reflow zone temperature field data, and preprocessing the blast furnace reflow zone temperature field data;
step S102, based on the temperature field data of the blast furnace reflow zone, creating a three-dimensional texture object for organizing the temperature field data of the blast furnace reflow zone;
step S103, based on the preprocessed blast furnace reflow zone temperature field data, filling and interpolating pixels in the three-dimensional texture object;
and step S104, sampling the filled and interpolated three-dimensional texture object to obtain a color value, and displaying the color value on a screen image.
According to the visualization method for the temperature field data of the blast furnace reflow zone, provided by the embodiment of the invention, the problem that the temperature field data of the blast furnace reflow zone is difficult to display comprehensively and intuitively is solved by acquiring the offline temperature field data of the blast furnace reflow zone, preprocessing the temperature field data of the blast furnace reflow zone, creating the three-dimensional texture object for organizing the temperature field data of the blast furnace reflow zone based on the preprocessed temperature field data of the blast furnace reflow zone, filling and interpolating the pixels in the three-dimensional texture object, sampling the filled and interpolated three-dimensional texture object to obtain the color value, and displaying the color value on the screen image, so that the three-dimensional visualization of the temperature field distribution of the blast furnace reflow zone is realized, and the visualization method has the characteristics of intuition, comprehensiveness, operability and the like.
Example two
Referring to fig. 2, in the second embodiment of the present invention, a large-scale blast furnace in an iron works is used as an experimental platform, the temperature field data of the reflow zone of the large-scale blast furnace is used as original data, and the temperature field datamation visualization method in the second embodiment of the present invention is applied to the original data, and the specific implementation process is as follows:
step S201, obtaining off-line blast furnace reflow zone temperature field data, and preprocessing the blast furnace reflow zone temperature field data.
Specifically, the offline data of the temperature field of the blast furnace reflow zone in this embodiment are distributed on a cylindrical coordinate system in a circular ring shape, and each piece of data includes a temperature value T, an axial distance H, and a radial distance R. Grouping the blast furnace reflow zone temperature field off-line data according to the axial distance; obtaining the maximum value T of the temperature valuemaxMinimum value of temperature value TminMaximum value of radial distance RmaxAnd radial distance minimum RminAnd acquiring a temperature value range and a radial distance range therefrom, normalizing the acquired temperature value range and radial distance range to [0,1 ]]Within the range.
This embodiment reads 4896 blast furnace reflow zone temperature field off-line data, and blast furnace reflow zone temperature field data distributes in a cylinder coordinate system, and every data includes axial distance H (the distance on the cylinder axis direction promptly), radial distance R (the distance on the cylinder cross section diameter promptly) and temperature value T. Dividing 4896 pieces of data with same axial distance into one group of 144 groups, each group of 34 pieces of data, and recording each piece of data as (H)i,Ri,j,Ti,j),(Hi,Ri,j,Ti,j) The position in the temperature field of the blast furnace reflow zone is shown in figure 3, wherein i, j epsilon Z and 0 ≦ i<144,0≤j<34. Obtaining the maximum value T of temperature value in 4896 pieces of datamaxMinimum value of temperature value TminMaximum value of radial distance RmaxAnd radial distance minimum Rmin. Normalizing the acquired temperature value range and radial distance range to [0, 1%]Within the range, the normalized calculation formula is:
Figure BDA0002927190750000051
Figure BDA0002927190750000052
wherein T isnormalizedAnd RnormalizedRespectively normalized temperature value and normalized radial distance, ToriginalAnd RoriginalAre the original temperature value and the original radial distance.
And S202, creating a three-dimensional texture object for organizing the temperature field data of the blast furnace reflow zone based on the temperature field data of the blast furnace reflow zone.
Specifically, the embodiment selects an appropriate three-dimensional texture size according to the data volume and the precision requirement of the temperature field, selects an appropriate three-dimensional texture storage format according to the definition requirement and the memory occupation limitation, creates a blank three-dimensional texture according to the above parameters, and initializes the three-dimensional texture, and specifically includes:
step S2021: and selecting a proper three-dimensional texture size according to the data volume and the precision requirement of the temperature field. As can be seen from step S201, there are 144 different axial distances in the 4896 pieces of data, and one axial distance corresponds to one two-dimensional plane, so that the height of the three-dimensional texture object is 144 pixels. In step S201, 34 concentric circles with different radii need to be drawn in the two-dimensional plane with the same axial distance, and the center of the circle is located at the center of the two-dimensional plane. In the embodiment of the invention, the width of 3 pixels is reserved for the circle with the smallest radius in the data group with the same axial distance, and the width of 4 pixels is reserved for the rest 33 circles. The manner of reserving the circular pixels is shown in fig. 4. The circle pixel reservation mode shown in fig. 4 is to draw 4 concentric circles as an example, and the pixel reservation modes of the remaining 30 circles are the same. From the above specification, the length and width of the three-dimensional texture object can be calculated to be at least 135 pixels.
Step S2022: and selecting a proper three-dimensional texture storage format according to the definition requirement and the memory occupation limit. In consideration of factors such as color display precision, memory resource occupation, memory data distribution, graphic API compatibility and the like, in the embodiment of the present invention, the three-dimensional texture object adopts an RGBA32 storage format, where an RGB channel is used to store temperature field data mapped onto a color space, and an a channel is used to indicate whether the pixel point has temperature field data.
Step S2023: based on the analysis of the parameter selection in step S2021 and step S2022, a blank three-dimensional texture object with the size of 135 × 135 × 144 and the storage format RGBA32 is created, and the pixel color of the three-dimensional texture object is initialized: the RGB channels of all pixel colors are (1,1,1), and the default color of the three-dimensional texture is white; the A channel of all pixel colors is 0, and the fact that all pixel points on the three-dimensional texture do not have temperature field data by default is represented.
And step S203, mapping the radial distance and the axial distance of the blast furnace reflow zone temperature field in the preprocessed blast furnace reflow zone temperature field data to a pixel coordinate system of the three-dimensional texture object.
In this embodiment, after the blank three-dimensional texture object is created and initialized, the texture needs to be filled. Firstly, mapping the radial distance and the axial distance of a temperature field of a blast furnace reflow zone to a pixel coordinate system of a three-dimensional texture. In an embodiment of the present invention, the three-dimensional texture object may be equivalent to a set of 144 two-dimensional texture objects of 135 × 135 size, so the rendering of pixels on a single two-dimensional texture object is considered first. As can be analyzed in step S202, the center pixel coordinates of the 34 concentric circles expected to be drawn on each two-dimensional texture are (67.5 ). The embodiment of the invention adopts Bresenham algorithm to draw the circular ring. Besides the coordinates of the circle center, the Bresenham algorithm needs parameters such as circle radius and drawing color for drawing the circle. As can be seen from the analysis in steps S201 and S202, the normalized radial distance is calculated in the manner shown in formula (2), and the maximum radius of the circle in the pixel coordinate system is 67 pixels, so the normalized radial distance is mapped to the radius of the circle in the pixel coordinate system:
Rpixel=Rnormalized×67 (3)
step S204, mapping the temperature value of the blast furnace reflow zone temperature field in the preprocessed blast furnace reflow zone temperature field data to an HSV color space, and converting the HSV color space into an RGB color space;
the drawing color DrawColor can be obtained by performing the color temperature mapping operation on the temperature value read in step S201, and in the embodiment of the present invention, when the temperature is from low to high, the drawing color conversion sequence is defined as follows: blue-green-yellow-red. In the RGB color space, the color space is represented by a linear combination of three color components, and the three components are highly correlated, so in the embodiment of the present invention, it is not intuitive to represent the continuously transformed rendering colors in the RGB color space. In contrast, the HSV color space is more suitable for representing continuous variations in drawn hue. Since only the change of the drawn hue with temperature is concerned in the embodiment of the present invention, and the change of the saturation and the lightness is not concerned, the saturation S is 1 and the lightness V is 1; since the prescribed color varies from blue to green to yellow to red, where blue corresponds to a drawn hue H of 240 °, and red corresponds to a drawn hue H of 0 °, the drawn hue H has a value ranging from 240 ° to 0 °, and varies linearly. According to the above analysis, the mapping relationship between the normalized temperature value and the HSV color space can be obtained as follows:
Figure BDA0002927190750000071
the calculation for mapping the drawing color DrawColor from the HSV color space to the RGB color space is as follows:
Figure BDA0002927190750000072
wherein:
Figure BDA0002927190750000073
Figure BDA0002927190750000074
step S205, drawing a circle on a two-dimensional plane corresponding to the axial distance of the blast furnace reflow zone temperature field by using a Bresenham algorithm, wherein the center of the circle is the center of the two-dimensional plane, the radius is the radial distance of the blast furnace reflow zone temperature field in a pixel coordinate system, and the color of a pixel point in the pixel coordinate system is the temperature value of the blast furnace reflow zone temperature field in an RGB color space;
the Bresenham rasterization algorithm draws a circle. The Bresenham circle drawing algorithm is a simple and effective curve rasterization method, and a flow chart of the Bresenham circle drawing algorithm of the two-dimensional texture is shown in fig. 5. According to the symmetry of the circle, when drawing the circle, only a section of octant circle needs to be drawn firstly, and then the section of circular arc is symmetrically transformed, so that a complete circle can be obtained. When drawing a circle, setting the currently drawn pixel point as (x)i,yi) Drawing a circle with radius RiThe drawing direction is counterclockwise, and order:
i=(xi+1)2+(yi-1)2-Ri 2 (8)
δ=2(△i+yi)-1 (9)
δ'=2(△i-xi)-1 (10)
the criterion of the next pixel to be drawn is as follows:
when delta isiWhen delta is less than or equal to 0, if delta is less than or equal to 0, the next pixel point for drawing is (x)i+1,yi) Corresponding to the case of fig. 6; if delta>0, then the next pixel point to be drawn is (x)i+1,yi-1), corresponding to the case of fig. 6.
1) When delta isi>When 0, if delta' is less than or equal to 0, the next pixel point is drawn as (x)i+1,yi-1), corresponding to case 2 of fig. 6;
if δ'>0, then the next pixel point for rendering is (x)i,yi-1), corresponding to case (c) of fig. 6.
After the next pixel point is drawn, the distance from the center of the circle to the current pixel point is changed, so that the difference between the square of the distance from the center of the circle to the pixel point and the square of the radius is changed. The squared difference after the change was recorded as Δi'. According to the coordinates of the next pixel point drawn differently, deltai' the calculation is as follows:
Figure BDA0002927190750000081
when x is more than or equal to 67.5i≤yiThen, according to the above method, an octant of the ith circle can be drawn. A complete circle can be obtained by mapping the pixel points drawn each time to the corresponding positions of other quadrants by using symmetric transformation. The original pixel point and the pixel point coordinate after the symmetric transformation are respectively as follows: (x)i,yi)、(yi,xi)、(xi,-yi)、(yi,-xi)、(-xi,yi)、(-yi,xi)、(-xi,-yi)、(-yi,-xi)。
And step S206, filling and interpolating colors between two adjacent circular rings.
The problem that pixel points are not filled or color changes suddenly possibly exists between two adjacent circles. In order to solve the above problem, in the embodiment of the present invention, data of one circle is added between two adjacent circles in an interpolation manner, and a radius of the interpolated circle is calculated in the following manner:
Figure BDA0002927190750000082
the drawn color tone of the interpolated circle is calculated as follows:
Figure BDA0002927190750000083
then, steps S203 and S204 are repeated, and a blank pixel between two circles is filled or a smoothing operation is performed on the color values of the two circles.
And step S207, sampling the filled and interpolated three-dimensional texture object to obtain a color value, and displaying the color value on a screen image.
Specifically, the sampling the filled and interpolated three-dimensional texture object to obtain a color value and displaying the color value on the screen image according to the embodiment includes:
step S2071, down-sampling the filled and interpolated three-dimensional texture object to obtain a low-resolution three-dimensional texture.
Step S2072, sample the low-resolution three-dimensional texture to obtain an expected color value of the light.
Down-sampling the texture generated in the step S206 to obtain a three-dimensional texture with lower resolution, sampling the three-dimensional texture with lower resolution to obtain an expected color value of the projection ray L, and recording a red channel, a green channel and a blue channel of the expected color value of the ray L as R respectivelyL、GL、BL. In this embodiment, since the expected color value of the light L is obtained on a low-resolution three-dimensional texture in step S2072, if the expected color value is directly displayed, the final screen image may be blurred, and therefore, the expected color value of the light L is not directly used for displaying the screen image pixel corresponding to the light L. The purpose of obtaining the expected color value of the light L is to provide guidance for color correction in step S2073.
And step S2073, sampling the filled and interpolated three-dimensional texture object by adopting a ray projection method based on the expected color value of the ray to obtain a color value, and displaying the color value on a screen image.
In this embodiment, based on the expected color value of the light, sampling the filled and interpolated three-dimensional texture object by using a light projection method to obtain a color value, and displaying the color value on the screen image includes: judging whether the A channel of the current mixed accumulated color value of the light is larger than or equal to a preset A channel threshold value, if not, continuing to sample until the A channel is larger than or equal to the preset A channel threshold value, or the coordinate of the current sampling point is not in the coordinate range of the preset sampling point, or the current accumulated sampling time of the light exceeds the preset maximum sampling time of each light, if so, recording the current sampling point, judging whether the current mixed accumulated color value of the light is equal to the expected color value of the light, if so, finishing the light projection of the light, displaying the current mixed accumulated color value of the light on a screen image pixel corresponding to the light, if not, continuing to advance from the current sampling point and taking the next sampling point, judging whether the mixed accumulated color value of the next sampling point is equal to the expected color value of the light, if so, reversely advancing from the current sampling point and taking the previous sampling point, judging whether the mixed accumulated color value of the last sampling point is equal to the expected color value of the light ray, and repeating the steps until the current mixed accumulated color value of the light ray is equal to the expected color value of the light ray; and displaying the mixed accumulated color value when the current mixed accumulated color value of the ray is equal to the expected color value of the ray on the screen image pixel corresponding to the ray.
In this embodiment, the light projection method with the light termination condition is adopted to sample the three-dimensional texture filled and interpolated in step S206, and for the projected light L, when sampling each time and the current mixed and accumulated color value of the light L reaches the light termination condition, the current sampling point P is recordedkAnd correcting the current mixed accumulated color value of the light L, and displaying the corrected color value on the screen image pixel corresponding to the light L.
Specifically, in this embodiment, based on the expected color value of the ray, sampling the filled and interpolated three-dimensional texture object by using a ray projection method to obtain a color value, and displaying the color value on the screen image specifically includes:
step S20731, setting a light termination condition: the A channel of the current mixed accumulated color value of the light ray L is more than or equal to alphaTIn which α isTIs the user set a-channel threshold.
Step S20732, sample the filled three-dimensional texture by a ray casting method with a ray termination condition. And for the light L, judging whether the channel A of the current mixed accumulated color value of the light L meets the light termination condition or not during sampling every time. If not, the three-dimensional texture continues to be sampled on the ray L. If yes, recording the current sampling point PkJudging whether the red channel, the green channel and the blue channel of the current mixed accumulated color value of the light L are equal to the red channel, the green channel and the blue channel of the expected color value of the light L (obtained in the step S2072), if not, jumping to (step S20733), otherwise, ending the light projection of the light LAnd displaying the current mixed accumulated color value of the light ray L on the screen image pixel corresponding to the light ray L.
Step S20733, comparing the red color channel of the current mixed accumulated color value of the light L
Figure BDA0002927190750000101
Red channel R corresponding to the expected color value of the light LLIf, if
Figure BDA0002927190750000102
The light L follows the sampling point PkGo on and take the (k + 1) th sampling point Pk+1Will sample point Pk+1Red channel R of upsampled color valuesk+1And
Figure BDA0002927190750000103
are mixed and accumulated to obtain
Figure BDA0002927190750000104
Will be provided with
Figure BDA0002927190750000105
As the red channel of the current blended accumulated color value of ray L until the red channel of the current blended accumulated color value of ray L equals the red channel of the expected color value of ray L:
Figure BDA0002927190750000106
Figure BDA0002927190750000107
wherein
Figure BDA0002927190750000108
Is the A channel, A, of the current mixed accumulated color value of the ray LkIs at the sampling point PkAn a channel of upsampled resulting color values. If R isk<RLThe light L goes backward andtaking the k-1 th sampling point, and sampling point Pk-1Red channel R of upsampled color valuesk-1And
Figure BDA0002927190750000109
performing mixed subtraction to obtain
Figure BDA00029271907500001010
Will be provided with
Figure BDA00029271907500001011
The red channel, which is the current blended subtracted color value of ray L, until the red channel of the current blended subtracted color value of ray L equals the red channel of the expected color value of ray L:
Figure BDA00029271907500001012
Figure BDA00029271907500001013
and carrying out the same correction operation on the green channel and the blue channel of the current mixed accumulated color value of the light ray L until the mixed accumulated color value of the light ray L or the three channels of the mixed accumulated color value are equal to the three channels of the expected color value of the light ray L, and then displaying the corrected color value on the screen image pixel corresponding to the light ray L.
And then, performing the operations of step S2071 to step S2073 on other rays of light in the same way until the mixed accumulated color values of all rays of light are displayed on the corresponding pixels of the screen image, so that the visualized temperature field data is displayed on the screen image.
The screen image finally obtained by the embodiment of the invention is shown in fig. 7. In FIG. 7, (-) -indicates blue, cyan, green, yellow, red and orange, respectively. As can be seen from the figure, the result reflects both the distribution of the temperature field data of the blast furnace reflow zone and the approximate geometry of the temperature field of the blast furnace reflow zone. In the embodiment of the invention, the data distribution and the geometric appearance of the temperature field can be represented by means of the temperature field data visibility information stored in the three-dimensional texture and the three-dimensional texture sampling method based on ray projection. When the geometric characteristics of the temperature field are complex, the method can quickly construct the geometric characteristics of the temperature field. When a light termination condition is added during light projection, a color deviation of a screen image may occur. The embodiment of the invention obtains the expected color value through pre-sampling, compares the relation between the actual color value and the expected color value in the sampling process, and eliminates the deviation of the mixed accumulated color value of the light rays in a mode of continuously advancing the light rays or reversely advancing the light rays so as to reduce or eliminate the deviation value of the color of the screen image.
The invention aims to provide a visualization method for temperature field data of a blast furnace reflow zone, which is used for sampling the offline data of the temperature field of the blast furnace reflow zone by adopting a method based on light projection and displaying the temperature field data on a screen image by considering the three-dimensional distribution characteristic of the offline data of the temperature field of the blast furnace reflow zone and the requirement of data visualization. And creating a blank three-dimensional texture object for organizing the temperature field data of the blast furnace reflow zone. Reading and preprocessing the existing blast furnace reflow zone temperature field offline data, normalizing the geometric information of the blast furnace reflow zone temperature field offline data on the distributed cylindrical coordinate system, and mapping to a texture coordinate system; and normalizing the temperature information of the temperature field data of the blast furnace reflow zone, mapping the temperature information to HSV color space, and mapping the temperature information to RGB color space. Based on the preprocessed temperature field data of the blast furnace reflow zone, filling and interpolation operation is carried out on the pixel points of the blank three-dimensional texture by adopting a rasterization algorithm, wherein the channel A of the color of the texture pixel points is used for representing the visibility (namely the existence of the temperature field data) of the pixel points, if the temperature field data exists in the pixel points, the channel A is 1, the pixel points are visible, otherwise, the channel A is 0, the pixel points are invisible, and the method can indirectly represent the geometric form of the blast furnace reflow zone through the value of the channel A. If the filled three-dimensional texture is sampled by directly adopting the existing ray projection method with the ray termination condition, because the projected rays are terminated in advance, the sampling times on some rays are reduced, the mixed accumulated color values corresponding to the rays may be further inaccurate, and the screen image pixel color values corresponding to the rays are further inaccurate, so that the current mixed accumulated color values of the rays need to be corrected in the sampling process to obtain the correct screen image pixel color values. In the correction process, the expected color values need to be acquired in advance to provide guidance for color correction. And (4) downsampling the filled three-dimensional texture to obtain a low-resolution three-dimensional texture, and sampling the low-resolution three-dimensional texture by using a light projection method to obtain an expected color value. And sampling the original three-dimensional texture and performing color correction in the sampling process, and displaying the corrected color on a screen image, thereby realizing the three-dimensional visualization of the temperature field data of the blast furnace reflow zone.
Aiming at the three-dimensional distribution characteristic of the temperature field offline data of the blast furnace reflow zone, the light projection method is applied to visualization of the temperature field offline data for the first time. And setting the visibility of three-dimensional texture pixel points for organizing data based on the original blast furnace reflow zone temperature field data. The method can indirectly represent the geometric form of the blast furnace reflow zone directly according to the channel A of the temperature field data mapped to the color values without constructing a complex blast furnace reflow zone model, and has the characteristics of intuition, comprehensiveness, easy operation and the like.
The key points of the invention are as follows:
(1) the special distribution property of the temperature field of the blast furnace reflow zone is mapped to a texture coordinate system for the first time, and the data of the temperature field of the blast furnace reflow zone are organized by creating three-dimensional textures.
(2) The light projection method is used for the visualization method of the temperature field data of the blast furnace reflow zone for the first time.
(3) The existence of temperature field data of the blast furnace reflow zone is stored in the three-dimensional texture for the first time, and based on a three-dimensional texture sampling method of light projection, the construction process of a complex geometric model is omitted, and the geometric shape of the temperature field can be constructed only by manually creating a simple model (such as a cuboid, a sphere, a cylinder and the like).
(4) A method for color correction of a screen image is proposed for the first time, which method is used in the following situations: in the light projection method with the light termination condition, the light projection process can be finished in advance, so that the number of sampling points in the light projection process is reduced, the color information accumulation frequency is reduced, and the actual color value corresponding to the light is deviated from the expected color value. To reduce or eliminate the offset, color correction is required during sampling. Taking the red channel of color values as an example, the expected value of the red channel of a certain light is denoted as R, and when the light termination condition is reached, the actual value of the red channel is R'. If the light termination condition is reached, R' < R, the light continues to advance and sample, and the red channel is mixed and accumulated until the actual value of the red channel is equal to the expected value; if R' > R, the light proceeds in the reverse direction and is sampled and the red channel is mixed and subtracted until the actual value of the red channel equals the expected value. The expected value of the red channel is from the sampling result of the low-resolution three-dimensional texture, and the low-resolution three-dimensional texture can be obtained by down-sampling the original three-dimensional texture. The green and blue channels are the same. And (4) after the three channels of the color values of all the projection rays are corrected, obtaining the corrected screen image.
The invention provides a visualization method of blast furnace reflow zone temperature field data, which comprises the steps of reading and preprocessing blast furnace reflow zone temperature field off-line data, creating a three-dimensional texture object for displaying the blast furnace reflow zone temperature field data, performing filling and interpolation operation on pixel points of the three-dimensional texture based on the preprocessed blast furnace reflow zone temperature field data, sampling the filled three-dimensional texture by using a light projection method with a light termination condition, performing color correction in the sampling process, and displaying the corrected color on a screen image, thereby realizing the three-dimensional visualization of the blast furnace reflow zone temperature field data. The method displays the distribution condition of the temperature field data of the blast furnace reflow zone more visually and more comprehensively, realizes three-dimensional visualization of the temperature field distribution of the blast furnace reflow zone, and has the characteristics of intuition, comprehensiveness, easy operability and the like.
Referring to fig. 8, a system for visualizing temperature field data of a reflow zone of a blast furnace according to an embodiment of the present invention includes:
the method comprises a memory 10, a processor 20 and a computer program stored on the memory 10 and executable on the processor 20, wherein the processor 20 implements the steps of the visualization method of the temperature field data of the soft melting zone of the blast furnace proposed by the embodiment when executing the computer program.
The specific working process and working principle of the visualization system for the temperature field data of the reflow melting zone of the blast furnace in this embodiment can refer to the working process and working principle of the visualization method for the temperature field data of the reflow melting zone of the blast furnace in this embodiment.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (5)

1. A visualization method for temperature field data of a reflow zone of a blast furnace is characterized by comprising the following steps:
acquiring offline blast furnace reflow zone temperature field data, and preprocessing the blast furnace reflow zone temperature field data;
creating a three-dimensional texture object for organizing blast furnace reflow zone temperature field data based on the blast furnace reflow zone temperature field data, wherein creating the three-dimensional texture object for organizing the blast furnace reflow zone temperature field data based on the blast furnace reflow zone temperature field data comprises:
determining the size of the three-dimensional texture object according to the data volume and the precision requirement of the blast furnace reflow zone temperature field data;
determining a storage format of the three-dimensional texture object according to the definition requirement and the memory occupation limit;
creating a three-dimensional texture object according to the size and the storage format of the three-dimensional texture object, and initializing the three-dimensional texture object;
filling and interpolating pixels in the three-dimensional texture object based on the preprocessed temperature field data of the blast furnace reflow zone, wherein the filling and interpolating of the pixels in the three-dimensional texture object based on the preprocessed temperature field data of the blast furnace reflow zone comprises:
mapping the radial distance and the axial distance of the blast furnace reflow zone temperature field in the preprocessed blast furnace reflow zone temperature field data to a pixel coordinate system of the three-dimensional texture object;
mapping the temperature value of the blast furnace reflow zone temperature field in the preprocessed blast furnace reflow zone temperature field data to an HSV color space, and converting the HSV color space into an RGB color space;
drawing a circle on a two-dimensional plane corresponding to the axial distance of the blast furnace reflow zone temperature field by using a Bresenham algorithm, wherein the circle center of the circle is the center of the two-dimensional plane, the radius is the radial distance of the blast furnace reflow zone temperature field in a pixel coordinate system, and the color of a pixel point in the pixel coordinate system is the temperature value of the blast furnace reflow zone temperature field in an RGB color space;
filling and interpolating colors between two adjacent circular rings;
and sampling the filled and interpolated three-dimensional texture object to obtain a color value, and displaying the color value on a screen image.
2. The visualization method of the temperature field data of the blast furnace reflow zone as claimed in claim 1, wherein mapping the temperature value of the temperature field of the blast furnace reflow zone in the preprocessed temperature field data of the blast furnace reflow zone to the HSV color space includes:
the custom color is changed according to blue-green-yellow-red, the value range of the drawn hue H is 240-0 degrees, the saturation S is 1, the transparency V is 1, and the mapping relation between the normalized temperature value of the blast furnace reflow zone temperature field and the HSV color space is as follows:
Figure FDA0003575906790000011
wherein T isnormalizedAnd representing the temperature value of the temperature field of the blast furnace reflow zone after normalization treatment.
3. The method for visualizing the temperature field data of the reflow soldering zone of the blast furnace as claimed in any one of claims 1-2, wherein the step of sampling the filled and interpolated three-dimensional texture object to obtain color values and displaying the color values on the screen image comprises the steps of:
down-sampling the filled and interpolated three-dimensional texture object to obtain a low-resolution three-dimensional texture;
sampling the low-resolution three-dimensional texture to obtain an expected color value of the light;
and sampling the filled and interpolated three-dimensional texture object by adopting a ray projection method based on the expected color value of the ray to obtain a color value, and displaying the color value on a screen image.
4. The method for visualizing the temperature field data of the reflow belt of the blast furnace as claimed in claim 3, wherein the step of sampling the filled and interpolated three-dimensional texture object by adopting a ray projection method based on the expected color value of the ray to obtain the color value and displaying the color value on the screen image comprises the steps of:
judging whether the A channel of the current mixed accumulated color value of the light is larger than or equal to a preset A channel threshold value, if not, continuing to sample until the A channel is larger than or equal to the preset A channel threshold value, or the coordinate of the current sampling point is not in the coordinate range of the preset sampling point, or the current accumulated sampling time of the light exceeds the preset maximum sampling time of each light, if so, recording the current sampling point, judging whether the current mixed accumulated color value of the light is equal to the expected color value of the light, if so, finishing the light projection of the light, displaying the current mixed accumulated color value of the light on a screen image pixel corresponding to the light, if not, continuing to advance from the current sampling point and taking the next sampling point, judging whether the mixed accumulated color value of the next sampling point is equal to the expected color value of the light, if so, reversely advancing from the current sampling point and taking the previous sampling point, judging whether the mixed accumulated color value of the last sampling point is equal to the expected color value of the light ray, and repeating the steps until the current mixed accumulated color value of the light ray is equal to the expected color value of the light ray;
and displaying the mixed accumulated color value when the current mixed accumulated color value of the ray is equal to the expected color value of the ray on the screen image pixel corresponding to the ray.
5. A blast furnace reflow zone temperature field data visualization system, the system comprising:
memory (10), processor (20) and computer program stored on the memory (10) and executable on the processor (20), characterized in that the steps of the method according to any of the preceding claims 1 to 4 are implemented when the computer program is executed by the processor (20).
CN202110137263.7A 2021-02-01 2021-02-01 Visualization method and system for temperature field data of blast furnace reflow zone Active CN112927347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110137263.7A CN112927347B (en) 2021-02-01 2021-02-01 Visualization method and system for temperature field data of blast furnace reflow zone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110137263.7A CN112927347B (en) 2021-02-01 2021-02-01 Visualization method and system for temperature field data of blast furnace reflow zone

Publications (2)

Publication Number Publication Date
CN112927347A CN112927347A (en) 2021-06-08
CN112927347B true CN112927347B (en) 2022-05-20

Family

ID=76169345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110137263.7A Active CN112927347B (en) 2021-02-01 2021-02-01 Visualization method and system for temperature field data of blast furnace reflow zone

Country Status (1)

Country Link
CN (1) CN112927347B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114139348A (en) * 2021-10-28 2022-03-04 中冶南方工程技术有限公司 Method for judging optimal airflow distribution of blast furnace, electronic equipment and storage medium
CN115630447B (en) * 2022-08-16 2023-11-24 中冶南方工程技术有限公司 Method, device and storage medium for calculating root height of blast furnace soft melting belt
CN115786614A (en) * 2022-11-24 2023-03-14 武汉钢铁有限公司 Method and device for measuring thickness of blast furnace lining

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915556A (en) * 2015-06-07 2015-09-16 山西太钢不锈钢股份有限公司 Method for judging position of cohesive zone of blast furnace and position of cohesive zone of blast furnace
CN106916915A (en) * 2017-04-14 2017-07-04 中南大学 A kind of method for monitoring root position of soft heat belt in blast furnace on-line
CN106957935A (en) * 2017-05-27 2017-07-18 中南大学 The flexible measurement method of soft heat belt shape inside a kind of blast furnace
CN111881236A (en) * 2020-07-06 2020-11-03 中南大学 Stope visualization realization method and stope visualization realization device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915556A (en) * 2015-06-07 2015-09-16 山西太钢不锈钢股份有限公司 Method for judging position of cohesive zone of blast furnace and position of cohesive zone of blast furnace
CN106916915A (en) * 2017-04-14 2017-07-04 中南大学 A kind of method for monitoring root position of soft heat belt in blast furnace on-line
CN106957935A (en) * 2017-05-27 2017-07-18 中南大学 The flexible measurement method of soft heat belt shape inside a kind of blast furnace
CN111881236A (en) * 2020-07-06 2020-11-03 中南大学 Stope visualization realization method and stope visualization realization device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
高炉软熔带位置状态的二级模糊综合评判;杨贵军 等;《有色冶金设计与研究》;20140831;第35卷(第4期);第18-21页 *
高炉软熔带形态变化的物理模拟;赵雪飞;《鞍山钢铁学院学报》;19960630(第03期);第12-17页 *

Also Published As

Publication number Publication date
CN112927347A (en) 2021-06-08

Similar Documents

Publication Publication Date Title
CN112927347B (en) Visualization method and system for temperature field data of blast furnace reflow zone
JP4677323B2 (en) Image processing apparatus and image processing method
US5657045A (en) Graphic pattern processing apparatus
JP4818053B2 (en) High resolution device and method
US6058208A (en) Color correction device and color correction method
CN101651804B (en) Information processing apparatus and method
US8179403B2 (en) Image synthesis device, image synthesis method, image synthesis program, integrated circuit
US8699815B2 (en) Methods and apparatus for improved display of foreground elements
CN106709863B (en) GPU-based efficient 2D vector graphics rendering method
CN103503032A (en) Texturing in graphics hardware
JP2009065656A (en) Display system, display method and computer readable medium
JP2004259270A (en) Color gradient path
US6917360B2 (en) System and method for adaptively labeling multi-dimensional images
US4482893A (en) Cathode ray tube display system with minimized distortion from aliasing
JP6287337B2 (en) Image processing apparatus, image processing method, image processing system, and program
CN103080950A (en) Two-dimensional code reader and program
US20110206297A1 (en) Image data converting device, method for converting image data, program and storage medium
CN106251322B (en) Image processing equipment, image processing method and image processing system
CN105654920B (en) Display device, method for displaying image and gray-scale intensity conversion method
JP6241320B2 (en) Image processing apparatus, image processing method, image processing system, and program
US20030146920A1 (en) Displaying method, displaying apparatus, filtering unit, filtering process method, recording medium for storing filtering process programs, and method for processing images
JP2001028051A (en) Device and method for image processing, and image processing program recording medium
US20100053193A1 (en) Data creating apparatus and drawing apparatus
CN110045882B (en) Infrared touch data processing method and system and related components
US7953273B2 (en) Apparatus and method for modifying arrangement of colors

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant