CN117437310A - Image compression method for organ-like culture - Google Patents

Image compression method for organ-like culture Download PDF

Info

Publication number
CN117437310A
CN117437310A CN202311763922.3A CN202311763922A CN117437310A CN 117437310 A CN117437310 A CN 117437310A CN 202311763922 A CN202311763922 A CN 202311763922A CN 117437310 A CN117437310 A CN 117437310A
Authority
CN
China
Prior art keywords
gray
post
encoded
sequence
value
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.)
Granted
Application number
CN202311763922.3A
Other languages
Chinese (zh)
Other versions
CN117437310B (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.)
5th Central Hospital Of Tianjin
Original Assignee
5th Central Hospital Of Tianjin
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 5th Central Hospital Of Tianjin filed Critical 5th Central Hospital Of Tianjin
Priority to CN202311763922.3A priority Critical patent/CN117437310B/en
Publication of CN117437310A publication Critical patent/CN117437310A/en
Application granted granted Critical
Publication of CN117437310B publication Critical patent/CN117437310B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Abstract

The invention relates to the technical field of image communication, in particular to an organ-like culture image compression method, which comprises the following steps: obtaining the average coding length corresponding to the pixel points in the organoid culture image under different post-gray coding lengths according to the gray level co-occurrence matrix of the organoid culture image, screening the optimal post-gray coding length, obtaining a post-gray sequence of each gray level according to the optimal post-gray coding length and the gray level co-occurrence matrix, setting identification codes according to the optimal post-gray coding length, distributing code words for each post-gray value in the post-gray sequence of the gray level, sequentially obtaining the codes of each element in the gray sequence to be coded converted by the organoid culture image according to the identification codes and the code words of each post-gray value in the post-gray sequence of the gray level, and further obtaining compression results; and transmitting and decompressing the compression result. The invention has high image compression efficiency on the organoid culture and ensures the real-time performance of organoid culture monitoring.

Description

Image compression method for organ-like culture
Technical Field
The invention relates to the technical field of image communication, in particular to an organ-like culture image compression method.
Background
Organoids are 3D cultured in vitro using adult stem cells or pluripotent stem cells, which mimic the three-dimensional structure of organs or tissues in vivo in normal or disease states in vitro. Organoids bring new research perspectives to fields such as tumor research, drug screening, regenerative medicine and the like.
The monitoring of the progress of the organoid culture needs to acquire images in the organoid culture process in real time, and the images are transmitted to a culture progress monitoring server for display, so that the image in the organoid culture process needs to be compressed and transmitted in order to ensure the instantaneity of the organoid culture progress monitoring.
The existing compression algorithm such as run length coding has high compression rate on continuously repeated data, and the images in the organoid culture process contain more cell textures, so that the probability of continuously repeated gray values in the images is small, and the real-time performance of organoid culture monitoring is affected because a good compression effect is difficult to obtain by using the run length coding.
Disclosure of Invention
In order to solve the above problems, the present invention provides an organoid culture image compression method comprising the steps of:
collecting an organoid culture image;
setting a plurality of different post gray scale code lengths; acquiring a gray level co-occurrence matrix of the organoid culture image; for each rear gray scale coding length, acquiring the average coding length corresponding to the pixel point in the organoid culture image under the rear gray scale coding length according to the gray scale co-occurrence matrix; determining the postgray scale code length with the minimum average code length as the optimal postgray scale code length;
acquiring all the rear gray values of each gray value in the organoid culture image according to the optimal rear gray coding length and the gray co-occurrence matrix to form a rear gray sequence of each gray value; setting identification codes according to the optimal postgray code length, and distributing code words for each postgray value in a postgray sequence of gray values;
converting the organoid culture image into a gray level sequence to be encoded, sequentially obtaining the codes of each element in the gray level sequence to be encoded according to the identification codes and the code words of each rear gray level value in the rear gray level sequence of the gray level value, and obtaining compression results according to the codes of all elements in the gray level sequence to be encoded;
and transmitting and decompressing the compression result.
Preferably, the setting a plurality of different post gray scale code lengths includes the following specific steps:
and taking each integer in the [1,7] as a post gray scale coding length respectively.
Preferably, the obtaining the average coding length of the pixel points in the organoid culture image corresponding to the post gray coding length according to the gray co-occurrence matrix includes the following specific steps:
all elements of each row of the gray level co-occurrence matrix are sequenced according to the sequence from the large element value to the small element value to form a frequency sequence of the row;
for each post-gray scale coding length, acquiring the average coding length of pixel points in the organoid culture image corresponding to the post-gray scale coding length according to the frequency sequence of each line of the gray scale co-occurrence matrix:
wherein,representing the length of the post gray scale coding of the pixel points in the organoid culture image +.>The corresponding average code length is down; />Post-representationA value of a gray scale encoding length; />Representing the +.>Frequency sequence of rows +.>A frequency; />Representing the number of all the different gray values present in the organoid culture image.
Preferably, the obtaining all the post-gray values of each gray value in the organoid culture image according to the optimal post-gray coding length and the gray co-occurrence matrix to form a post-gray sequence of each gray value comprises the following specific steps:
acquiring the front in the frequency sequence of each line of the gray level co-occurrence matrixGray values corresponding to columns with frequencies in the gray level co-occurrence matrix are respectively used as the post gray values of the gray values corresponding to the rows, wherein +.>Representing the optimal post gray scale coding length;
for each gray value in the organoid culture image, all the subsequent gray values of the gray value are formed into a subsequent gray sequence of the gray values in order from small to large.
Preferably, the setting of the identification code according to the optimal post-gray code length, and simultaneously, assigning a codeword to each post-gray value in the post-gray sequence of gray values, includes the following specific steps:
for each gray value in the organoid culture image, a length ofAll binary numbers to be>Binary numbers consisting of 0 are used as identification codes, and each of the other binary numbers is +.>The binary number of each subsequent gray value in the sequence of subsequent gray values is used as a codeword for the gray value, wherein +.>Representing the optimal post gray scale code length.
Preferably, the step of sequentially obtaining the codes of each element in the gray sequence to be coded according to the identification codes and the code words of each rear gray value in the rear gray sequence of gray values includes the following specific steps:
each element in the gray sequence to be encoded is respectively used as an element to be encoded, and the elements to be encoded are sequentially encoded, specifically:
when the element to be encoded is the first element in the gray level sequence to be encoded, converting the element to be encoded into 8-bit binary numbers to be used as the encoding of the element to be encoded;
when the element to be encoded is not the first element in the gray level sequence to be encoded, if the element to be encoded is located in the rear gray level sequence of the previous gray level value of the element to be encoded in the gray level sequence to be encoded, taking the codeword of the corresponding rear gray level value of the element to be encoded in the rear gray level sequence of the previous gray level value as the code of the element to be encoded;
when the element to be encoded is not the first element in the gray level sequence to be encoded, if the element to be encoded is not in the post gray level sequence of the gray level value of the previous element to be encoded in the gray level sequence to be encoded, the element to be encoded is converted into 8-bit binary numbers, and the 8-bit binary numbers are spliced after identification encoding to be used as the encoding of the element to be encoded.
The technical scheme of the invention has the beneficial effects that: according to the method, the average coding length of the pixel points in the organoid culture image under different post-gray coding lengths is obtained according to the gray level co-occurrence matrix of the organoid culture image, so that the optimal post-gray coding length is screened, the post-gray level sequence of each gray level value is obtained according to the optimal post-gray coding length and the gray level co-occurrence matrix, the identification code is set according to the optimal post-gray coding length, meanwhile, a code word is allocated to each post-gray level value in the post-gray level sequence of the gray level value, the code word of each element in the gray level sequence to be coded converted by the organoid culture image is sequentially obtained according to the identification code and the code word of each post-gray level value in the post-gray level sequence of the gray level value, and then a compression result is obtained, so that the coding length of gray level values of most of the pixel points in the organoid culture image is reduced from 8 bits to the optimal post-gray level coding length as far as possible, and therefore the compression efficiency of the organoid culture image is improved, and the instantaneity of organoid culture monitoring is improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart showing the steps of a method for compressing an image of an organoid culture according to the present invention.
Detailed Description
In order to further describe the technical means and effects adopted by the present invention to achieve the preset purposes, the following detailed description refers to specific embodiments, structures, features and effects of an organ-like culture image compression method according to the present invention with reference to the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" means that the embodiments are not necessarily the same. Furthermore, the particular features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
The following specifically describes a specific scheme of an image compression method for organ-like culture provided by the invention with reference to the accompanying drawings.
Referring to fig. 1, a flowchart illustrating steps of a method for compressing an organoid culture image according to an embodiment of the invention is shown, the method includes the steps of:
s001, collecting an organoid culture image.
Presetting shooting frequencyFor example +.>The number of times/minute is not particularly limited, and the practitioner may set the photographing frequency according to the specific implementation. Images during the organoid culture were photographed by a scanning electron microscope according to the photographing frequency, and recorded as organoid culture images. The organoid culture image obtained by the scanning electron microscope is a gray scale image.
Thus, the collection of the organoid culture image is realized.
S002, obtaining average coding lengths corresponding to pixel points in the organoid culture image under different post-gray scale coding lengths respectively, and screening the optimal post-gray scale coding length according to the average coding lengths.
It should be noted that the gray values in the organoid culture image are in the range of 0,255, and each gray value can be represented by an 8-bit binary number. The organoid culture image contains a large number of cell textures and has stronger regularity, so that part of different gray values always appear adjacently in the organoid culture image, therefore, the embodiment uses shorter codes for a plurality of gray values with highest occurrence frequency after each gray value, uses 8-bit binary for gray values with lower occurrence frequency after the gray values, determines the coding length of the gray values after each gray value according to the occurrence frequency sequence, and uses shorter codes for representing as many gray values as possible, thereby realizing compression. Since codes of different lengths are adopted, in order to ensure that decoding is possible, the present embodiment distinguishes between codes of different lengths by setting shorter identification codes. In this embodiment, the length of the shorter code is unified with the length of the identification code, and this length is called the post gray code length, and the specific acquisition method is as follows:
in this embodiment, each integer in [1,7] is used as a post-gray scale code length, respectively.
It should be noted that, the number of the gray values that can be encoded by different post-gray encoding lengths is different, for example, when the post-gray encoding length is 1, the corresponding binary numbers are 0 and 1, one of the binary numbers is used as the identification code, the remaining binary numbers can only encode 1 gray value at most, when the post-gray encoding length is 2, the corresponding binary numbers are 00, 01,10,11, one of the binary numbers is used as the identification code, and the remaining binary numbers can only encode 3 different gray values at most. When the length of the post-gray code is shorter, gray values with higher occurrence frequency after each gray value can be represented by using very short codes, so that the compression efficiency of the gray values is greatly improved compared with 8-bit binary numbers, but the shorter the post-gray code length is, the fewer the number of the gray values can be coded, so that more gray values after each gray value can only be coded by using 8-bit binary numbers; when the length of the post-gray code is longer, the number of the encodable gray values is larger, so that more gray values appearing after each gray value can be represented by codes with the length of the post-gray code length, thereby improving the compression efficiency of most gray values, but when the length of the gray code is longer, the smaller the degree of reduction of the encoding length of each gray value compared with 8-bit binary numbers is, the smaller the compression efficiency of each gray value is improved. Therefore, the compression efficiencies corresponding to different post-gray scale coding lengths are different, so that the embodiment analyzes the compression efficiencies corresponding to different post-gray scale coding lengths according to the distribution characteristics of gray scale values in the organoid culture image, and screens the optimal post-gray scale coding length to compress the organoid culture image.
Specifically, according to the horizontal direction, a gray level co-occurrence matrix of the organoid culture image is obtained by taking a step length as 1, the row index of the gray level co-occurrence matrix is all different gray level values appearing in the organoid culture image, the column index of the gray level co-occurrence matrix is also all different gray level values appearing in the organoid culture image, and the element of the gray level co-occurrence matrix is the frequency of the gray level value of the row where the element is located and the gray level value of the column appearing adjacent to each other in the horizontal direction in the organoid culture image. The method for obtaining the gray level co-occurrence matrix is a known technology and will not be described in detail herein.
And ordering all elements of each row of the gray level co-occurrence matrix according to the sequence of the element values from large to small to form a frequency sequence of the row.
For each post-gray scale coding length, acquiring the average coding length of pixel points in the organoid culture image corresponding to the post-gray scale coding length according to the frequency sequence of each line of the gray scale co-occurrence matrix:
wherein,representing the length of the post gray scale coding of the pixel points in the organoid culture image +.>The corresponding average code length is down; />A value representing a post-gray scale code length; />Representing the +.>Frequency sequence of rows +.>A frequency; />Representing the number of all different gray values appearing in the organoid culture image, namely the number of rows and columns of the gray co-occurrence matrix of the organoid culture image; />Representing the length of the post-gray code +.>Number of binary numbers corresponding, +.>Indicating the length of the post gray code except the logo code +.>Number of encodable gray values. For the gray level co-occurrence matrix +.>Gray value corresponding to row->For example, in organoid culture images, gray value +.>Front +.>Different gray values are selected, in relation to gray values +.>When adjacent in the horizontal direction, the available length is +.>Is encoded by binary numbers of ∈ ->Reflecting the gray value->Front +.>Different gray values are selected from gray values +.>The total frequency of adjacent occurrences in the horizontal direction; for the gray value +.>Front +.>The other gray values than the different gray value are equal to the gray value +.>When adjacent in the horizontal direction, it is necessary to use a length of +.>Is encoded by a binary number of length 8, is encoded by a logo code of +.>Reflecting the gray value->Front +.>Gray values other than the different gray values, and gray value +.>The total frequency of adjacent occurrences in the horizontal direction; thus->Representing the length of the post gray scale coding of the pixel points in the organoid culture image +.>The corresponding average code length is given as +.>The larger the pixel is, the more pixels are available +>Binary numbers of bits are encoded, and a post gray scale encoding length +.>The shorter the corresponding average code length.
And taking the postgray scale code length with the minimum average code length as the optimal postgray scale code length.
So far, the optimal post gray scale code length is obtained.
S003, compressing the organoid culture image according to the optimal postposition gray scale coding length to obtain a compression result.
Recording the optimal post gray scale code lengthAcquiring the front part in the frequency sequence of each line of the gray level co-occurrence matrixAnd respectively taking the gray values corresponding to the columns with frequencies in the gray level co-occurrence matrix as the post gray values of the gray values corresponding to the rows. Every gray value in the organoid culture image corresponds to +.>And a post gray value.
For each gray value in the organoid culture image, all the subsequent gray values of the gray value are formed into a subsequent gray sequence of the gray values in order from small to large. Acquisition length ofAll binary numbers to be>Binary numbers consisting of 0 are used as identification codes, and each of the other binary numbers is +.>The binary number of (c) is used as a codeword for each subsequent gray value in the sequence of subsequent gray values for that gray value. For example when->The length of the post-gray sequence for each gray value is +.>Length of->Where 00 is the identification code and 01,10,11 is the codeword of the three subsequent gray values in the subsequent gray sequence of the gray value for each gray value.
The size of the organoid culture image is noted asAnd (3) expanding the gray values of all pixel points in the organoid culture image into a one-dimensional sequence according to the ZigZag scanning order, and taking the one-dimensional sequence as a gray sequence to be encoded. Each element in the gray sequence to be encoded is respectively used as an element to be encoded, and the elements to be encoded are sequentially encoded, specifically:
when the element to be encoded is the first element in the gray level sequence to be encoded, converting the element to be encoded into 8-bit binary numbers to be used as the encoding of the element to be encoded;
when the element to be encoded is not the first element in the gray-level sequence to be encoded, if the element to be encoded is located in the post-gray-level sequence of the gray-level value (i.e., the previous element of the element to be encoded) before the element to be encoded in the gray-level sequence to be encoded, taking the codeword of the post-gray-level value corresponding to the element to be encoded in the post-gray-level sequence of the previous gray-level value as the encoding of the element to be encoded, for exampleWhen the value of the element to be encoded is 45 and the post gray level sequence of the previous gray level value of the element to be encoded in the gray level sequence to be encoded is {13,45,201}, the element to be encoded 45 is located in the post gray level sequence of the previous gray level value of the element to be encoded in the gray level sequence to be encoded, and then the encoding of the element to be encoded is 10;
when the element to be encoded is not the first element in the gray sequence to be encoded, if the element to be encoded is not in the post gray sequence of the gray value of the element to be encoded (i.e. the previous element of the element to be encoded) in the gray sequence to be encoded, the element to be encoded is converted into 8-bit binary numbers, and the 8-bit binary numbers are spliced after identification encoding to be used as the encoding of the element to be encoded. For exampleWhen the value of the element to be encoded is 45 and the subsequent gray level sequence of the previous gray level value of the element to be encoded in the gray level sequence to be encoded is {13,1,201}, the element to be encoded 45 is not in the subsequent gray level sequence of the previous gray level value of the element to be encoded in the gray level sequence to be encoded, the element to be encoded is converted into 8-bit binary digits 00101101, the identification code is 00, and the code of the element to be encoded is 0000101101.
And splicing the codes of each element in the gray level sequence to be coded together according to the sequence of the elements, and taking the codes as compression results.
For example, when the gray-scale sequence to be encoded is {1,1,4,1,5,2,3,1,5,1,1,7,1,4,2,6,2,4,7,4,7,3,5,4,2,3,6,6,7,5}, the length of the gray-scale sequence to be encoded is 30, and if the gray-scale sequence to be encoded is not compressed, the bits occupied by the gray-scale sequence to be encoded areBits. If->The post-gradation sequences of gradation values 1,2, 3,4, 5,6, 7 are {1,4,5}, {3,4,6}, {1,5,6}, {1,2,7}, {1,2,4}, {2,6,7}, {1,3,4}, respectively, and the method in this embodiment is adopted for the encodingWhen the gray scale sequence is compressed, the length is +.>Where 00 is the identification code and 01,10,11 is the codeword of the three subsequent gray values in the subsequent gray sequence of the gray value for each gray value. The code of each element in the gray sequence to be coded is 00000001,01,10,01,11,10,01,01,11,01,01,0000000111,01,10,10,11,01,10,11,11,11,10,10,11,10,01,11,10,11,0000000101 in sequence, for a total of 82 bits. The embodiment compresses the 240-bit sequence {1,1,4,1,5,2,3,1,5,1,1,7,1,4,2,6,2,4,7,4,7,3,5,4,2,3,6,6,7,5} to be coded into 82 bits, and the compression efficiency is high.
Thus, the compression of the organoid culture image is realized, and the compression result is obtained.
S004, transmitting and decompressing the compression result.
Gray level co-occurrence matrix of compressed result, organoid culture image and optimal post gray level coding lengthAnd transmitting to a culture progress monitoring server.
The culture progress monitoring server receives the compression result, the gray level co-occurrence matrix of the organoid culture image and the optimal post gray level coding lengthThen, according to the gray level co-occurrence matrix of the organoid culture image and the optimal post gray level coding lengthDecompressing the compression result, specifically:
1. acquiring a post gray sequence of each gray value according to the gray co-occurrence matrix according to the method in the steps S002 and S003, and according to the optimal post gray coding lengthAcquiring each post in a post gray sequence of identification codes and each gray valueAnd setting the code word of the gray value.
2. Reading 8-bit binary numbers from the first bit of the compression result and converting the binary numbers into decimal numbers as decoding gray scales;
3. continuing reading in compressed resultsBinary digits, if read->If the bit binary number is the same as the identification code, continuing to read the 8-bit binary number and converting the bit decimal number to be used as a new decoding gray level; if read +.>The binary number of the bit is different from the identification code, and the +.>The corresponding post gray value of the code word with the same bit binary in the post gray sequence of the latest decoding gray is used as the new decoding gray;
4. repeating step 3 until the compression result is traversed, stopping iteration, sequentially forming a one-dimensional sequence of all obtained decoding gray scales, and filling the sequence into the sequence according to the ZigZag scanning orderAnd obtaining an organoid culture image in a large and small empty matrix.
The culture progress monitoring server displays the organoid culture images on display equipment in real time for relevant staff to check.
Thus, the real-time monitoring of the organoid culture progress is realized.
According to the method, the average coding length of the pixel points in the organoid culture image under different post-gray coding lengths is obtained according to the gray level co-occurrence matrix of the organoid culture image, so that the optimal post-gray coding length is screened, the post-gray level sequence of each gray level value is obtained according to the optimal post-gray coding length and the gray level co-occurrence matrix, the identification code is set according to the optimal post-gray coding length, meanwhile, a code word is allocated to each post-gray level value in the post-gray level sequence of the gray level value, the code word of each element in the gray level sequence to be coded converted by the organoid culture image is sequentially obtained according to the identification code and the code word of each post-gray level value in the post-gray level sequence of the gray level value, and then a compression result is obtained, so that the coding length of gray level values of most of the pixel points in the organoid culture image is reduced from 8 bits to the optimal post-gray level coding length as far as possible, and therefore the compression efficiency of the organoid culture image is improved, and the instantaneity of organoid culture monitoring is improved.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (6)

1. A method for compressing an organoid culture image, the method comprising the steps of:
collecting an organoid culture image;
setting a plurality of different post gray scale code lengths; acquiring a gray level co-occurrence matrix of the organoid culture image; for each rear gray scale coding length, acquiring the average coding length corresponding to the pixel point in the organoid culture image under the rear gray scale coding length according to the gray scale co-occurrence matrix; determining the postgray scale code length with the minimum average code length as the optimal postgray scale code length;
acquiring all the rear gray values of each gray value in the organoid culture image according to the optimal rear gray coding length and the gray co-occurrence matrix to form a rear gray sequence of each gray value; setting identification codes according to the optimal postgray code length, and distributing code words for each postgray value in a postgray sequence of gray values;
converting the organoid culture image into a gray level sequence to be encoded, sequentially obtaining the codes of each element in the gray level sequence to be encoded according to the identification codes and the code words of each rear gray level value in the rear gray level sequence of the gray level value, and obtaining compression results according to the codes of all elements in the gray level sequence to be encoded;
and transmitting and decompressing the compression result.
2. The method of claim 1, wherein said setting a plurality of different post-gray scale encoding lengths comprises the steps of:
and taking each integer in the [1,7] as a post gray scale coding length respectively.
3. The method for compressing an organoid culture image according to claim 1, wherein the step of obtaining the average coding length of the pixels in the organoid culture image corresponding to the post-gray-scale coding length according to the gray-scale co-occurrence matrix comprises the following specific steps:
all elements of each row of the gray level co-occurrence matrix are sequenced according to the sequence from the large element value to the small element value to form a frequency sequence of the row;
for each post-gray scale coding length, acquiring the average coding length of pixel points in the organoid culture image corresponding to the post-gray scale coding length according to the frequency sequence of each line of the gray scale co-occurrence matrix:
wherein,representing the length of the post gray scale coding of the pixel points in the organoid culture image +.>The corresponding average code length is down;a value representing a post-gray scale code length; />Representing the +.>Frequency sequence of rows +.>A frequency; />Representing the number of all the different gray values present in the organoid culture image.
4. A method for compressing a cultured-organ image according to claim 3, wherein the obtaining all the post-gray values of each gray value in the cultured-organ image according to the optimal post-gray code length and the gray co-occurrence matrix, and forming the post-gray sequence of each gray value comprises the following specific steps:
acquiring the front in the frequency sequence of each line of the gray level co-occurrence matrixGray values corresponding to columns with frequencies in the gray level co-occurrence matrix are respectively used as the post gray values of the gray values corresponding to the rows, wherein +.>Representing the optimal post gray scale coding length;
for each gray value in the organoid culture image, all the subsequent gray values of the gray value are formed into a subsequent gray sequence of the gray values in order from small to large.
5. The method for compressing an organoid culture image according to claim 1, wherein said setting the identification code according to the optimal post-gray code length while assigning a codeword to each post-gray value in the post-gray sequence of gray values comprises the steps of:
for each gray value in the organoid culture image, a length ofAll binary numbers to be>Binary numbers consisting of 0 are used as identification codes, and each of the other binary numbers is +.>The binary number of each subsequent gray value in the sequence of subsequent gray values is used as a codeword for the gray value, wherein +.>Representing the optimal post gray scale code length.
6. The method for compressing an organoid culture image according to claim 1, wherein the step of sequentially obtaining the codes of each element in the gray-scale sequence to be coded based on the identification codes and the code words of each postgray-scale value in the postgray-scale sequence of gray-scale values comprises the following specific steps:
each element in the gray sequence to be encoded is respectively used as an element to be encoded, and the elements to be encoded are sequentially encoded, specifically:
when the element to be encoded is the first element in the gray level sequence to be encoded, converting the element to be encoded into 8-bit binary numbers to be used as the encoding of the element to be encoded;
when the element to be encoded is not the first element in the gray level sequence to be encoded, if the element to be encoded is located in the rear gray level sequence of the previous gray level value of the element to be encoded in the gray level sequence to be encoded, taking the codeword of the corresponding rear gray level value of the element to be encoded in the rear gray level sequence of the previous gray level value as the code of the element to be encoded;
when the element to be encoded is not the first element in the gray level sequence to be encoded, if the element to be encoded is not in the post gray level sequence of the gray level value of the previous element to be encoded in the gray level sequence to be encoded, the element to be encoded is converted into 8-bit binary numbers, and the 8-bit binary numbers are spliced after identification encoding to be used as the encoding of the element to be encoded.
CN202311763922.3A 2023-12-21 2023-12-21 Image compression method for organ-like culture Active CN117437310B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311763922.3A CN117437310B (en) 2023-12-21 2023-12-21 Image compression method for organ-like culture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311763922.3A CN117437310B (en) 2023-12-21 2023-12-21 Image compression method for organ-like culture

Publications (2)

Publication Number Publication Date
CN117437310A true CN117437310A (en) 2024-01-23
CN117437310B CN117437310B (en) 2024-02-27

Family

ID=89558659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311763922.3A Active CN117437310B (en) 2023-12-21 2023-12-21 Image compression method for organ-like culture

Country Status (1)

Country Link
CN (1) CN117437310B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02108372A (en) * 1988-10-18 1990-04-20 Fujitsu Ltd Compression device for picture data
CN101771874A (en) * 2009-12-31 2010-07-07 华中科技大学 Satellite image compression method and device for realizing satellite image compression
JP2011223526A (en) * 2010-04-14 2011-11-04 Seiko Epson Corp Image compression method and device
CN102487442A (en) * 2010-12-03 2012-06-06 林娜 Adaptive direction lifting wavelet compression algorithm on basis of gray level co-occurrence matrix
US10708624B1 (en) * 2019-05-30 2020-07-07 Ati Technologies Ulc Pre-processing for video compression
US20200296358A1 (en) * 2017-11-02 2020-09-17 Samsung Electronics Co., Ltd. Method and device for encoding image according to low-quality coding mode, and method and device for decoding mage
US20220414837A1 (en) * 2021-06-25 2022-12-29 Fujifilm Healthcare Corporation Medical image processing device, medical imaging apparatus, and noise reduction method for medical image
CN116129193A (en) * 2023-02-27 2023-05-16 重庆大学附属肿瘤医院 Method, system and equipment for predicting organoid growth
CN116320501A (en) * 2023-05-23 2023-06-23 浙江双视科技股份有限公司 Infrared data compression method and readable storage medium
CN116708845A (en) * 2023-08-04 2023-09-05 佳木斯大学 Gastrointestinal medical image communication transmission method based on 5G technology
CN116760994A (en) * 2023-08-16 2023-09-15 北京大学人民医院 Medical image coding communication method for neurology
CN116910285A (en) * 2023-09-01 2023-10-20 山东卓硕北斗网络科技有限公司 Intelligent traffic data optimized storage method based on Internet of things

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02108372A (en) * 1988-10-18 1990-04-20 Fujitsu Ltd Compression device for picture data
CN101771874A (en) * 2009-12-31 2010-07-07 华中科技大学 Satellite image compression method and device for realizing satellite image compression
JP2011223526A (en) * 2010-04-14 2011-11-04 Seiko Epson Corp Image compression method and device
CN102487442A (en) * 2010-12-03 2012-06-06 林娜 Adaptive direction lifting wavelet compression algorithm on basis of gray level co-occurrence matrix
US20200296358A1 (en) * 2017-11-02 2020-09-17 Samsung Electronics Co., Ltd. Method and device for encoding image according to low-quality coding mode, and method and device for decoding mage
US10708624B1 (en) * 2019-05-30 2020-07-07 Ati Technologies Ulc Pre-processing for video compression
US20220414837A1 (en) * 2021-06-25 2022-12-29 Fujifilm Healthcare Corporation Medical image processing device, medical imaging apparatus, and noise reduction method for medical image
CN116129193A (en) * 2023-02-27 2023-05-16 重庆大学附属肿瘤医院 Method, system and equipment for predicting organoid growth
CN116320501A (en) * 2023-05-23 2023-06-23 浙江双视科技股份有限公司 Infrared data compression method and readable storage medium
CN116708845A (en) * 2023-08-04 2023-09-05 佳木斯大学 Gastrointestinal medical image communication transmission method based on 5G technology
CN116760994A (en) * 2023-08-16 2023-09-15 北京大学人民医院 Medical image coding communication method for neurology
CN116910285A (en) * 2023-09-01 2023-10-20 山东卓硕北斗网络科技有限公司 Intelligent traffic data optimized storage method based on Internet of things

Also Published As

Publication number Publication date
CN117437310B (en) 2024-02-27

Similar Documents

Publication Publication Date Title
CN111461983B (en) Image super-resolution reconstruction model and method based on different frequency information
EP0353289B1 (en) System and method for hierarchal image encoding and decoding
CN115834895B (en) Efficient data compression and storage method for unmanned aerial vehicle
CN116760994B (en) Medical image coding communication method for neurology
CN115955569B (en) Monitoring video data transmission method for animal epidemic prevention quarantine center
CN115622570A (en) Efficient data storage method
CN116153452A (en) Medical electronic medical record storage system based on artificial intelligence
WO2010135307A2 (en) Hierarchical lossless compression
CN117437310B (en) Image compression method for organ-like culture
CN117097906B (en) Method and system for efficiently utilizing regional medical resources
CN116779114A (en) Anti-tumor medical MRI image information intelligent management system
CN116708845B (en) Gastrointestinal medical image communication transmission method based on 5G technology
CN1296874C (en) Point reconstruction based very large-scale medical image 3D visualization method
CN116193136A (en) Nuclear magnetic resonance image network communication method and system
CN116934487B (en) Financial clearing data optimal storage method and system
CN116168790A (en) Big data recruitment system for clinical trial
CN117115132A (en) Oral cavity CBCT image tooth and soft tissue segmentation model method based on improved U-Net model
CN116109714A (en) Data coding storage method and system based on neural network
CN106791843B (en) A kind of Lossless Image Compression Algorithm system and method
CN114463450A (en) Computer image compression method and system based on artificial intelligence
Abduljaleel et al. Significant medical image compression techniques: a review
CN117557582B (en) Artificial intelligence-based building landscape design image processing system
CN113269702A (en) Low-exposure vein image enhancement method based on cross-scale feature fusion
CN109862363A (en) The second-compressed method and its compressibility of video
Wong et al. Compression of digital mammogram databases using a near-lossless scheme

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