Save the image on resliced viewer as DICOM data

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Save the image on resliced viewer as DICOM data

Chiyoko Koujima
Hi,
I'm trying to save the image data on resliced viewer as DICOM data in order to change WW,WL.
Position and angle also in the same as look.
In a way that I used it takes 20 seconds per sheet.
And it is an error to be processed in the background.
Made data seem to have the wrong part...

Do anyone knows better way?

in my way:

var polyData = cutter.GetOutput();
var pointData = polyData.GetPointData();
var scalars = (vtkShortArray)pointData.GetScalars();
var point = polyData.FindPoint(x, y, 0); // this step takes a long time
var value = scalars.GetValue(point);

in this way I don't use data on reslice viewer. But actually I want to use data on resliced viewer.

Regards,
Chiyoko
Reply | Threaded
Open this post in threaded view
|

Re: Save the image on resliced viewer as DICOM data

Matimont
I don't think I quite understand your question, can you elaborate a bit more?

El mar., 19 de abr. de 2016 a la(s) 00:02, Chiyoko Koujima <[hidden email]> escribió:
Hi,
I'm trying to save the image data on resliced viewer as DICOM data in order
to change WW,WL.
Position and angle also in the same as look.
In a way that I used it takes 20 seconds per sheet.
And it is an error to be processed in the background.
Made data seem to have the wrong part...

Do anyone knows better way?

in my way:

var polyData = cutter.GetOutput();
var pointData = polyData.GetPointData();
var scalars = (vtkShortArray)pointData.GetScalars();
var point = polyData.FindPoint(x, y, 0); // this step takes a long time
var value = scalars.GetValue(point);

in this way I don't use data on reslice viewer. But actually I want to use
data on resliced viewer.

Regards,
Chiyoko



--
View this message in context: http://vtk.1045678.n5.nabble.com/Save-the-image-on-resliced-viewer-as-DICOM-data-tp5737769.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
--
Matias

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers