Tobacco leaf high-quality laser slitting method based on X-ray perspective
Through the high-quality laser slitting method of tobacco leaves based on X-ray fluorescence, the problem of inaccurate separation of tobacco pieces from tobacco stems and leaf veins in the prior art is solved, efficient and accurate cutting of tobacco leaves is achieved, and the yield rate of tobacco leaves and the stability of the formula is improved.
Patent Information
- Application Number
- CN202410822378.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2025-04-18
AI Technical Summary
The existing tobacco leaf processing technology is difficult to achieve accurate separation of tobacco leaf slices from tobacco stems and leaf veins, resulting in leaf veins mixed in tobacco leaf slices and residual tobacco leaf slices on the tobacco stems, affecting the yield of tobacco leaves and the stability of the formula.
The high-quality laser slitting method of tobacco leaves based on X-ray perspective is adopted to obtain the image of tobacco leaves through an X-ray machine, and the computer performs image processing and slicing scheme generation. The laser cutting machine accurately cuts the tobacco leaves according to the slicing scheme to achieve accurate separation of the tobacco leaf slices and stems and veins.
The accurate separation of tobacco sheets from tobacco stems and leaf veins is achieved, the yield of tobacco leaves is improved, waste is reduced, and the size consistency of tobacco sheets and the stability of the formula is ensured.
Smart Images

Figure CN119837288A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of high-quality tobacco leaf processing, and in particular to a high-quality tobacco leaf laser cutting method based on X-ray perspective. Background Art
[0002] The existing redrying processing technology for tobacco leaves is to first subject the purchased tobacco leaves to vacuum moisture conditioning → laying and cutting → moistening → threshing → air separation → tobacco sheets redrying → finished product packaging; in particular, the leaf threshing is to break the leaf blades to achieve physical separation of stems and leaves. Leaf threshing is a mechanical process that inevitably breaks some leaf veins, causing the leaf veins and some tobacco sheets to fall off together. The subsequent air separation is also difficult to achieve complete separation of stems and leaves. Some leaf veins will be mixed in the tobacco sheets, and it is inevitable that some tobacco sheets that have not been threshed and separated will be on the tobacco stems. While some tobacco sheets are lost, some leaf veins in the tobacco sheets will not be removed cleanly, and the stem content rate will not be accurately controlled during the formulation, which will affect the stability of the formulation later.
[0003] With the popularity of medium and slim cigarettes, the size of tobacco stems in tobacco leaves is required to be further reduced to prevent the tobacco stems from piercing the cigarette paper. The length of tobacco shreds is also required to be further shortened to avoid hollow sections in cigarettes. Therefore, indicators are also required for the size of threshed tobacco leaves. The existing threshing process cannot directly control the size of tobacco leaves. The beaten leaves are large and small mixed together, which can only be achieved through subsequent sorting, and cannot meet customers' requirements for leaf size consistency.
[0004] Therefore, in order to accurately control the stem content in tobacco leaves and accurately control the high-quality formula, it is necessary to adjust the existing tobacco leaf cutting and threshing process to achieve accurate separation of tobacco leaves, stems and veins, improve the yield of tobacco leaves, and reduce waste. It is necessary to improve the existing threshing process to adapt to new social needs. Summary of the invention
[0005] The purpose of the present invention is to solve the above problems and provide a high-quality laser cutting method for tobacco leaves based on X-ray perspective.
[0006] The technical solution of the present invention is: a high-quality laser cutting method for tobacco leaves based on X-ray perspective, comprising the following steps:
[0007] a. Flattening of tobacco leaves
[0008] Before and after the initial baking of tobacco leaves, the tobacco leaves are flattened; after flattening, wrinkles are reduced, and images can be obtained more accurately during X-ray shooting;
[0009] b. In the redrying factory or other tobacco processing units, a combination of an X-ray machine and a laser cutting machine is established. The combined equipment is controlled by a computer, and at least an image processing module and a cutting plan generation module are set in the computer; the acquired image is efficiently processed and calculated by the computer to quickly form a cutting plan, and at the same time, the laser cutting machine is controlled to cut the tobacco leaves. The overall cutting speed is fast, the efficiency is high, the accuracy is good, the tobacco leaf yield is high, and the waste is small.
[0010] cX-ray fluoroscopy to obtain images
[0011] After the tobacco leaves are sent to the redrying factory or other tobacco processing units after step a, the single tobacco leaves are transported to the X-ray machine, the tobacco leaves are photographed to obtain the original image, the original image is transmitted to the computer, and then the single tobacco leaves are transported to the laser cutting machine;
[0012] d. Image processing
[0013] The image processing module in the computer processes the original image obtained by X-ray fluoroscopy to form a segmentation basis image containing at least the main vein and the outline of the tobacco leaf; the image can be used to calculate the overall stem content of the tobacco leaf.
[0014] e. Form a segmentation plan based on the segmentation image
[0015] A segmentation scheme generating module is obtained in the computer, and a segmentation scheme is formed according to the input parameters and the segmentation basis image;
[0016] f. The computer sends the cutting plan to the laser cutting machine to cut the tobacco leaves photographed in step d;
[0017] g. Separation of stems and leaves
[0018] The cut tobacco leaves are separated into stems and leaves by a separation device to complete the cutting; the stems and leaves can be separated by special equipment, by screening, or by air separation in the existing process.
[0019] There is no particular order between step b and step a.
[0020] Preferably, between steps a and b, there is a flattening control step during the transportation of tobacco leaves. After step a, the tobacco leaves are flattened by a stacking and pressing tool and transported to a redrying factory or other tobacco processing unit. The flattening control requires maintaining the flattened state of the tobacco leaves during transportation to avoid deformation and wrinkles of the tobacco leaves during transportation, which may affect the subsequent X-ray fluoroscopy and the accuracy of the acquired image.
[0021] Preferably, the step c obtains an original image of tobacco leaves, which includes the background and tobacco leaves.
[0022] Preferably, the image processing step in step d includes the following sub-steps:
[0023] d1. Eliminate the background gray value to obtain a gray image of the tobacco leaf;
[0024] d2. Binarizing the grayscale image of the tobacco leaf to obtain a binary tobacco leaf contour image; d3. Calculating and processing the grayscale image of the tobacco leaf to obtain a leaf vein image;
[0025] d4. Processing the vein image to obtain the main vein image of the tobacco leaf;
[0026] d5. Perform expansion processing on the main vein image to obtain an expanded main vein image;
[0027] d6. At least merge the expanded main vein image in step d5 with the tobacco leaf contour image in step d2 to obtain a segmentation basis image.
[0028] Preferably, the computer is further provided with a main vein diameter calculation module, which calculates the main vein diameter according to the expanded main vein image after step d5 to form a distribution graph of the main vein diameter;
[0029] Specifically, the minimum and maximum values of the pixel coordinates of the y-axis of the expanded main vein are counted. Let n be the number of y-coordinate values from the minimum to the maximum with a step length of 1. Starting from the minimum y value, the step length is 1 and the cycle is repeated to find the corresponding x value for each y value. The diameter of the tobacco stem is: D i =max(x i )-min(x i ). This is consistent with the algorithm that takes the center line of the main vein of the tobacco leaf as the center of the circle and the diameter of the maximum circumscribed circle of the contour as the diameter of the tobacco stem, but the calculation is very simple and fast compared to the former.
[0030] The input parameters in step e at least include the stem content, tobacco leaf size, and slicing position required by the customer; the main vein diameter distribution graph, tobacco leaf contour image, and stem content are combined to generate a main vein cutting contour graph; according to the tobacco leaf contour image, the main vein cutting contour graph, tobacco leaf size, and slicing position, a leaf segmentation graph is generated; the main vein cutting contour graph and the leaf segmentation graph are combined into a segmentation scheme graph,
[0031] In the step f, the graphic of the cutting scheme is sent to a laser cutting machine to cut the tobacco leaves, separate the main vein from the leaf blade, and cut the leaf blade at the same time without cutting the main vein.
[0032] Preferably, in the sub-step d2, binarization is performed by an imbinarize(I) operator, reference objects and background noise are removed by a bwareaopen(I, M) operator, and holes in the grayscale image are filled by an imfill(I, 'holes') operator, thereby obtaining a binary tobacco leaf contour image;
[0033] In the sub-step d3, the grayscale image is obtained by setting the threshold K through the imbinarize(I, K) operator to obtain the leaf vein image.
[0034] In the sub-step d4, since the tobacco leaves are placed regularly, generally the main vein is placed substantially perpendicular to the direction of travel of the conveying device, the minimum and maximum values of the pixel coordinates of the x-axis of the leaf vein image are counted, and n is set as the number of x-coordinate values from the minimum to the maximum with a step length of 1, and then the following code is used to calculate and obtain the main vein of the tobacco leaf,
[0035]
[0036]
[0037] Preferably, the blade segmentation pattern adopts a polygon array pattern connected in sequence. There is no contradiction between the blade segmentation pattern here and the previous tobacco sheet size. The tobacco sheet size index is used to control the overall size of the slice segmentation pattern, and further control the length of the shredded strips in the later stage. The blade segmentation pattern refers to the specific shape of the cut tobacco sheet.
[0038] Preferably, the leaf segmentation pattern adopts a honeycomb regular hexagon. Such a segmentation pattern has less breakage and a high utilization rate of tobacco leaves. At the same time, in the subsequent processes, due to the regular hexagonal shape of the tobacco leaves, the six corners are obtuse, and the corners are not easy to break during transportation and tumbling, which is also helpful to reduce the breakage during the process. The regular hexagonal cutting scheme has the same shape of each piece, the yield of tobacco leaves is high, the waste is small, and the silk formation rate is also high.
[0039] The beneficial effects of the present invention are:
[0040] The high-quality laser cutting method for tobacco leaves based on X-ray perspective of the present invention organically combines the X-ray perspective imaging principle with laser cutting. The basic structural conditions of the tobacco leaves are first acquired through X-ray perspective equipment, and then the image is analyzed and processed by a computer to form digital overall structural information of the tobacco leaves. Input parameters are formed according to customer customization requirements, and after input into the computer, a cutting graph is formed in combination with the overall structural information of the tobacco leaves. The laser cutting machine accurately cuts the tobacco leaves according to the cutting graph data sent by the computer, and can accurately control the stem diameter, stem content, size and grade quality of the tobacco leaves after cutting, thereby laying an accurate and reliable foundation for realizing the modulation of high-quality formulas.
[0041] The above input parameters mainly involve parameters such as stem content, tobacco sheet size, and cutting position, so as to meet the needs of different customers. For customers demanding medium and thin cigarettes, the stem content can be reduced, and the stem size can be controlled to a smaller size, thereby solving the problem of puncturing cigarette paper during the rolling process of medium and thin cigarettes. The tobacco sheets are cut into small pieces at the same time, and can all be formed into medium or small pieces. There is no need to sort the tobacco sheets again, thus reducing the process links. In this way, all of them are medium or small pieces, thus preventing the appearance of long filaments when cutting into strips later, and avoiding the problem of hollow thin cigarettes.
[0042] In addition, the cutting method can achieve accurate separation between tobacco leaves and stems, avoiding the problem of some tobacco leaves remaining on the stems during mechanical leaf beating in the prior art, thereby improving the yield of tobacco leaves and reducing waste. At the same time, the modified cutting scheme largely eliminates mechanical crushing and also improves the yield of tobacco leaves.
[0043] For some high-end cigarettes, it is possible to require cutting only a certain part of the tobacco leaves, to achieve cutting at a designated position, to extract high-end tobacco leaves from low-end tobacco leaves, to solve the problem of insufficient high-end tobacco leaves, to increase the added value of tobacco leaves, and to increase corporate profits.
[0044] Laser cutting can significantly reduce the production energy consumption of leaf threshing and re-drying enterprises and reduce many process steps, such as real-time detection of stem content, real-time monitoring of the statistical distribution of leaf size, process control of crushing rate during production, etc. At the same time, it can reduce the corresponding equipment and labor input, which can significantly reduce its production costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a grayscale image after processing the original image obtained by X-ray fluoroscopy;
[0046] Figure 2 It is an image of the outline of a tobacco leaf;
[0047] Figure 3 It is a leaf vein image;
[0048] Figure 4 It is the main vein image
[0049] Figure 5 It is the image of the dilated main vein;
[0050] Figure 6 To segment based on the image;
[0051] Figure 7 is a graph of the segmentation scheme,
[0052] Figure 8 This is the calculated main vein diameter graph;
[0053] Fig. 9Schematic diagram of the combined equipment of X-ray machine and laser cutting machine
[0054] In the picture: 1. Tobacco leaves, 2. Conveying equipment, 3. X-ray equipment, 4. Laser cutting machine, 5. Computer. DETAILED DESCRIPTION
[0055] Example: See Figure 1-9 , a high-quality laser cutting method for tobacco leaves based on X-ray perspective, comprising the following steps:
[0056] a. Flattening of tobacco leaves
[0057] Before and after the initial baking of tobacco leaves, the tobacco leaves are flattened; after flattening, wrinkles are reduced, and images can be obtained more accurately during X-ray shooting;
[0058] b. In the redrying factory or other tobacco processing units, a combination of an X-ray machine and a laser cutting machine is established. The combined equipment is controlled by a computer, and at least an image processing module and a cutting plan generation module are set in the computer; the computer performs efficient processing and calculation on the acquired image to quickly form a cutting plan, and at the same time controls the laser cutting machine to cut the tobacco leaves. The overall cutting speed is fast, the efficiency is high, and the accuracy is good. See Fig. 9 .
[0059] cX-ray fluoroscopy to obtain images
[0060] After the tobacco leaves are sent to the redrying factory or other tobacco processing units after step a, the single tobacco leaves are transported to the X-ray machine, the tobacco leaves are photographed to obtain the original image, the original image is transmitted to the computer, and then the single tobacco leaves are transported to the laser cutting machine;
[0061] d. Image processing
[0062] The image processing module in the computer processes the original image obtained by X-ray fluoroscopy to form a segmentation basis image containing at least the main vein and the outline of the tobacco leaf; the image can be used to calculate the overall stem content of the tobacco leaf.
[0063] e. Form a segmentation plan based on the segmentation image
[0064] A segmentation scheme generating module is obtained in the computer, and a segmentation scheme is formed according to the input parameters and the segmentation basis image;
[0065] f. The computer sends the cutting plan to the laser cutting machine to cut the tobacco leaves photographed in step d, preferably using ultraviolet laser for cutting, and the cutting temperature does not exceed 40°C to avoid the cutting edge being carbonized by the high temperature laser, which affects the smoking taste of the tobacco leaves;
[0066] g. Separation of stems and leaves
[0067] The cut tobacco leaves are separated into stems and leaves by a separation device to complete the cutting; the stems and leaves can be separated by special equipment, by screening, or by air separation in the existing process.
[0068] There is no particular order between step b and step a.
[0069] Preferably, between steps a and b, there is a flattening control step during the transportation of tobacco leaves. After step a, the tobacco leaves are flattened by a stacking and pressing tool and transported to a redrying factory or other tobacco processing unit. The flattening control requires maintaining the flattened state of the tobacco leaves during transportation to avoid deformation and wrinkles of the tobacco leaves during transportation, which may affect the subsequent X-ray fluoroscopy and the accuracy of the acquired image.
[0070] The step c obtains the original image of the tobacco leaves. The image includes the background and the tobacco leaves. Preferably, the image processing step of the step d includes the following sub-steps:
[0071] d1. Eliminate the background gray value to obtain the gray image of the tobacco leaf, such as Figure 1 As shown;
[0072] d2. Binarize the grayscale image of tobacco leaves to obtain a binary tobacco leaf contour image, such as Figure 2 As shown;
[0073] d3. Process the grayscale image of tobacco leaves to obtain leaf vein images, such as Figure 3 As shown;
[0074] d4. Process the leaf vein image to obtain the main vein image of the tobacco leaf, such as Figure 4 As shown;
[0075] d5. Perform expansion processing on the main vein image to obtain an expanded main vein image, such as Figure 5 As shown;
[0076] d6. At least merge the expanded main vein image in step d5 with the tobacco leaf contour image in step d2, such as Figure 6 As shown, the segmentation basis image is obtained.
[0077] The computer is also provided with a main vein diameter calculation module, which calculates the main vein diameter according to the expanded main vein image after step d5 to form a distribution graph of the main vein diameter, such as Figure 8 As shown;
[0078] Specifically, the minimum and maximum values of the pixel coordinates of the y-axis of the expanded main vein are counted. Let n be the number of y-coordinate values from the minimum to the maximum with a step length of 1. Starting from the minimum y value, the step length is 1 and the cycle is repeated to find the corresponding x value for each y value. The diameter of the tobacco stem is: Di =max(x i )-min(x i ). This is consistent with the algorithm that takes the center line of the main vein of the tobacco leaf as the center of the circle and the diameter of the maximum circumscribed circle of the contour as the diameter of the tobacco stem, but the calculation is very simple and fast compared to the former.
[0079] The input parameters in step e at least include the stem content, tobacco leaf size, and slicing position required by the customer; the input parameters are combined with the distribution graph of the main vein diameter, the tobacco leaf contour image, and the stem content to calculate and generate the main vein cutting contour graph; according to the tobacco leaf contour image, the main vein cutting contour graph, the tobacco leaf size, and the slicing position, a leaf segmentation graph is generated; the main vein cutting contour graph and the leaf segmentation graph are combined into a segmentation scheme graph, such as Figure 8 As shown, of course, in this step, the input parameter of the maximum stem diameter can also be added and taken into account as an independent variable when generating the main vein cutting contour figure and the leaf segmentation figure.
[0080] In the step f, the graphic of the cutting scheme is sent to a laser cutting machine to cut the tobacco leaves, separate the main vein from the leaf blade, and cut the leaf blade at the same time without cutting the main vein.
[0081] In the sub-step d2, binarization is performed by the imbinarize(I) operator, the reference object and background noise are removed by the bwareaopen(I, M) operator, and the holes in the grayscale image are filled by the imfill(I, 'holes') operator, thereby obtaining a binary tobacco leaf contour image;
[0082] In the sub-step d3, the grayscale image is obtained by setting the threshold K through the imbinarize(I, K) operator to obtain the leaf vein image.
[0083] In the sub-step d4, since the tobacco leaves are placed regularly, generally the main vein is placed substantially perpendicular to the direction of travel of the conveying device, the minimum and maximum values of the pixel coordinates of the x-axis of the leaf vein image are counted, and n is set as the number of x-coordinate values from the minimum to the maximum with a step length of 1, and then the following code is used to calculate and obtain the main vein of the tobacco leaf,
[0084]
[0085]
[0086] The blade segmentation pattern adopts a polygon array pattern connected in sequence.
[0087] The blade segmentation pattern adopts a honeycomb regular hexagon. Such a segmentation pattern has less breakage and a high utilization rate of the tobacco slices. At the same time, in the subsequent processes, due to the regular hexagonal shape of the tobacco slices, the six corners are obtuse angles, and the corners are not easy to break during transportation and tumbling, which is also helpful to reduce the breakage during the process, and the silk formation rate is also high.
[0088] In this embodiment, the input parameters such as stem content, maximum stem diameter, tobacco slice size, and slicing position are set according to customer needs, which is very flexible.
[0089] The slicing position can specify a certain position of a tobacco leaf. For example, if you only want the middle part of the tobacco leaf, only the middle part of the tobacco leaf will be sliced, which can more accurately control the stability of the tobacco leaf quality.
[0090] The size of the tobacco slices can specify the maximum size of the slices of different shapes, thereby controlling the length of the slices.
[0091] The setting of the stem content rate can be converted into the segmentation outline of the main vein through calculation, so as to accurately control the amount of stems cut off.
[0092] In this way, no matter what quality of cigarettes is required, it can meet the demand and ensure the accuracy and stability of the quality of the cut tobacco leaves. This is a revolutionary update and a subversive breakthrough for the existing leaf threshing process.
[0093] In the slitting method, before executing step c, 30-50 sheets of a batch of tobacco leaves arriving at the factory can be extracted first, the tobacco stems can be manually peeled off from the tobacco leaves, the tobacco stems and the tobacco leaves peeled off the tobacco stems are weighed separately, and then sent to an X-ray machine to take sampling images respectively. Combined with their respective sampling images and weights, the mass attenuation coefficient of the tobacco stems and tobacco leaves is calculated, and the mass attenuation coefficient is used to mark the characteristics of the batch of tobacco leaves.
[0094] In this way, during the execution of step c and subsequent steps, when the batch of tobacco leaves is formally cut, the weight of the stems and the weight of the tobacco leaves in each tobacco leaf and the total weight can be calculated separately based on the two mass attenuation coefficients. Then, after the input parameters of the stem content are set, the stem content in the cutting plan (which can be converted into weight and further converted into a cutting contour graphic of the main vein) can be directly and accurately controlled based on these weight values.
[0095] The detailed process is as follows:
[0096] 1. Beer’s Law:
[0097] I=I 0 exp(-μx)--------1,
[0098] μ is the linear attenuation coefficient, x is the material thickness, I 0is the energy emitted by the X-ray source, and I is the energy received by the detector after the X-ray passes through the material being measured.
[0099] μ m =μ / ρ--------2,
[0100] μ m is the mass attenuation coefficient, and ρ is the material density.
[0101] μx=μ m ρx=μ m m--------3,
[0102] m is the mass of the material, because m=sxρ, s is the unit area, here is a pixel, that is, s is equal to 1.
[0103] Then we have:
[0104] I=I 0 exp(-μ m m)--------4;
[0105]
[0106]
[0107] 2. Calculate the mass attenuation coefficient
[0108] From formula 1-6, we can get:
[0109]
[0110] μ m-g is the mass attenuation coefficient of tobacco stem, M g Tobacco stem sample weight;
[0111]
[0112] μ m-p is the mass attenuation coefficient of the tobacco sheet, M p Weight of tobacco sample;
[0113] 30-50 pre-cut tobacco leaves were used to manually separate the tobacco stems and tobacco flakes, and the weights were measured by X-ray detectors to obtain the I 0 ,I m-g ,I m-p , then the mass attenuation coefficient μ of the tobacco stems of this batch of tobacco leaves can be calculated m-g and the mass attenuation coefficient μ of the tobacco sheet m-p .
[0114] 3. Tobacco leaf stem content
[0115] From formula 1-5, we can get:
[0116]
[0117] μ m-g is the mass attenuation coefficient of tobacco stem, M g Tobacco stem sample weight;
[0118]
[0119] μ m-p is the mass attenuation coefficient of the tobacco sheet, M p Weight of tobacco sample.
[0120] The formula for stem content is
[0121] δ=M g ×100% / M y ----11
[0122] δ is the total stem content of tobacco leaves, M g Total terrier weight, M y Sample tobacco leaf weight.
Claims
1. A high-quality laser cutting method for tobacco leaves based on X-ray perspective, comprising the following steps: a. Flattening of tobacco leaves Before and after the initial baking of tobacco leaves, the tobacco leaves are flattened; b. In a redrying factory or other tobacco processing unit, a combined device of an X-ray machine and a laser cutting machine is established, the combined device is controlled by a computer, and at least an image processing module and a cutting scheme generation module are set in the computer; cX-ray fluoroscopy to obtain images After the tobacco leaves are sent to the redrying factory or other tobacco processing units after step a, the single tobacco leaves are transported to the X-ray machine, the tobacco leaves are photographed to obtain the original image, the original image is transmitted to the computer, and then the single tobacco leaves are transported to the laser cutting machine; d. Image processing The image processing module in the computer processes the original image obtained by X-ray fluoroscopy to form a segmentation basis image containing at least the main vein and the outline of the tobacco leaf; e. Form a segmentation plan based on the segmentation image A segmentation scheme generating module is obtained in the computer, and a segmentation scheme is formed according to the input parameters and the segmentation basis image; f. The computer sends the cutting plan to the laser cutting machine to cut the tobacco leaves photographed in step d; g. Separation of stems and leaves The cut tobacco leaves are separated into stems and leaves by a separation device to complete the cutting; There is no particular order between step b and step a.
2. The high-quality laser cutting method for tobacco leaves based on X-ray perspective according to claim 1 is characterized in that: Between the steps a and b, there is also a flattening control step during tobacco leaf transportation. After step a, the tobacco leaves are flattened and controlled by a stacking and pressing tool and transported to a redrying factory or other tobacco processing units.
3. The high-quality laser cutting method for tobacco leaves based on X-ray perspective according to claim 1 is characterized in that: The step c obtains the original image of the tobacco leaf.
4. The high-quality laser cutting method for tobacco leaves based on X-ray perspective according to claim 3 is characterized in that: The image processing step of step d includes the following sub-steps: d1. Eliminate the background gray value to obtain a gray image of the tobacco leaf; d2. Binarizing the grayscale image of the tobacco leaf to obtain a binary tobacco leaf contour image; d3. Processing the grayscale image of tobacco leaves to obtain a vein image; d4. Processing the vein image to obtain the main vein image of the tobacco leaf; d5. Perform expansion processing on the main vein image to obtain an expanded main vein image; d6. At least merge the expanded main vein image in step d5 with the tobacco leaf contour image in step d2 to obtain a segmentation basis image.
5. The high-quality tobacco leaf laser cutting method based on X-ray perspective according to claim 4 is characterized in that: The computer is also provided with a main vein diameter calculation module, which calculates the main vein diameter according to the expanded main vein image after step d5 to form a distribution graph of the main vein diameter. The input parameters in step e at least include the stem content, tobacco leaf size, and slicing position required by the customer; the input parameters are combined with the distribution graph of the main vein diameter, the tobacco leaf contour image, and the stem content to calculate and generate the main vein cutting contour graph; according to the tobacco leaf contour image, the main vein cutting contour graph, the tobacco leaf size, and the slicing position, a leaf segmentation graph is generated; the main vein cutting contour graph and the leaf segmentation graph are combined into a graph of the segmentation scheme, In the step f, the graphic of the cutting scheme is sent to a laser cutting machine to cut the tobacco leaves, separate the main vein from the leaf blade, and cut the leaf blade at the same time without cutting the main vein.
6. The high-quality laser cutting method for tobacco leaves based on X-ray perspective according to claim 4, characterized in that: In the sub-step d2, binarization is performed by the imbinarize(I) operator, the reference object and background noise are removed by the bwareaopen(I, M) operator, and the holes in the grayscale image are filled by the imfill(I, 'holes') operator, thereby obtaining a binary tobacco leaf contour image; In the sub-step d3, the grayscale image is obtained by setting the threshold K through the imbinarize(I, K) operator to obtain the leaf vein image. In the sub-step d4, since the tobacco leaves are placed regularly, generally the main vein is placed substantially perpendicular to the direction of travel of the conveying device, the minimum and maximum values of the pixel coordinates of the x-axis of the leaf vein image are counted, and n is set as the number of x-coordinate values from the minimum to the maximum with a step length of 1, and then the following code is used to calculate and obtain the main vein of the tobacco leaf, 7. The high-quality laser cutting method for tobacco leaves based on X-ray perspective according to claim 1, characterized in that: The blade segmentation pattern adopts a polygon array pattern connected in sequence.
8. The high-quality laser cutting method for tobacco leaves based on X-ray perspective according to claim 7, characterized in that: The blade segmentation pattern adopts a honeycomb-shaped regular hexagon.