A quantum image segmentation method based on neqr expression
A quantum image and image segmentation technology, applied in image analysis, image data processing, instruments, etc., can solve problems such as increasing the complexity of quantum image reading, and achieve the effects of high parallelism, improved capability, and improved performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] This embodiment proposes a quantum image segmentation method based on NEQR expression, which specifically includes the following steps:
[0047] Step S1, preparing the quantum image NEQR expression.
[0048] Specifically in this embodiment, step S1 is specifically:
[0049] The first step is to obtain the basic information of the image, including converting the grayscale information of the image into the binary digit size m, and the size information of the image 2 n ×2 n ; In this embodiment, to prepare an image f with a size of 4×4 and a gray value range of [0, 255] 4×4 For example, this image is:
[0050]
[0051] The second step is to set the corresponding qubits according to the basic information of the graph, wherein the gray level information is m qubits, the position information is 2n qubits, and the auxiliary bit is 2 qubits; for example, the above image f 4×4 , the size of m is 8, and n is 2, that is, the gray information needs 8 bits, the position infor...
Embodiment 2
[0073] In this embodiment, the experimental simulation of the quantum image segmentation method proposed in Embodiment 1 is realized by means of a quantum programming language under a classical computer, specifically including:
[0074]The first step is to prepare a quantum image system. First, according to step S1 in the method proposed in Example 1, a quantum image system based on the NEQR expression is prepared. The system is in a linear superposition state when it is not measured. is a 4×4 image g with a gray value in the range [0, 7] 4×4 For example, this image is represented as:
[0075]
[0076] When the preparation is completed, 16 states in the quantum image system with 9 qubits will exist simultaneously, such as Figure 4 (a) shows the superposition state representation of the NEQR quantum image produced by the preparation method in step S1 of the above-mentioned embodiment 1, and the output data of the qubit string from left to right corresponds to the input of ...
Embodiment 3
[0085] In Example 3, the same method as in Example 2 is used to perform the same quantum image segmentation experiment on a quantum image with a size of 8×8 and a gray value range of [0, 7]. The thresholds are still 2 and 6, and Figure 7 Probability histograms of measurements taken after the split shown, and Figure 8 The image comparison before and after the segmentation is shown, where Figure 8 Schematic diagram of the pre-segmentation image shown in (a), resulting in Figure 8 (b) shows a schematic diagram of the image after the Z word is segmented. Table 2 shows the simulation results of quantum image segmentation with a size of 8×8 and a gray value range of [0, 7], including the running and compiling time, the number of measurements and the number of basic quantum logic gates.
[0086] Table 2 Experimental data after different quantum image operations
[0087] Quantum image manipulation image size time(s) Measurement times Number of quantum gates ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com