How to get Harris corners that are present in watershed segmented Bitwise image(road part)?
You have a mask of the road were pixels of the road have value 1 and non road pixels as value 0.
Also you have a list of Harris corners were each corner as a coordinate Xi,Yi


For each Xi,Yi i corners
If mask[Xi,Yi] == 1
keep corner