Photonic Crystal - Size Measurement

Version 1.0.1 (12.2 MB) by Ngo Nguyen
Measure sizes of circular/triangular holes of photonic crystal structures
12 Downloads
Updated 22 Sep 2023

View License

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.

Cite As

Ngo Nguyen (2024). Photonic Crystal - Size Measurement (https://www.mathworks.com/matlabcentral/fileexchange/135752-photonic-crystal-size-measurement), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

Explanation

1.0.0