This MATLAB tool segments an image using a periodic 2D parallelogram mesh and stack them together for further analysis. An example use is to segment a lattice image into individual unit cells. Note: one axis of the lattice is always horizontal. Rotate original image before processing when necessary.
Please cite the following publications upon use:
- Martin Girard†, Shunzhi Wang†, Jingshan S. Du†, Anindita Das†, Ziyin Huang, Vinayak P. Dravid, Byeongdu Lee, Chad A. Mirkin, Monica Olvera de la Cruz. Particle analogs of electrons in colloidal crystals. Science, 2019, 364 (6446), 1174-1178. [DOI:10.1126/science.aaw8237]
- Shunzhi Wang†, Sangmin Lee†, Jingshan S. Du†, Benjamin E. Partridge, Ho Fung Cheng, Wenjie Zhou, Vinayak P. Dravid, Byeongdu Lee, Sharon C. Glotzer, Chad A. Mirkin. The Emergence of Valency in Colloidal Crystals Through Electron Equivalents. Nature Materials, 2022, 21 (5), 580–587. [DOI:10.1038/s41563-021-01170-5]