Phase Congruency

Computes edge and corner phase congruency in an image

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with R2022a and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0