initial_direction_finding

sunkit_image.trace.initial_direction_finding(image, xstart, ystart, nlen)[source]

Finds the initial angle of the loop at the starting point.

Parameters
  • image (numpy.ndarray) – Image in which the loops are being detected.

  • xstart (int) – The x coordinates of the starting point of the loop.

  • ystart (int) – The y coordinates of the starting point of the loop.

  • nlen (int) – The length of the guiding segment.

Returns

float – The angle of the starting point of the loop.