Phase Congruency
Version 1.0.0 (16.4 KB) by
Collin Pecora
Computes edge and corner phase congruency in an image
This is a reformatting of Peter Koveshi's phasecong3.m to facilitate computing edges, corners a features from images in videos.
Example usage
pc = PhaseCongruency('Sharpness',15);
vidRdr = VideoReader('atrium.mp4');
vidPlayer = vision.VideoPlayer;
while hasFrame(vidRdr)
frame = readFrame(vidRdr);
pc.detect(frame);
vidPlayer(pc.Edge)
end
release(vidPlayer);
To view an edge strength image
imshow(PhaseCongruency('Image', imread('coins.png')).Edge)
Included is a user interface
pcviewer()
to visualize parameter tunning
Cite As
Collin Pecora (2026). Phase Congruency (https://uk.mathworks.com/matlabcentral/fileexchange/177759-phase-congruency), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with R2022a and later releases
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
