An R Package for the functions generate_filaments() and crescent_kf(), for use in SMLM (DNA-PAINT) image segmentation of filamentous structures, such as microtubules.