Internal:QCED
Quantum Canny Edge Detection (QCED)
Literature Review
This report was created in effect if a Distributed Quantum Hadamard Edge Detection (DQHED), but the review section can be used for this project.
Demonstration
Download the notebook
Progress Report
Literature Review
Timeline: 12 - 17Feb2023
Status: In-progress
Description: Complete a full literature review of Canny Edge detection, variations and read and understand the QCED paper [1]
Status
- Literature review of Canny paper - In progress (Read [1] twice briefly)
- Literature review of Canny variants - In progress (Read [2] and others briefly)
- Literature review of QCED paper - In progress (Read [3] and understood quantum operators sections)
Basic Quantum Operators
Timeline: 18Feb - 11Mar2023
Status: In progress
Description: Implement each basic operator in Section 3.3 [3]
Status
- Supporting operations - As necessary
- Binary state preparator - complete
- Twos complement preparator - complete
- Jupyter notebook - In progress
- Unit test - As necessary
- Comparator - Complete
- Increment - Complete
- Decrement - Complete
- Copy - Complete
- Flip - Complete
- Flip plus 1 - Complete
- Absolute Value - Complete
- Left shift - Complete
- Multiply by 2 - Complete
- Right shift (Divide by 2) - Complete
- Adder - Complete
- Author's incorrect adder - Complete
- Complement comparator - Complete
- Complement multiplier - Complete
- Author's inefficient multiplier - Complete
- Verify RGQFT adder - Complete
- Complement divider - Staged
- Preproccesor - Staged
Canny Quantum Operators
Timeline: 12Mar - 08Apr2023
Status: Staged
Description: Implement the functional units of a Canny edge detector as a quantum circuit
Status
- Jupyter notebook - Staged
- Unit tests - Staged
- Gaussian Filter - Staged
- Sobel-X - Staged
- Sobel-Y - Staged
- Gradient amplitude - Staged
- Gradient angle - Staged
- Non-maximal inhibition (horizontal) - Staged
- Non-maximal inhibition (vertical) - Staged
- Non-maximal inhibition (45 degrees) - Staged
- Non-maximal inhibition (-45 degrees) - Staged
- Double threshold - Staged
Implementation
Timeline: 09 - 23Apr2023
Status: Staged
Description: Use the circuits from previous section to implement the full QCED circuit
Status
- Implement full circuit - Staged
- Jupyter notebook - Staged
- Unit tests - Staged
- Verify with sample data - Staged
Testing
Timeline: 24Apr - 08May2023
Status: Staged
Description: Test the QCED algorithm using CRTC data
Status
- Jupyter notebook - Staged
- Unit tests - Staged
- Understand sample data set - Staged
- Convert data into usable form - Staged
- Process data using QCED - Staged
- Create graphics from data - Staged
Find inefficiencies in original design
Timeline: 09 - 22May2023
Status: Staged
Description: Find ways to improve on the design described in [1]
Status
- To be determined - Staged
Implement changes to design
Timeline: 23May - 13Jun2023
Status: Staged
Description: Use the findings from the previous step to propose and implement a contribution or change the original paper
Status
- Jupyter notebook - Staged
- Unit tests - Staged
- To be determined - Staged
Final Testing
Timeline: 13 - 26Jun2023
Status: Staged
Description: Test the improved QCED implementation
Status
- Jupyter notebook - Staged
- Unit tests - Staged
- Process data - Staged
- Create graphics from data - Staged
Report
Timeline: 27Jun - 14Jul2023
Status: Staged
Description: Write the final publication for the improved QCED algorithm
Status
- Introduction - Staged
- Methods - Staged
- Results - Staged
- Conclusions - Staged
- Abstract - Staged
- Review - Staged
- Revision - Staged
- Submission - Staged
References
[1] J. F. Canny, “A computational approach to edge detection,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. PAMI-8, pp. 679–698, 1986.
[2] P. Bao, L. Zhang, and X. Wu, “Canny edge detection enhancement by scale multiplication,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 27, pp. 1485–1490, 2005.
[3] P. Li, “Quantum implementation of the classical canny edge detector,” Multimedia Tools and Applications, vol. 81, pp. 11665 – 11694, 2022.