generate_spiral_seeds Subroutine

public subroutine generate_spiral_seeds(mask_shape, seed_points, n_seeds)

Generate seed points in spiral pattern starting from boundary Implements matplotlib's _gen_starting_points algorithm

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: mask_shape(2)
integer, intent(out), allocatable :: seed_points(:,:)
integer, intent(out) :: n_seeds