dwkim78 / ASTRiDE

AUTOMATED STREAK DETECTION FOR ASTRONOMICAL IMAGES
MIT License
49 stars 23 forks source link

typo ? #21

Closed alexserebryanskiy closed 6 months ago

alexserebryanskiy commented 1 year ago

I believe that in detect.py, where you specify the boundaries for trails you should have:

x_max = min(np.max(xs) + box_margin, self.image.shape[1]) y_max = min(np.max(ys) + box_margin, self.image.shape[0])

it was:

x_max = min(np.max(xs) + box_margin, self.image.shape[0]) y_max = min(np.max(ys) + box_margin, self.image.shape[1])