Calculating the distance between two points

Operating system:windows 10
Slicer version:4.8.1
Hi 3D slicer experts
I want to calculate the distance between two points A and B in following figure. Which module should I use to do this?
Thanks a lot
Picture

You can use ruler tool to measure distance in an image.