Research Article
Automatic Segmentation for Plant Leaves via Multiview Stereo Reconstruction
Algorithm 1
The multiview best-first match expansion algorithm.
| Input: Seed | | Output: Map | | (1) | | (2) while Seed do | | (3) pull the ANCC-best match from Seed | | (4) | | (5) for each in do | | (6) if and and | | (7) then store in Local | | (8) end-if | | (9) end-for | | (10) while Local | | (11) pull the ZNCC-best match from Local | | (12) if and are not in Map | | (13) then store in Map and Seed | | (14) end-if | | (15) end-while | | (16) end-while |
|