Internal:QCED

From crtc.cs.odu.edu
Jump to navigation Jump to search

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

  1. Literature review of Canny paper - In progress (Read [1] twice briefly)
  2. Literature review of Canny variants - In progress (Read [2] and others briefly)
  3. 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

  1. Supporting operations - As necessary
    1. Binary state preparator - complete
    2. Twos complement preparator - complete
  2. Jupyter notebook - In progress
  3. Unit test - As necessary
  4. Comparator - Complete
  5. Increment - Complete
  6. Decrement - Complete
  7. Copy - Complete
  8. Flip - Complete
  9. Flip plus 1 - Complete
  10. Absolute Value - Complete
  11. Left shift - Complete
  12. Multiply by 2 - Complete
  13. Right shift (Divide by 2) - Complete
  14. Adder - Complete
    1. Author's incorrect adder - Complete
  15. Complement comparator - Complete
  16. Complement multiplier - Complete
    1. Author's inefficient multiplier - Complete
    2. Verify RGQFT adder - Complete
  17. Complement divider - Staged
    1. 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

  1. Jupyter notebook - Staged
  2. Unit tests - Staged
  3. Gaussian Filter - Staged
  4. Sobel-X - Staged
  5. Sobel-Y - Staged
  6. Gradient amplitude - Staged
  7. Gradient angle - Staged
  8. Non-maximal inhibition (horizontal) - Staged
  9. Non-maximal inhibition (vertical) - Staged
  10. Non-maximal inhibition (45 degrees) - Staged
  11. Non-maximal inhibition (-45 degrees) - Staged
  12. Double threshold - Staged

Implementation

Timeline: 09 - 23Apr2023

Status: Staged

Description: Use the circuits from previous section to implement the full QCED circuit

Status

  1. Implement full circuit - Staged
  2. Jupyter notebook - Staged
  3. Unit tests - Staged
  4. Verify with sample data - Staged

Testing

Timeline: 24Apr - 08May2023

Status: Staged

Description: Test the QCED algorithm using CRTC data

Status

  1. Jupyter notebook - Staged
  2. Unit tests - Staged
  3. Understand sample data set - Staged
  4. Convert data into usable form - Staged
  5. Process data using QCED - Staged
  6. 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

  1. 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

  1. Jupyter notebook - Staged
  2. Unit tests - Staged
  3. To be determined - Staged

Final Testing

Timeline: 13 - 26Jun2023

Status: Staged

Description: Test the improved QCED implementation

Status

  1. Jupyter notebook - Staged
  2. Unit tests - Staged
  3. Process data - Staged
  4. Create graphics from data - Staged

Report

Timeline: 27Jun - 14Jul2023

Status: Staged

Description: Write the final publication for the improved QCED algorithm

Status

  1. Introduction - Staged
  2. Methods - Staged
  3. Results - Staged
  4. Conclusions - Staged
  5. Abstract - Staged
  6. Review - Staged
  7. Revision - Staged
  8. 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.