A method for observing and identifying rock cuttings characteristics

The white and purple light images of the rock chips were taken by the SLR camera, combined with image processing technology, and the problem of standardization and quantification in rock chip observation was solved, and the accurate quantitative analysis of the rock chip particle size and fluorescence content was achieved, which improved the observation efficiency and accuracy.

CN118537591BActive Publication Date: 2024-11-01BEIJING YAOQI TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410590560.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-11-01
Estimated Expiration
2044-05-13

AI Technical Summary

Technical Problem

The existing technology lacks standardization and quantification in rock cutting observation, resulting in strong man-made observation conclusions and large regional comparison errors, making it impossible to achieve accurate and reliable quantitative analysis of rock cuttings.

Method used

The white and purple light images of standard samples were taken by using SLR cameras, and the equivalent diameter and fluorescence content of rock chip particles were calculated through image processing technology. Standard sample preparation and image automatic recognition technology were used to achieve quantitative automatic observation of rock chip particle size and fluorescence content. .

Benefits of technology

It improves observation efficiency and accuracy, reduces fluorescence errors caused by oil and gas dissipation, provides a reliable observation basis, and can quantitatively reflect the particle size distribution and fluorescence content of the rock chips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537591B_ABST
    Figure CN118537591B_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of geological logging, and discloses a method for observing and identifying rock cuttings features; the method comprises: preparing a standard sample; preparing a shooting environment; setting shooting parameters of a single-lens reflex camera; using the single-lens reflex camera with the shooting parameters set to shoot a white light image and a purple light image of the standard sample in the shooting environment; identifying the white light image and the purple light image, and calculating the rock cuttings particle size in the white light image and the fluorescence content in the purple light image; the invention adopts standard sample preparation and image automatic recognition and other technologies to realize quantitative automatic observation of rock cuttings particle size and fluorescence content; the observation efficiency and accuracy can be improved, and it is more conducive to providing a reliable observation basis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of geological logging, and more specifically, to a method for observing and identifying rock cuttings features. Background Art

[0002] At present, the on-site observation of rock cuttings is divided into natural light observation and fluorescence observation. The observation technology is mainly based on the naked eye. The naked eye observation technology mainly observes the macroscopic characteristics of rock cuttings. The observation range is large, there is no unified standard, the observation conclusion is highly artificial, and the regional comparison error is large.

[0003] The Chinese patent with publication number CN110208223A discloses a method of a geological logging rock cuttings transmission analysis device, including a rock cuttings placement table and a light box, wherein the light box runs above the rock cuttings placement table through a moving component, the rock cuttings placement table includes a transmission table and a non-fluorescent hard cloth, wherein the non-fluorescent hard cloth is a transmission belt, which is connected end to end and wound on the transmission table, and a transmission hole is provided at the edge of the non-fluorescent hard cloth, which is meshed with a transmission gear, and the transmission gear is connected to the output shaft of the motor; a sand cleaning plate for wiping off the rock cuttings on the non-fluorescent hard cloth is installed on the bottom surface of the transmission table; this invention realizes the continuous collection operation of logging in the process of collection and processing, but there is no quantitative and standardized concept in the process of collection and collection, which seriously affects the standardized evaluation of the later rock cuttings observation;

[0004] A new CIS rock cuttings logging digital imaging system was disclosed in the logging project. In terms of software system, it has created a series of key image processing technologies such as depth of field extension, target segmentation and extraction, and intelligent identification of rock cuttings. However, the specific methods of its key technologies were not specified, that is, its core algorithms were not disclosed.

[0005] In view of this, the present invention proposes a method for observing and identifying rock cuttings features to solve the above problems. Summary of the invention

[0006] In order to overcome the above-mentioned defects of the prior art and to achieve the above-mentioned purpose, the present invention provides the following technical solution: a method for observing and identifying rock cuttings features, comprising:

[0007] S1: prepare standard samples;

[0008] S2: Prepare the shooting environment;

[0009] S3: Set the shooting parameters of the SLR camera;

[0010] S4: Use a SLR camera with set shooting parameters to shoot white light images and purple light images of the standard sample in the shooting environment;

[0011] S5: Identify the white light image and the purple light image, and calculate the particle size of the rock debris in the white light image and the fluorescence content in the purple light image.

[0012] Furthermore, the preparation of the standard sample includes: selecting rock cuttings that have been out of the wellbore within 5 to 15 minutes at the logging site and cleaning them; placing the cleaned rock cuttings on a tray; and flattening the rock cuttings placed in the tray using a non-fluorescent flat plate to obtain a standard sample.

[0013] Furthermore, the preparation of the shooting environment includes: placing the standard sample flat on top of a fixed base, arranging a SLR camera vertically above the fixed base, the SLR camera facing the entire tray field of view; completely covering the SLR camera and the tray with a curtain, the curtain being an opaque curtain; placing a light source in the curtain, the light source including a natural light LED lamp and a 310nm to 405nm wavelength ultraviolet lamp; the light source uses a surround lens to vertically irradiate the standard sample.

[0014] Furthermore, the shooting parameters of the SLR camera are: manual exposure mode is selected for light, 1 / 125 second is selected for shutter, f8 is selected for aperture, ISO16000 is selected for sensitivity, color temperature mode is selected for white balance, local metering mode is selected for metering mode, 0 is selected for exposure, Large Fine Jpeg is selected for photo quality, single shot mode is selected for camera mode, single shot autofocus is selected for autofocus, and 1920*1080 is selected for photo quality.

[0015] Furthermore, the white light image is an image taken by a SLR camera under the illumination of a natural light LED lamp, and the purple light image is an image taken by a SLR camera under the illumination of a purple light lamp.

[0016] Furthermore, the step of calculating the size of rock cuttings particles in the white light image includes:

[0017] Step a1: grayscale the white light image to obtain a grayscale image;

[0018] Step a2: Gaussian filtering and smoothing the grayscale image;

[0019] Step a3: extracting the outline of rock cuttings particles in the grayscale image using an edge detection algorithm;

[0020] Step a4: Calculate the equivalent diameter corresponding to each rock cutting particle outline; use the equivalent diameter corresponding to each rock cutting particle outline as the size of the rock cutting particle corresponding to each rock cutting particle outline.

[0021] Furthermore, the method for calculating the equivalent diameter corresponding to each rock cutting particle profile includes:

[0022] Count the number of pixels and the number of rock cuttings particle contours corresponding to each rock cuttings particle contour;

[0023] Calculate the contour area corresponding to each rock cutting particle contour;

[0024] Calculate the equivalent diameter corresponding to each rock cutting particle contour according to the contour area corresponding to each rock cutting particle contour;

[0025] The calculation method of contour area includes:

[0026]

[0027] Where, LM i is the contour area of ​​the i-th rock particle contour, XS i is the number of pixels of the i-th rock particle contour, XM is the area of ​​a pixel, ω is the scaling factor, i∈[1,N], N is the number of rock particle contours;

[0028] The area of ​​a pixel is obtained by the resolution of the white light image, and the resolution of the white light image is obtained by the properties of the white light image;

[0029] The calculation method of equivalent diameter includes:

[0030]

[0031] Where D i is the equivalent diameter corresponding to the i-th rock particle contour, and π is the pi.

[0032] Furthermore, the step of calculating the fluorescence content in the purple light image includes:

[0033] Step b1: convert the ultraviolet image into the HSV color space to obtain a color image;

[0034] Step b2: extracting the saturation channel in the color image, that is, extracting the saturation corresponding to each pixel in the color image;

[0035] Step b3: setting a fluorescence threshold, comparing the saturation corresponding to each pixel with the fluorescence threshold, and determining whether to mark the pixel as a fluorescence point;

[0036] The method for determining whether to mark a pixel point as a fluorescent point includes:

[0037] If the saturation of a pixel is greater than or equal to the fluorescence threshold, the pixel is marked as a fluorescent point;

[0038] If the saturation of a pixel is less than the fluorescence threshold, the pixel is not marked as a fluorescent point;

[0039] Step b4: Count the number of fluorescent spots and the number of pixels;

[0040] Step b5: Calculate the fluorescence content in the purple light image according to the ratio of the number of fluorescent points to the number of pixels;

[0041] The expression of fluorescence content is:

[0042] Where YH is the fluorescence content, YL is the number of fluorescent points, and XL is the number of pixels.

[0043] Furthermore, the method further includes S6: analyzing the purple light image to obtain fluorescence distribution information in the purple light image;

[0044] The steps of obtaining fluorescence distribution information in the purple light image include:

[0045] Step c1: obtaining the saturation corresponding to each pixel in the purple light image, that is, the saturation corresponding to each pixel extracted in step b2;

[0046] Step c2: construct saturation range;

[0047] Sort the saturation of each pixel from large to small, mark the saturation at the front as the maximum saturation, mark the saturation at the back as the minimum saturation, and construct a saturation range based on the maximum saturation and the minimum saturation;

[0048] Step c3: Divide the saturation range into m sub-ranges on average, where m is an integer greater than 0;

[0049] Step c4: Count the number of pixels corresponding to each sub-range to obtain the fluorescence distribution information in the purple light image.

[0050] Furthermore, the method of equally dividing the saturation range into m sub-ranges includes:

[0051] Subtract the minimum saturation from the maximum saturation to obtain the saturation difference;

[0052] Preset the difference-quantity mapping table, and obtain the corresponding sub-range quantity m according to the saturation difference;

[0053] The method for obtaining fluorescence distribution information in a purple light image comprises:

[0054] According to the ratio of the number of pixels corresponding to each sub-range to the number of pixels, the range proportion corresponding to each sub-range is obtained;

[0055] The expression of range ratio is:

[0056] In the formula, ZB j is the range proportion of the jth sub-range, XD j is the number of pixels in the jth sub-range, j∈[1,m];

[0057] According to the range proportion corresponding to each sub-range, the fluorescence distribution information in the purple light image is obtained.

[0058] The technical effects and advantages of the method for observing and identifying rock cuttings features of the present invention are as follows:

[0059] 1. Prepare standard samples by cleaning and flattening after on-site sampling; then use a SLR camera with white light and ultraviolet light sources to shoot the standard samples to obtain white light images and purple light images; use image processing technology to analyze and calculate the white light images to obtain the equivalent diameter of each rock cutting particle, thereby quantitatively measuring the particle size distribution of the rock cuttings; at the same time, by extracting and identifying the saturation channel in the purple light image, setting a threshold for batch judgment, and counting the number of fluorescent points to calculate the overall fluorescence content of the purple light image; using standard sample preparation and image automatic recognition and other technologies, quantitative automatic observation of rock cuttings particle size and fluorescence content is realized; it can improve observation efficiency and accuracy, minimize fluorescence errors caused by oil and gas escape, and provide more reliable observation basis.

[0060] 2. Extract the saturation of each pixel from the ultraviolet image and construct the overall saturation range; determine the reasonable number of sub-range divisions based on the mapping relationship between the calculated saturation difference and the historical data set; divide the saturation range into multiple sub-ranges on average, and calculate the number and proportion of pixels corresponding to each sub-range, so as to quantitatively reflect the distribution law of different intensity zones; make full use of ultraviolet image information to quantitatively obtain and describe the internal microstructure clues of the rock cuttings, and better reflect the strength and weakness change characteristics inside the ultraviolet image. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 This is a flow chart of a method for observing and identifying rock cuttings features according to Embodiment 1 of the present invention;

[0062] Figure 2 It is another flow chart of a method for observing and identifying rock cuttings characteristics according to Embodiment 2 of the present invention;

[0063] Figure 3 This is a schematic diagram of an electronic device according to Embodiment 3 of the present invention;

[0064] Figure 4 This is a schematic diagram of a storage medium according to Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0065] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0066] Embodiment 1:

[0067] See also Figure 1 As shown, the method for observing and identifying rock cuttings features described in this embodiment includes:

[0068] S1: prepare standard samples;

[0069] Select rock cuttings that have been out of the wellbore within 5 to 15 minutes at the logging site and clean them. In this embodiment, 10 minutes is preferred. Place the cleaned rock cuttings on a tray. In this embodiment, the tray size is preferably 8*12 cm. Use a flat, clean, non-fluorescent flat plate to flatten the rock cuttings placed in the tray to obtain a standard sample.

[0070] S2: Prepare the shooting environment;

[0071] The standard sample is placed flat on top of a fixed base, and a SLR camera is arranged vertically above the fixed base, the SLR camera is opposite to the entire tray field of view, and the SLR camera is fixed with a tripod or a customized bracket. In this embodiment, the preferred SLR camera model is Canon EOS R8, and the distance between the SLR camera lens and the standard sample is 20 cm; the SLR camera and the tray are completely covered with a curtain, and the curtain is an opaque curtain so that the inside of the curtain is opaque; a light source is placed in the curtain, and the light source includes a natural light LED lamp and a 310nm-405nm wavelength ultraviolet lamp. In this embodiment, the wavelength of the ultraviolet lamp is preferably 365nm; the light source is vertically irradiated to the standard sample in a surround lens manner (that is, a spherical mirror and a lens are combined, the spherical mirror focuses the light from the light source onto the lens, and the lens then evenly disperses the light onto the surface of the standard sample) to illuminate the standard sample to the maximum extent without being disturbed by other objects.

[0072] S3: Set the shooting parameters of the SLR camera;

[0073] The shooting parameters of the SLR camera are as follows: select manual exposure mode for light, 1 / 125 second for shutter, f8 for aperture, ISO16000 for sensitivity, color temperature mode for white balance, local metering mode for metering mode, 0 for exposure, Large Fine Jpeg for photo quality (that is, the image file format is Jpeg format, the image resolution is the maximum value, and the image quality is of higher quality), single shot mode for photo mode, single shot autofocus for autofocus, and 1920*1080 for photo quality.

[0074] S4: Use a SLR camera with set shooting parameters to shoot white light images and purple light images of the standard sample in a shooting environment; the white light image is an image taken by the SLR camera under the irradiation of natural light LED lamp, and the purple light image is an image taken by the SLR camera under the irradiation of purple light.

[0075] S5: Identify the white light image and the purple light image, and calculate the particle size of the rock cuttings in the white light image and the fluorescence content in the purple light image;

[0076] The steps to calculate the rock cuttings particle size in the white light image include:

[0077] Step a1: grayscale the white light image to obtain a grayscale image;

[0078] Step a2: performing Gaussian filtering and smoothing on the grayscale image to reduce the noise in the grayscale image, blur and smooth the edges and details of the grayscale image, and facilitate the extraction of contours and lines in the grayscale image;

[0079] Step a3: extracting the outline of rock cuttings particles in the grayscale image using an edge detection algorithm, such as the Canny edge detection algorithm, the Sobel edge detection algorithm, etc.

[0080] Step a4: Calculate the equivalent diameter corresponding to each rock cutting particle outline; use the equivalent diameter corresponding to each rock cutting particle outline as the size of the rock cutting particle corresponding to each rock cutting particle outline.

[0081] The method for calculating the equivalent diameter corresponding to each rock cutting particle outline includes:

[0082] Count the number of pixels and the number of rock cuttings particle contours corresponding to each rock cuttings particle contour;

[0083] Calculate the contour area corresponding to each rock cutting particle contour;

[0084] Calculate the equivalent diameter corresponding to each rock cutting particle contour according to the contour area corresponding to each rock cutting particle contour;

[0085] The calculation method of contour area includes:

[0086]

[0087] Where, LM i is the contour area of ​​the i-th rock particle contour, XS i is the number of pixels of the i-th rock particle contour, XM is the area of ​​a pixel, ω is the scaling factor, i∈[1,N], N is the number of rock particle contours;

[0088] Among them, the area of ​​a pixel is obtained by the resolution of the white light image, and the resolution of the white light image is obtained by the attributes of the white light image; the scaling factor is obtained by technical personnel in this field when observing historical rock cuttings, obtaining multiple white light images, measuring the rock cutting areas in the multiple white light images and the corresponding actual rock cutting areas, dividing the rock cutting area in the white light image by the actual rock cutting area to obtain a quotient, and using the average value corresponding to the multiple quotients as the scaling factor.

[0089] The calculation method of equivalent diameter includes:

[0090]

[0091] Where D i is the equivalent diameter corresponding to the i-th rock particle contour, and π is the pi;

[0092] It should be noted that the purpose of calculating the equivalent diameter is to better analyze and express the particle size characteristics of rock cuttings, so as to facilitate statistical analysis and standard correspondence.

[0093] The steps to calculate the fluorescence content in the purple light image include:

[0094] Step b1: convert the ultraviolet image into the HSV color space to obtain a color image;

[0095] Step b2: extracting the saturation channel in the color image, that is, extracting the saturation corresponding to each pixel in the color image;

[0096] Step b3: setting a fluorescence threshold, comparing the saturation corresponding to each pixel with the fluorescence threshold, and determining whether to mark the pixel as a fluorescence point;

[0097] The method for determining whether to mark a pixel point as a fluorescent point includes:

[0098] If the saturation of a pixel is greater than or equal to the fluorescence threshold, the pixel is marked as a fluorescent point;

[0099] If the saturation of a pixel is less than the fluorescence threshold, the pixel is not marked as a fluorescent point;

[0100] It should be noted that the fluorescence threshold is determined by a person skilled in the art when observing historical rock fragments. A plurality of different purple light images are obtained; the corresponding fluorescence points are determined for each purple light image, and the saturation corresponding to each fluorescence point in each purple light image is obtained; the saturation corresponding to each fluorescence point in each purple light image is compared, and the fluorescence point with the smallest saturation in each purple light image is obtained, and marked as an evaluation point; the saturation corresponding to each evaluation point is added and then divided by the number of evaluation points to obtain the quotient as the fluorescence threshold;

[0101] Step b4: Count the number of fluorescent spots and the number of pixels;

[0102] Step b5: Calculate the fluorescence content in the purple light image according to the ratio of the number of fluorescent points to the number of pixels;

[0103] The expression of fluorescence content is:

[0104] In the formula, YH is the fluorescence content, YL is the number of fluorescent points, and XL is the number of pixels;

[0105] The particle size of rock cuttings in white light images and the fluorescence content in purple light images can be identified and obtained using HALCON machine vision software.

[0106] In this embodiment, a standard sample is prepared by a method of cleaning and flattening after on-site sampling; then a single-lens reflex camera is used in conjunction with a white light and ultraviolet light source to photograph the standard sample to obtain a white light image and a purple light image; the white light image is analyzed and calculated using image processing technology to obtain the equivalent diameter of each rock cutting particle, thereby quantitatively measuring the particle size distribution of the rock cuttings; at the same time, the saturation channel in the purple light image is extracted and identified, and a threshold is set for batch judgment, and the number of fluorescent points is counted to calculate the overall fluorescence content of the purple light image; the standard sample preparation and image automatic recognition and other technologies are used to achieve quantitative automatic observation of the particle size and fluorescence content of the rock cuttings; the observation efficiency and accuracy can be improved, the fluorescence error caused by oil and gas escape can be minimized, and it is more conducive to providing a reliable observation basis.

[0107] Embodiment 2:

[0108] See also Figure 2 As shown, this embodiment is further improved on the basis of the embodiment 1. The fluorescence content observed in the embodiment 1 can be used to analyze the fluorescence characteristics or formation conditions of the rock cuttings, but cannot be used to analyze the internal structure of the rock cuttings. Therefore, this embodiment provides a method for observing and identifying rock cuttings characteristics, which also includes:

[0109] S6: analyzing the purple light image to obtain fluorescence distribution information in the purple light image;

[0110] The steps of obtaining fluorescence distribution information in the purple light image include:

[0111] Step c1: obtaining the saturation corresponding to each pixel in the purple light image, that is, the saturation corresponding to each pixel extracted in step b2;

[0112] Step c2: construct saturation range;

[0113] Sort the saturation of each pixel from large to small, mark the saturation at the front as the maximum saturation, mark the saturation at the back as the minimum saturation, and construct a saturation range based on the maximum saturation and the minimum saturation;

[0114] Step c3: Divide the saturation range into m sub-ranges on average, where m is an integer greater than 0;

[0115] Methods for equally dividing the saturation range into m sub-ranges include:

[0116] Subtract the minimum saturation from the maximum saturation to obtain the saturation difference;

[0117] Preset the difference-quantity mapping table, and obtain the corresponding sub-range quantity m according to the saturation difference;

[0118] The difference-quantity mapping table is stored in the database and may be a two-dimensional mapping table, which includes saturation differences and sub-range quantities corresponding to the saturation differences. According to the calculated saturation differences, the corresponding sub-range quantities may be obtained through the difference-quantity mapping table.

[0119] The method for setting the difference-quantity mapping table is as follows: a person skilled in the art calculates the saturation difference corresponding to a plurality of purple light images during the historical rock cuttings observation process, and sets a corresponding number of sub-ranges for each saturation difference; for a larger saturation difference, a larger number of sub-ranges is set, and for a smaller saturation difference, a smaller number of sub-ranges is set; the reason is that the larger the saturation difference, the more complex the internal structure of the rock cuttings, and more sub-ranges are needed to describe the complex internal structure of the rock cuttings; the saturation difference and the corresponding number of sub-ranges are set in a difference-quantity mapping table; wherein, a plurality of saturation differences correspond to one number of sub-ranges;

[0120] Step c4: Count the number of pixels corresponding to each sub-range to obtain the fluorescence distribution information in the purple light image;

[0121] The method for obtaining fluorescence distribution information in a purple light image includes:

[0122] According to the ratio of the number of pixels corresponding to each sub-range to the number of pixels, the range proportion corresponding to each sub-range is obtained;

[0123] The expression of range ratio is:

[0124] In the formula, ZB j is the range proportion of the jth sub-range, XD j is the number of pixels in the jth sub-range, j∈[1,m];

[0125] According to the range proportion corresponding to each sub-range, the fluorescence distribution information in the purple light image is obtained.

[0126] This embodiment extracts the saturation of each pixel from the ultraviolet image and constructs an overall saturation range; determines a reasonable number of sub-range divisions based on the calculated saturation difference and the mapping relationship between the historical data set; after evenly dividing the saturation range into multiple sub-ranges, calculates the number and proportion of pixels corresponding to each sub-range, thereby quantitatively reflecting the distribution law of different intensity zones; makes full use of ultraviolet image information, quantitatively obtains and describes clues to the microstructure inside the rock cuttings, and better reflects the strength and weakness change characteristics inside the ultraviolet image.

[0127] Embodiment 3:

[0128] See also Figure 3 As shown, according to another aspect of the present application, an electronic device 500 is also provided. The electronic device 500 may include one or more processors and one or more memories. The memories store computer readable codes, and when the computer readable codes are run by one or more processors, the above-mentioned method for observing and identifying rock cuttings features can be executed.

[0129] The method or system according to the embodiment of the present application can also be used by Figure 3 The electronic device architecture shown in FIG. Figure 3 As shown, the electronic device 500 may include a bus 501, one or more CPUs 502, ROM 503, RAM 504, a communication port 505 connected to a network, an input / output 506, a hard disk 507, etc. The storage device in the electronic device 500, such as ROM 503 or hard disk 507, may store a method for observing and identifying rock cuttings features provided in the present application. The electronic device 500 may also include a user interface 508. Of course, Figure 3 The architecture shown is only exemplary and can be omitted according to actual needs when implementing different devices. Figure 3 One or more components of an electronic device are shown.

[0130] Embodiment 4:

[0131] See also Figure 4 As shown, a computer-readable storage medium 600 according to an embodiment of the present application is shown. Computer-readable instructions are stored on the computer-readable storage medium 600. When the computer-readable instructions are executed by the processor, a method for observing and identifying rock cuttings features according to an embodiment of the present application described with reference to the above figures can be executed. The storage medium 600 includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.

[0132] In addition, according to the embodiments of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the present application provides a non-transitory machine-readable storage medium, which stores machine-readable instructions, and the machine-readable instructions can be executed by a processor to execute instructions corresponding to the method steps provided in the present application, for example: a method for observing and identifying rock cuttings features. When the computer program is executed by a central processing unit (CPU), the above functions defined in the method of the present application are executed.

[0133] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0134] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for observing and identifying rock cuttings features, characterized in that: include: S1: prepare standard samples; S2: Prepare the shooting environment; S3: Set the shooting parameters of the SLR camera; S4: Use a SLR camera with set shooting parameters to shoot white light images and purple light images of the standard sample in the shooting environment; S5: Identify the white light image and the purple light image, and calculate the particle size of the rock debris in the white light image and the fluorescence content in the purple light image; the step of calculating the fluorescence content in the purple light image includes: Step b1: convert the ultraviolet image into the HSV color space to obtain a color image; Step b2: extracting the saturation channel in the color image, that is, extracting the saturation corresponding to each pixel in the color image; Step b3: setting a fluorescence threshold, comparing the saturation corresponding to each pixel with the fluorescence threshold, and determining whether to mark the pixel as a fluorescence point; The method for determining whether to mark a pixel point as a fluorescent point includes: If the saturation of a pixel is greater than or equal to the fluorescence threshold, the pixel is marked as a fluorescent point; If the saturation of a pixel is less than the fluorescence threshold, the pixel is not marked as a fluorescent point; Step b4: Count the number of fluorescent spots and the number of pixels; Step b5: Calculate the fluorescence content in the purple light image according to the ratio of the number of fluorescent points to the number of pixels; The expression of fluorescence content is: In the formula, YH is the fluorescence content, YL is the number of fluorescent points, and XL is the number of pixels; S6: analyzing the purple light image to obtain fluorescence distribution information in the purple light image; The steps of obtaining fluorescence distribution information in the purple light image include: Step c1: obtaining the saturation corresponding to each pixel in the purple light image, that is, the saturation corresponding to each pixel extracted in step b2; Step c2: construct saturation range; Sort the saturation of each pixel from large to small, mark the saturation at the front as the maximum saturation, mark the saturation at the back as the minimum saturation, and construct a saturation range based on the maximum saturation and the minimum saturation; Step c3: Divide the saturation range into m sub-ranges on average, where m is an integer greater than 0; Step c4: Count the number of pixels corresponding to each sub-range to obtain the fluorescence distribution information in the purple light image; The method of equally dividing the saturation range into m sub-ranges comprises: Subtract the minimum saturation from the maximum saturation to obtain the saturation difference; Preset the difference-quantity mapping table, and obtain the corresponding sub-range quantity m according to the saturation difference; The method for obtaining fluorescence distribution information in a purple light image comprises: According to the ratio of the number of pixels corresponding to each sub-range to the number of pixels, the range proportion corresponding to each sub-range is obtained; The expression of range ratio is: In the formula, ZB j is the range proportion of the jth sub-range, XD j is the number of pixels in the jth sub-range, j∈[1,m]; According to the range proportion corresponding to each sub-range, the fluorescence distribution information in the purple light image is obtained.

2. The method for observing and identifying rock cuttings features according to claim 1, characterized in that: The preparation of the standard sample comprises: selecting rock cuttings that have been out of the wellbore within 5 to 15 minutes at the logging site and cleaning them; placing the cleaned rock cuttings on a tray; and flattening the rock cuttings placed on the tray using a non-fluorescent flat plate to obtain a standard sample.

3. The method for observing and identifying rock cuttings features according to claim 2, characterized in that: The preparation of the shooting environment includes: placing the standard sample flat on top of a fixed base, arranging a SLR camera vertically above the fixed base, the SLR camera facing the entire tray field of view; completely covering the SLR camera and the tray with a screen, the screen being an opaque screen; placing a light source in the screen, the light source including a natural light LED lamp and a 310nm to 405nm wavelength ultraviolet lamp; the light source is vertically irradiated on the standard sample by a surround lens.

4. The method for observing and identifying rock cuttings features according to claim 3, characterized in that: The shooting parameters of the SLR camera are: select manual exposure mode for light, select 1 / 125 second for shutter, select f8 for aperture, select ISO16000 for sensitivity, select color temperature mode for white balance, select local metering mode for metering mode, select 0 for exposure, select Large Fine Jpeg for photo quality, select single shot mode for photo mode, select single shot autofocus for autofocus, and select 1920*1080 for photo quality.

5. The method for observing and identifying rock cuttings characteristics according to claim 4, characterized in that: The white light image is an image taken by a SLR camera under the illumination of a natural light LED lamp, and the purple light image is an image taken by a SLR camera under the illumination of a purple light lamp.

6. The method for observing and identifying rock cuttings characteristics according to claim 5, characterized in that: The step of calculating the rock cuttings particle size in the white light image comprises: Step a1: grayscale the white light image to obtain a grayscale image; Step a2: Gaussian filtering and smoothing the grayscale image; Step a3: extracting the outline of rock cuttings particles in the grayscale image using an edge detection algorithm; Step a4: Calculate the equivalent diameter corresponding to each rock cutting particle outline; use the equivalent diameter corresponding to each rock cutting particle outline as the size of the rock cutting particle corresponding to each rock cutting particle outline.

7. A method for observing and identifying rock cuttings features according to claim 6, characterized in that: The method for calculating the equivalent diameter corresponding to each rock cutting particle profile comprises: Count the number of pixels and the number of rock cuttings particle contours corresponding to each rock cuttings particle contour; Calculate the contour area corresponding to each rock cutting particle contour; Calculate the equivalent diameter corresponding to each rock cutting particle contour according to the contour area corresponding to each rock cutting particle contour; The calculation method of contour area includes: Where, LM i is the contour area of ​​the i-th rock particle contour, XS i is the number of pixels of the i-th rock particle contour, XM is the area of ​​a pixel, ω is the scaling factor, i∈[1,N], N is the number of rock particle contours; The area of ​​a pixel is obtained by the resolution of the white light image, and the resolution of the white light image is obtained by the properties of the white light image; The calculation method of equivalent diameter includes: Where D i is the equivalent diameter corresponding to the i-th rock particle contour, and π is the pi.