1
Answer

Convert mouse coordinates to diom image pixel coordinates i.

Aabha

Aabha

10y
1.7k
1

In my application dicom image is rendered on picturebox of winform..When i clike on image by mouse using mouse move event i got mouse coordinates i.e. location at that point as..

 private void OnMouseClick(object sender, MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Left)
            {
               {                     
                  Point point =new Point(e.Location);
               }
            }
        } 
Using above code me getting only mouse coordinates but i want pixel coordinateds of image which is render on picturebox at that location...Please help me.

Answers (1)