Hi,
I'm new to using dcmtk, and have thus far simply used it to take a dicom image and display it on an MFC's "Picture Control" (Visual Studio 2005). I did this using Aimevous' code, as shown here: viewtopic.php?t=1650&highlight=mfc.
I was now wondering if there was a way to allow the user to click a point on this image, and then have the computer calculate the MR coordinates of this point. (This would be similar to using the ginput function in MATLAB). I'm guessing that to do this, the program must be able to realize which pixel was clicked on. If anyone could help me out here, it would be much appreciated.
Thank you.
Getting pixel coordinate
Moderator: Moderator Team
Ok I think I have an idea of what to do about my aforementioned task now.
What I would like to know though is how to prevent the image from disappearing when I do things like maximize the MFC window or minimize and reopen it. This happens with both Aimevous' and Jorg's code (see link).
Thanks again.
What I would like to know though is how to prevent the image from disappearing when I do things like maximize the MFC window or minimize and reopen it. This happens with both Aimevous' and Jorg's code (see link).
Thanks again.
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
-
- Posts: 2
- Joined: Tue, 2012-05-15, 12:19
Re:
Hi, How did you solve?pthaya wrote:Ok I think I have an idea of what to do about my aforementioned task now.
What I would like to know though is how to prevent the image from disappearing when I do things like maximize the MFC window or minimize and reopen it. This happens with both Aimevous' and Jorg's code (see link).
Thanks again.
could you show some sample code , i have same issue like you.
thanks.
Who is online
Users browsing this forum: Google [Bot] and 1 guest