Image plane Module

How can i use Image plane module of Dicom Data or any other method to get actual XYZ axis of the dicom image ,
e.g
i have a dicom image 512X512 in which i can get XY points raneg in 0-512 starting from Left upper corner of the image , how can i get actual pixel location so i can work on pixel intensity for my further study.