Using the option setting CornerNeighbors->None, CrossingDetect operates on the dual grid whose pixels correspond to the corners in the original image, thereby reducing the dimensions of the resulting image by one pixel.