Aabha

Aabha

  • NA
  • 12
  • 2.3k

Convert mouse coordinates to diom image pixel coordinates i.

May 30 2013 7:32 AM

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 (2)