Image Conformance and GSPS
Moderator: Moderator Team
-
- Posts: 5
- Joined: Wed, 2009-09-16, 09:04
- Location: Inner Mongolia,China
- Contact:
Image Conformance and GSPS
I am studying the consistency of the image display, and making use of GSPS in the DCMTK .So I use the class DVPresentationState ,I have Successfully applied some states (such as Rotation and Flip)to the attached image(pstate.setFlip(),pstate.setRotayion()).but when I apply a circle shutter(using pstate.setCircularShutter(x,y,r))to the attacher image I fail .These days I am depressed and cann't find the reason.Could you tell me why the methods setRotation()and etFlip() Work, but the method setCircularShutter() doesn't work?
Please help me .Thanks !![/b][/u]
Please help me .Thanks !![/b][/u]
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
-
- Posts: 5
- Joined: Wed, 2009-09-16, 09:04
- Location: Inner Mongolia,China
- Contact:
Thanks
I do not know JAVA. I can only use C++,But DCMTK provide a method pstate.setCircularShutter(x,y,r) in C++. What is the usefulness of the method? What shall I do next if I want to use C++ to Achieve a circle shutter ?
Thanks a lot!
Thanks a lot!
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
-
- Posts: 5
- Joined: Wed, 2009-09-16, 09:04
- Location: Inner Mongolia,China
- Contact:
Thanks
These days I Try to make a little image-browser which can open Dicom images and achieve some simple Consistency Display by C++.There isn'n any shutter on my image.How can I achieve my aim of setting a circle shutter with the method pstate.setCircularShutter ?There are some codes as follows which I use .
Sint32 x=pstate.getCenterOfCircularShutter_x();
Sint32 y=pstate.getCenterOfCircularShutter_y();
Sint32 r=pstate.getRadiusOfCircularShutter();
Uint16 p=pstate.getShutterPresentationValue();
pstate.setCircularShutter(x,y,r);
pstate.setShutterPresentationValue(p);
What should I do next? Do I have to draw a circle Manually?
Sint32 x=pstate.getCenterOfCircularShutter_x();
Sint32 y=pstate.getCenterOfCircularShutter_y();
Sint32 r=pstate.getRadiusOfCircularShutter();
Uint16 p=pstate.getShutterPresentationValue();
pstate.setCircularShutter(x,y,r);
pstate.setShutterPresentationValue(p);
What should I do next? Do I have to draw a circle Manually?
I can do it
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
-
- Posts: 5
- Joined: Wed, 2009-09-16, 09:04
- Location: Inner Mongolia,China
- Contact:
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest