Hi all!
i have created a presentation state object and some graphics object as annotations (e.g. poliline, circle etc) and now i want to create a shutter and want to display it.
setRectShutter(50,50......)
i am using the above function and tries to show the shuttered image but it shows me only annotations, not the shuttered image.
So please tell me how to craete and display shuttered image.
regards
Zia
Shutter creation and display?
Moderator: Moderator Team
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
-
- OFFIS DICOM Team
- Posts: 1445
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
You also have to understand that there is no function in DCMTK that would create a bitmap to which the shutter is applied - this is something you would have to implement by yourself. DCMTK provides an API that allows to create and manage presentation state, but there is no API that would completely apply all transformations of a presentation state. To be more precise: The functions in module dcmpstat cover all grayscale transformations and a few non-grayscale transformations, namely scaling/zooming and rotation/flip. Everything else (graphical plus text annotations and shutters) needs to be covered by your implementation.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest