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
引用格式
Collin Pecora (2025). Phase Congruency (https://www.mathworks.com/matlabcentral/fileexchange/177759-phase-congruency), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2024b
与 R2022a 及更高版本兼容
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |