This MATLAB designer app is used to measure the diameter and period of periodic holes of photonic crystal structures.
- The image is binarized and filtered small objects (noise)
- If the air hole is circular, the function imfindcircles is used to detect circles. Center and radius are also calculated.
- If the air hole is triangular, the areas of objects are measured. Then, the effective length(l) is calculated based on the area (S), l = sqrt(4*S/sqrt(3)).
- The period is determined by measuring statistics of distances between two closet air holes on horizontal lines.
Note: The number of horizontal lines are calculated automatically using kmeans algorithm.
The reference is USAF 1951 Test Target.
인용 양식
Ngo Nguyen (2024). Photonic Crystal - Size Measurement (https://www.mathworks.com/matlabcentral/fileexchange/135752-photonic-crystal-size-measurement), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2023b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!