Is there any dx11 shader can calculate the contour of a image?

I want to get the positions and sizes of contours in a kinect depth, but the nodes in pointcloud and cv.image work slowly(because the pc uses a xeon cpu?), so I’d like to find a shader which can do that work

the short answer is yes i’ve seen that one, however readback on cpu might be slow.
google it and if u find it can try port
need some image or example of what u are trying to achieve

There’s none, for the simple reason that cpu implementations outperform gpu ones for this specific algorithm (too many edge/degenerate cases to be able to implement efficiently in a parallel fashion), so we won’t see Contour node in gpu in the near future.