# Image viewer / points - Dicom dataset.

**URL:** <https://discourse.vtk.org/t/image-viewer-points-dicom-dataset/10050>\
**Category:** Development\
**Created:** [December 2, 2022, 8:01pm UTC](https://discourse.vtk.org/t/image-viewer-points-dicom-dataset/10050 "2022-12-02T20:01:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![St\_Luk](https://discourse.vtk.org/user_avatar/discourse.vtk.org/st_luk/32/6158_2.png) [@St\_Luk](https://discourse.vtk.org/u/St_Luk)\
**Post date:** [December 2, 2022, 8:01pm UTC](https://discourse.vtk.org/t/image-viewer-points-dicom-dataset/10050/1 "2022-12-02T20:01:02Z")

</div>

Hi everyone,

I need to take manually some coordinates from a dataset DICOM. The idea is developed some image viewer to see the images and then with the cursor place two points and generate a json file of them.

Is it possible to do that? Are there examples? Thanks!

---

<div class="post-metadata">

**Author:** ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)\
**Post date:** [December 3, 2022, 4:26am UTC](https://discourse.vtk.org/t/image-viewer-points-dicom-dataset/10050/2 "2022-12-03T04:26:55Z")

</div>

You can configure [3D Slicer](https://www.slicer.org) to pop up a window, activate point placement in slice and/or 3D views, and save the point coordinates in a json file. It is probably less than 10 lines of Python code in total (most of the code is for [hiding parts of the application that your users don’t need](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Slicelets)). If you are not sure how to get started, you can ask advice on the [Slicer forum](https://discourse.slicer.org).

It is of course very tempting to start from scratch, but users expect some minimum feature set (DICOM import, maybe automatic AI-based segmentation, synchronized slice+3D views, point placement widgets that work in slice or 3D views in volume rendering or on surface models, etc.). Even if you are a very experienced VTK developer, these would take several months to implement from scratch, and - perhaps more importantly - take continuous effort to maintain.
