Electronic testing system for visual function of automated synoptophore
Through the electronic detection system of the visual function of the automated cochlear machine, deep learning and image preprocessing technology are used to realize the automatic detection of the meter readings of the cochlear machine, which solves the problems of traditional methods that are time-consuming and the doctor's work intensity is high, and improves the detection efficiency. efficiency.
Patent Information
- Application Number
- CN202410726156.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-06
AI Technical Summary
The traditional synopsis machine test for binocular vision function relies on manual mechanical adjustment and reading, which is time-consuming, intolerable to patients, high workload for clinicians, and lacks automated solutions.
An electronic visual function detection system for an automated co-viewer is designed. It collects instrument reading images through a camera, combines image preprocessing, feature extraction and attention mechanisms, and uses deep learning algorithms for detail enhancement and image semantic segmentation to automatically determine instrument readings. .
It reduces the manual operations of clinicians, shortens examination time, improves detection efficiency, and reduces doctors' work intensity.
Smart Images

Figure CN118298412B
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent detection, and more specifically, to an electronic detection system for visual function of an automated synoptophore. Background Art
[0002] A synoptophore, also known as a large amblyopia mirror or strabismus, is an ophthalmic instrument used to examine the binocular vision function, retinal correspondence and strabismus degree of patients with strabismus and amblyopia.
[0003] Traditional synoptophores still rely on manual mechanical adjustments and eye readings by clinicians when checking binocular vision function. That is, the inspection data is recorded manually, and then clinical symptoms such as the patient's retinal correspondence, eye position and strabismus are manually determined. However, this method of inspection is time-consuming, patients cannot tolerate it, and the workload of clinicians is high.
[0004] Therefore, an electronic detection system for the visual function of an automated synoptophore is desired. Summary of the invention
[0005] In order to solve the above technical problems, this application is proposed.
[0006] According to one aspect of the present application, there is provided a visual function electronic detection system of an automated synoptophore, comprising:
[0007] An instrument reading image acquisition module is used to acquire an electronic image of an instrument reading collected by a camera of an automated isovision machine;
[0008] An image preprocessing module, used for performing image transformation and detail enhancement processing on the electronic image of the meter reading to obtain a detail-enhanced display-transformed electronic image of the meter reading;
[0009] An instrument reading image feature extraction module, used for processing the detail enhanced display transformed instrument reading electronic image using an instrument reading image feature extractor to obtain an instrument reading image dense representation feature map;
[0010] A foreground mapping manifestation module, used for performing foreground mapping on the meter reading image dense representation feature map to obtain a foreground-salient meter reading image dense representation feature map;
[0011] The meter reading determination module is used to determine the meter reading based on the foreground-salient meter reading image dense representation feature map.
[0012] In the above-mentioned automatic synoptophore visual function electronic detection system, the image preprocessing module includes:
[0013] A polar coordinate transformation unit, used for performing polar coordinate transformation on the electronic image of the instrument reading to obtain a display-transformed electronic image of the instrument reading;
[0014] The detail enhancement unit is used to perform contrast normalization on the electronic image of the display transformation instrument reading to obtain the electronic image of the display transformation instrument reading with detail enhancement.
[0015] In the above-mentioned automatic synoptophore visual function electronic detection system, the instrument reading image feature extraction module is used to:
[0016] The detail enhanced display transformed instrument reading electronic image is passed through an instrument reading image feature extractor based on DenseNet to obtain a dense representation feature map of the instrument reading image.
[0017] In the above-mentioned electronic detection system of visual function of the automatic synoptophore, the foreground mapping visualization module comprises:
[0018] The attention-guided foreground mapping unit is used to pass the meter reading image dense representation feature map through a foreground mapping network based on an attention mechanism to obtain the foreground-salient meter reading image dense representation feature map.
[0019] In the above-mentioned electronic detection system of visual function of the automatic synoptophore, the attention-guiding foreground mapping unit comprises:
[0020] An attention aggregation subunit, for calculating a spatial attention feature matrix of a dense representation feature map of the meter reading image;
[0021] an anonymous mask subunit, configured to anonymously mask the spatial attention feature matrix to obtain an anonymous masked spatial attention feature matrix;
[0022] The fusion and manifestation subunit is used to fuse the meter reading image dense representation feature map and the anonymous masked spatial attention feature matrix to obtain the foreground salient meter reading image dense representation feature map.
[0023] In the above-mentioned electronic detection system of visual function of the automatic synoptophore, the attention focusing subunit is used for:
[0024] The global mean pooling of each channel vector in the dense representation feature map of the meter reading image is calculated to obtain the spatial attention feature matrix.
[0025] In the above-mentioned automatic synoptophore visual function electronic detection system, the anonymous mask subunit is used for:
[0026] Determine the spatial mask threshold;
[0027] The eigenvalues in the spatial attention feature matrix that are less than or equal to the spatial mask threshold are set to zero to obtain the anonymous masked spatial attention feature matrix.
[0028] In the above-mentioned electronic detection system of visual function of the automatic synoptophore, the fusion and manifestation subunit is used for:
[0029] The foreground salient instrument reading image dense representation feature map is obtained by calculating the positional point multiplication between each feature matrix of the instrument reading image dense representation feature map and the anonymous masked spatial attention feature matrix.
[0030] In the above-mentioned electronic detection system for visual function of the automatic synoptophore, the instrument reading determination module is used to:
[0031] The dense representation feature map of the foreground-salient instrument reading image is passed through a semantic segmenter based on a Softmax function to obtain a semantic segmentation result of the instrument reading image;
[0032] The meter reading is extracted from the semantic segmentation result of the meter reading image.
[0033] Compared with the prior art, the electronic visual function detection system of an automated synoptophore provided by the present application replaces the traditional manual recording with camera acquisition, combines deep learning algorithms and image preprocessing means to perform detail enhancement and image feature extraction on the electronic image of the meter reading acquired by the camera, and introduces an attention mechanism to visualize the important foreground information in the electronic image of the meter reading, i.e., the meter reading part, and then uses image semantic segmentation to automatically segment the meter reading part, and further extract the meter reading therein. In this way, the manual operation of the clinician during the examination process is reduced, thereby shortening the examination time. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0035] Figure 1 is a block diagram of a visual function electronic detection system of an automated synoptophore according to an embodiment of the present application;
[0036] Figure 2 is a system architecture diagram of a visual function electronic detection system of an automated synoptophore according to an embodiment of the present application;
[0037] Figure 3 It is a block diagram of an image preprocessing module in the visual function electronic detection system of the automated synoptophore according to an embodiment of the present application.
[0038] In the figure: 300, visual function electronic detection system of automatic synoptophore; 310, instrument reading image acquisition module; 320, image preprocessing module; 321, polar coordinate transformation unit; 322, detail enhancement unit; 330, instrument reading image feature extraction module; 340, foreground mapping manifestation module; 350, instrument reading determination module. DETAILED DESCRIPTION
[0039] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.
[0040] As shown in this application and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0041] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules can be used and run on the user terminal and / or server. The modules are only illustrative, and different aspects of the system and method can use different modules.
[0042] Flowcharts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps may be processed in reverse order or simultaneously as required. Meanwhile, other operations may also be added to these processes, or a certain step or several steps of operations may be removed from these processes.
[0043] Traditional synoptophores still rely on manual mechanical adjustments and human eye readings by clinicians when checking binocular vision function. That is, the inspection data is recorded manually, and then clinical symptoms such as the patient's retinal correspondence, eye position and strabismus are manually determined. However, this method of inspection is time-consuming, patient intolerance, and clinicians have high workload. Therefore, an automated synoptophore visual function electronic detection system is expected.
[0044] In the technical solution of the present application, an electronic detection system for visual function of an automated synoptophore is proposed. Figure 1 It is a block diagram of the visual function electronic detection system of the automated synoptophore according to an embodiment of the present application. Figure 2 FIG. 1 is a system architecture diagram of a visual function electronic detection system of an automated synoptophore according to an embodiment of the present application. Figure 1 and Figure 2 As shown, according to the embodiment of the present application, the visual function electronic detection system 300 of the automated synoptophore includes: an instrument reading image acquisition module 310, which is used to acquire the electronic image of the instrument reading collected by the camera of the automated synoptophore; an image preprocessing module 320, which is used to perform image transformation and detail enhancement processing on the electronic image of the instrument reading to obtain a detail enhanced display transformed electronic image of the instrument reading; an instrument reading image feature extraction module 330, which is used to process the detail enhanced display transformed electronic image of the instrument reading using an instrument reading image feature extractor to obtain a dense representation feature map of the instrument reading image; a foreground mapping manifestation module 340, which is used to perform foreground mapping on the dense representation feature map of the instrument reading image to obtain a foreground-salient instrument reading image dense representation feature map; and an instrument reading determination module 350, which is used to determine the instrument reading based on the foreground-salient instrument reading image dense representation feature map.
[0045] In particular, the instrument reading image acquisition module 310 is used to acquire the electronic image of the instrument reading collected by the camera of the automated synoptophore. It is worth mentioning that the synoptophore, also known as a large amblyopic mirror or strabismus, is an ophthalmic instrument used to examine the binocular vision function, retinal correspondence and strabismus of patients with strabismus and amblyopia. The automated synoptophore draws on the working principle of the human visual system and aims to achieve automated understanding and processing of images. The automated synoptophore understands images through feature extraction and learning. It can extract various features in the image, such as edges, textures, colors, etc., and use these features to perform tasks such as image classification, target detection, and image segmentation. It should be understood that in the technical solution of the present application, the camera of the automated synoptophore can quickly and accurately collect a large number of electronic images of instrument readings. In this way, the manual operation of clinicians during the examination process can be reduced, thereby shortening the examination time.
[0046] In particular, the image preprocessing module 320 is used to perform image transformation and detail enhancement processing on the electronic image of the meter reading to obtain a detail-enhanced display-transformed electronic image of the meter reading. In particular, in a specific example of the present application, Figure 3 As shown, the image preprocessing module 320 includes: a polar coordinate transformation unit 321, which is used to perform polar coordinate transformation on the instrument reading electronic image to obtain a display transformed instrument reading electronic image; a detail enhancement unit 322, which is used to perform contrast normalization on the display transformed instrument reading electronic image to obtain the detail enhanced display transformed instrument reading electronic image.
[0047] Specifically, the polar coordinate transformation unit 321 is used to perform polar coordinate transformation on the electronic image of the meter reading to obtain a display-transformed electronic image of the meter reading. It should be understood that in the electronic image of the meter reading, the most important thing for the target task of obtaining the meter reading is to be able to extract and capture the information of the meter reading. In the actual application scenario of the present application, most of these instruments are circular, and the polar coordinate system is naturally suitable for processing circular or radially symmetric image structures. Specifically, under polar coordinates, the boundary of a circle can be directly represented as a trajectory of a constant radius, which simplifies the recognition and processing of the circular contour.
[0048] Specifically, the detail enhancement unit 322 is used to perform contrast normalization on the display transformation instrument reading electronic image to obtain the detail enhanced display transformation instrument reading electronic image. Specifically, contrast normalization is usually used to extract local contrast features of an image. It normalizes the contrast by subtracting the local mean from each pixel value of the display transformation instrument reading electronic image and dividing it by the local standard deviation. In this way, the global contrast variation in the display transformation instrument reading electronic image can be reduced, and the details and texture information in the display transformation instrument reading electronic image can be highlighted.
[0049] Accordingly, in a possible implementation, the display-transformed instrument reading electronic image can be contrast normalized to obtain the detail-enhanced display-transformed instrument reading electronic image through the following steps, for example: converting the color instrument reading electronic image into a grayscale image by taking the average value of the red, green, and blue channels or applying a grayscale formula; calculating the average pixel value of the grayscale image as a reference value for subsequent contrast normalization; calculating a contrast gain factor and an offset based on the average brightness to adjust the contrast of the image; and applying a contrast normalization operation to each pixel in the grayscale image.
[0050] It is worth mentioning that in other specific examples of the present application, the electronic image of the meter reading can also be transformed and processed with details in other ways to obtain a detail-enhanced display transformed electronic image of the meter reading, for example: inputting the electronic image of the meter reading; converting the color electronic image of the meter reading into a grayscale image to better handle the brightness and contrast of the image; resizing the image to ensure that the image size is suitable; applying histogram equalization technology to enhance the contrast of the image so that the details in the image are clearer; using filters (such as Gaussian filters, median filters, etc.) to remove noise in the image so that the details are more prominent; applying image sharpening technology, such as Laplacian operators or sharpening filters, to enhance the edges and details of the image; using local contrast enhancement technology to highlight local details in the image so that the details are clearer; so as to obtain the detail-enhanced display transformed electronic image of the meter reading.
[0051] In particular, the meter reading image feature extraction module 330 is used to process the detail enhanced display transformed meter reading electronic image using a meter reading image feature extractor to obtain a meter reading image dense representation feature map. In particular, in a specific example of the present application, the detail enhanced display transformed meter reading electronic image is passed through a meter reading image feature extractor based on DenseNet to obtain a meter reading image dense representation feature map. That is, the meter reading image feature extractor is constructed using a DenseNet model to learn a complex representation of image semantic feature information from the detail enhanced display transformed meter reading electronic image.
[0052] It is worth noting that DenseNet (Densely Connected Convolutional Networks) is a deep learning model architecture whose core concept is dense connectivity. Compared with traditional convolutional neural networks (CNNs), each layer in DenseNet is directly connected to all previous layers, forming dense forward and reverse connections. This densely connected structure allows information to be propagated more fully, helps solve the gradient vanishing problem in deep neural networks, and promotes the sharing and reuse of features. The DenseNet model has achieved remarkable results in image classification, target detection and other fields with its unique densely connected structure and excellent performance, and has become an important model architecture in the field of deep learning.
[0053] Accordingly, in a possible implementation, the detailed enhanced display transformed instrument reading electronic image can be passed through an instrument reading image feature extractor based on DenseNet to obtain a dense representation feature map of the instrument reading image through the following steps, for example: input the detailed enhanced display transformed instrument reading electronic image; preprocess the instrument reading electronic image; build a feature extractor network structure based on DenseNet, including densely connected dense blocks and transition layers; determine the depth, width and other hyperparameters of the network to meet the feature extraction requirements of the instrument reading image; input the preprocessed instrument reading electronic image into the constructed DenseNet feature extractor; and extract features from the input instrument reading image through the DenseNet network. Inside the dense block, each layer is connected to all previous layers to achieve dense transmission and reuse of features; each layer of the network will learn different levels of abstract feature representation, from edges, textures to more advanced semantic features; before the output layer of DenseNet, obtain the output of the feature map, that is, the dense representation feature map; the dense representation feature map contains the feature representation of the instrument reading image at different abstract levels, which is a high-level feature extracted by the deep learning network.
[0054] In particular, the foreground mapping manifestation module 340 is used to perform foreground mapping on the dense representation feature map of the meter reading image to obtain a foreground-salient meter reading image dense representation feature map. In particular, in a specific example of the present application, the foreground mapping manifestation module 340 includes: an attention-guided foreground mapping unit, which is used to pass the meter reading image dense representation feature map through a foreground mapping network based on an attention mechanism to obtain the foreground-salient meter reading image dense representation feature map. It should be understood that there may be a large amount of background information in the electronic image of the meter reading. For example, the physical structure of the synoptophore, such as the instrument frame, support arm or other mechanical parts, may form a background in the electronic image of the meter reading. And these background information may be retained in the above-mentioned feature extraction process, and even be amplified as the network level deepens. In other words, there may be a large amount of noise interference feature information in the dense representation feature map of the meter reading image, and these noise interference feature information are not important for the recognition and extraction of instrument readings, and may even cause unnecessary interference. Therefore, in the technical solution of the present application, it is expected that the dense representation feature map of the meter reading image is passed through a foreground mapping network based on an attention mechanism to obtain a foreground-salient meter reading image dense representation feature map.
[0055] In a specific example of the present application, the process of passing the dense representation feature map of the meter reading image through a foreground mapping network based on an attention mechanism to obtain a foreground salient meter reading image dense representation feature map includes: first calculating the spatial attention feature matrix of the dense representation feature map of the meter reading image; then anonymously masking the spatial attention feature matrix to obtain an anonymous masked spatial attention feature matrix; then, fusing the dense representation feature map of the meter reading image and the anonymous masked spatial attention feature matrix to obtain the foreground salient meter reading image dense representation feature map. Among them, calculating the spatial attention feature matrix of the dense representation feature map of the meter reading image includes: calculating the global mean pooling of each channel vector in the dense representation feature map of the meter reading image to obtain the spatial attention feature matrix. It should be understood that global mean pooling is a pooling operation used to calculate the global average value of each channel in the feature map. By performing a global mean pooling operation on each channel vector in the dense representation feature map of the meter reading image, a spatial attention feature matrix can be obtained, which is helpful for extracting global feature information. More specifically, anonymously masking the spatial attention feature matrix to obtain an anonymous masked spatial attention feature matrix includes: determining a spatial mask threshold; setting the eigenvalues in the spatial attention feature matrix that are less than or equal to the spatial mask threshold to zero to obtain the anonymous masked spatial attention feature matrix. It should be understood that in this way, the eigenvalues in the spatial attention feature matrix can be masked according to the spatial mask threshold to obtain an anonymous masked spatial attention feature matrix, thereby achieving feature screening and weighting. More specifically, fusing the meter reading image dense representation feature map and the anonymous masked spatial attention feature matrix to obtain the foreground salient meter reading image dense representation feature map includes: calculating the positional point multiplication between each feature matrix of the meter reading image dense representation feature map and the anonymous masked spatial attention feature matrix to obtain the foreground salient meter reading image dense representation feature map. It should be understood that the positional point multiplication is an element-by-element multiplication operation, which is used to multiply the elements of corresponding positions in two matrices with the same shape. In the technical solution of the present application, each feature matrix of the dense representation feature map of the meter reading image is multiplied by the anonymous masked spatial attention feature matrix by position, so that each eigenvalue in the dense representation feature map of the meter reading image can be weighted. The anonymous masked spatial attention feature matrix may contain important weight information, and by multiplying it by position, the dense representation feature map of the meter reading image can be weighted according to the weight information.
[0056] Here, the foreground mapping network based on the attention mechanism highlights the importance of foreground information in the dense representation feature map of the meter reading image by introducing a spatial attention mechanism and an anonymous mask mechanism. Specifically, the global channel information at each position is concentrated and extracted by calculating the global mean pooling of each channel vector in the dense representation feature map of the meter reading image, which ignores the specific information representation of each channel to a certain extent and forms a global comprehensive spatial distribution pattern expression. In this way, the corresponding foreground target feature information of interest, i.e., the meter reading part, is extracted by using this global comprehensive spatial distribution pattern expression, and the foreground target feature information of interest is marked and purified by anonymous mask processing, so that the network module can focus on the meter reading part in the dense representation feature map of the meter reading image.
[0057] It is worth mentioning that in other specific examples of the present application, foreground mapping can be performed on the dense representation feature map of the meter reading image to obtain a foreground-salient meter reading image dense representation feature map in other ways, for example: input the dense representation feature map of the meter reading image; for each input image, calculate its foreground saliency map. This can be achieved by using image segmentation technology or saliency detection algorithm; apply the foreground saliency map to the original dense representation feature map. This can be achieved by multiplying or adding the foreground saliency map with the original dense representation feature map to highlight the foreground information in the image; and output the dense representation feature map after foreground mapping processing.
[0058] In particular, the meter reading determination module 350 is used to determine the meter reading based on the dense representation feature map of the foreground-salient meter reading image. In particular, in a specific example of the present application, the dense representation feature map of the foreground-salient meter reading image is passed through a semantic segmenter based on a Softmax function to obtain a semantic segmentation result of the meter reading image; and the meter reading is extracted from the semantic segmentation result of the meter reading image. Specifically, the dense representation feature map of the foreground-salient meter reading image is passed through a semantic segmenter based on a Softmax function to obtain a semantic segmentation result of the meter reading image, including: expanding the dense representation feature map of the foreground-salient meter reading image into a classification feature vector based on a row vector or a column vector; using multiple fully connected layers of the semantic segmenter to fully connect encode the classification feature vector to obtain an encoded classification feature vector; passing the encoded classification feature vector through the Softmax classification function of the semantic segmenter to obtain a semantic segmentation result of the meter reading image.
[0059] A fully connected layer is a common type of layer in neural networks. In a fully connected layer, each neuron is connected to all neurons in the previous layer, and each connection has a weight. This means that each neuron in the fully connected layer receives inputs from all neurons in the previous layer, and performs a weighted sum of these inputs through the weights, and then passes the result to the next layer.
[0060] The Softmax classification function is a commonly used activation function for multi-classification problems. It converts each element of the input vector into a probability value between 0 and 1, and the sum of these probability values is equal to 1. The Softmax function is often used in the output layer of a neural network, especially for multi-classification problems, because it can map the network output to the probability distribution of each category. During the training process, the output of the Softmax function can be used to calculate the loss function and update the network parameters through the back propagation algorithm. It is worth noting that the output of the Softmax function does not change the relative size relationship between the elements, but only normalizes them. Therefore, the Softmax function does not change the characteristics of the input vector, but only converts it into a probability distribution form.
[0061] Preferably, the method of passing the dense representation feature map of the foreground-salient meter reading image through a semantic segmenter based on a Softmax function to obtain a semantic segmentation result of the meter reading image comprises the following steps:
[0062] Expanding the foreground-salient instrument reading image dense representation feature map to obtain a foreground-salient instrument reading image dense representation feature vector;
[0063] Calculating the point sum of the foreground salient instrument reading image dense representation feature vector and the square root of its length and the reciprocal of the square root of its second norm to obtain a first foreground salient instrument reading image dense representation intermediate feature vector;
[0064] Calculating an exponential function of the first foreground salient instrument reading image dense representation intermediate feature vector with a natural constant as the base to obtain a second foreground salient instrument reading image dense representation intermediate feature vector;
[0065] Calculating the dot product of the foreground salient instrument reading image dense representation feature vector and its first norm and a weight hyperparameter to obtain a third foreground salient instrument reading image dense representation intermediate feature vector;
[0066] Calculating the point sum of the second foreground salient instrument reading image dense representation intermediate feature vector and the third foreground salient instrument reading image dense representation intermediate feature vector to obtain an optimized foreground salient instrument reading image dense representation feature vector;
[0067] Converting the optimized foreground-salient instrument reading image dense representation feature vector into an optimized foreground-salient instrument reading image dense representation feature map based on the expansion of the foreground-salient instrument reading image dense representation feature map;
[0068] The optimized foreground-salient meter reading image dense representation feature map is passed through a semantic segmenter based on a Softmax function to obtain a meter reading image semantic segmentation result.
[0069] Specifically, considering that the spatial distribution of the semantic features of the electronic image of the meter readings is different after detail enhancement, further enhancement of the spatial distribution of local features based on the attention mechanism will lead to inconsistency between the local feature distributions of the dense representation feature map of the foreground significant meter readings image, affecting the regression constraints in the semantic segmentation domain. Therefore, in the above preferred example, the structured norm representation of the sequence of dense representation feature vectors of the foreground significant meter readings image after the dense representation feature map of the foreground significant meter readings image is expanded is used as the local canonical coordinates for each feature value of the dense representation feature map of the foreground significant meter readings image, to Determine the overall distribution of features of the foreground significant meter reading image dense representation feature map, represent the rotational offset relative to the feature value for the offset prediction direction of each feature value of the foreground significant meter reading image dense representation feature map as the center, and use the bounding box of the feature value distribution of the foreground significant meter reading image dense representation feature map to constrain the feature value, so as to improve the constraint of the foreground significant meter reading image dense representation feature map under the semantic regression distribution, thereby improving the training speed of the model and the accuracy of the meter reading image semantic segmentation result obtained by the foreground significant meter reading image dense representation feature map through the semantic segmenter based on the Softmax function.
[0070] As described above, the electronic detection system 300 of the visual function of the automated synoptophore according to the embodiment of the present application can be implemented in various wireless terminals, such as a server having an electronic detection algorithm of the visual function of the automated synoptophore. In a possible implementation, the electronic detection system 300 of the visual function of the automated synoptophore according to the embodiment of the present application can be integrated into the wireless terminal as a software module and / or a hardware module. For example, the electronic detection system 300 of the visual function of the automated synoptophore can be a software module in the operating system of the wireless terminal, or can be an application developed for the wireless terminal; of course, the electronic detection system 300 of the visual function of the automated synoptophore can also be one of the many hardware modules of the wireless terminal.
[0071] Alternatively, in another example, the electronic detection system 300 of the visual function of the automatic synoptophore and the wireless terminal may also be separate devices, and the electronic detection system 300 of the visual function of the automatic synoptophore may be connected to the wireless terminal via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.
[0072] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. An electronic detection system for visual function of an automated synoptophore, characterized in that: include: An instrument reading image acquisition module is used to acquire an electronic image of an instrument reading collected by a camera of an automated isovision machine; An image preprocessing module, used for performing image transformation and detail enhancement processing on the electronic image of the meter reading to obtain a detail-enhanced display-transformed electronic image of the meter reading; An instrument reading image feature extraction module, used for processing the detail enhanced display transformed instrument reading electronic image using an instrument reading image feature extractor to obtain an instrument reading image dense representation feature map; A foreground mapping manifestation module, used for performing foreground mapping on the meter reading image dense representation feature map to obtain a foreground-salient meter reading image dense representation feature map; An instrument reading determination module, configured to determine an instrument reading based on the foreground-salient instrument reading image dense representation feature map; Wherein, the image preprocessing module includes: A polar coordinate transformation unit, used for performing polar coordinate transformation on the electronic image of the instrument reading to obtain a display-transformed electronic image of the instrument reading; A detail enhancement unit, used for performing contrast normalization on the electronic image of the display transformation instrument reading to obtain the electronic image of the display transformation instrument reading with detail enhancement; Wherein, the instrument reading image feature extraction module is used to: Passing the detail enhanced display transformed instrument reading electronic image through an instrument reading image feature extractor based on DenseNet to obtain a dense representation feature map of the instrument reading image; Wherein, the foreground mapping visualization module includes: an attention-guided foreground mapping unit, configured to pass the meter reading image dense representation feature map through a foreground mapping network based on an attention mechanism to obtain the foreground-salient meter reading image dense representation feature map; Wherein, the attention-guided foreground mapping unit comprises: An attention aggregation subunit, for calculating a spatial attention feature matrix of a dense representation feature map of the meter reading image; an anonymous mask subunit, configured to anonymously mask the spatial attention feature matrix to obtain an anonymous masked spatial attention feature matrix; A fusion and manifestation subunit, configured to fuse the meter reading image dense representation feature map and the anonymous masked spatial attention feature matrix to obtain the foreground salient meter reading image dense representation feature map; Wherein, the instrument reading determination module is used to: The dense representation feature map of the foreground-salient meter reading image is passed through a semantic segmenter based on a Softmax function to obtain a semantic segmentation result of the meter reading image; Extracting the meter reading from the semantic segmentation result of the meter reading image; The method of applying the dense representation feature map of the foreground-salient meter reading image to a semantic segmentation device based on a Softmax function to obtain a semantic segmentation result of the meter reading image includes the following steps: Expanding the foreground-salient instrument reading image dense representation feature map to obtain a foreground-salient instrument reading image dense representation feature vector; Calculating the point sum of the foreground salient instrument reading image dense representation feature vector and the square root of its length and the reciprocal of the square root of its second norm to obtain a first foreground salient instrument reading image dense representation intermediate feature vector; Calculating an exponential function of the first foreground salient instrument reading image dense representation intermediate feature vector with a natural constant as the base to obtain a second foreground salient instrument reading image dense representation intermediate feature vector; Calculating the dot product of the foreground salient instrument reading image dense representation feature vector and its first norm and a weight hyperparameter to obtain a third foreground salient instrument reading image dense representation intermediate feature vector; Calculating the point sum of the second foreground salient instrument reading image dense representation intermediate feature vector and the third foreground salient instrument reading image dense representation intermediate feature vector to obtain an optimized foreground salient instrument reading image dense representation feature vector; Converting the optimized foreground-salient instrument reading image dense representation feature vector into an optimized foreground-salient instrument reading image dense representation feature map based on the expansion of the foreground-salient instrument reading image dense representation feature map; The optimized foreground-salient meter reading image dense representation feature map is passed through a semantic segmenter based on a Softmax function to obtain a meter reading image semantic segmentation result.
2. The electronic detection system for visual function of an automated synoptophore according to claim 1, characterized in that: The attention aggregation subunit is used to: The global mean pooling of each channel vector in the dense representation feature map of the meter reading image is calculated to obtain the spatial attention feature matrix.
3. The electronic detection system for visual function of the automated synoptophore according to claim 2, characterized in that: The anonymous mask subunit is used to: Determine the spatial mask threshold; The eigenvalues in the spatial attention feature matrix that are less than or equal to the spatial mask threshold are set to zero to obtain the anonymous masked spatial attention feature matrix.
4. The electronic detection system for visual function of the automated synoptophore according to claim 3, characterized in that: The fusion and manifestation subunit is used for: The foreground salient instrument reading image dense representation feature map is obtained by calculating the positional point multiplication between each feature matrix of the instrument reading image dense representation feature map and the anonymous masked spatial attention feature matrix.
Citation Information
Patent Citations
Deep learning-based pointer instrument automatic reading method and system
CN116310285A
Handwritten table recognition method based on multi-head attention mechanism and knowledge graph
CN117132997A
Strabismus diagnosis and treatment auxiliary system based on deep learning
CN117995391A
Synthetic aperture radar (SAR) image target detection method
US20230169623A1
