-
Notifications
You must be signed in to change notification settings - Fork 6
Description
First of all, thank you for your contribution.
In your CCL algorithm in the line referenced below you are looking at the linear address of what you claim is the eastern neighbour of the current pixel (That is what the documentation above says), but when subtracting 1 from ix in iy *numCols + ix-1 you would be looking at the western neighbour.
Line 80 in 1e9ca96
| label = (nyxm1) ? iy *numCols + ix-1 : iy*numCols + ix; |
I will propose two pull requests that would address either a fix in documentation or in code.
Please correct me if I am wrong, but I think this is either a mistake in documentation or the algorithm.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels