<html><body bgcolor="#FFFFFF"><div>What do you mean by partial volume?</div><div><br></div><div>Jothy<br><br>On 14-Oct-2010, at 5:48 PM, Xiaofeng Z <<a href="mailto:xf10036@hotmail.com">xf10036@hotmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>
Do you take into account of partial volume? The dose grid is typically very coarse, I don't think the partial volume can be ignored.<br><br>Xiaofeng Z<br><br><br> <br>
<hr id="stopSpelling">
CC: <a href="mailto:karthik.krishnan@kitware.com">karthik.krishnan@kitware.com</a>; <a href="mailto:vtkusers@vtk.org"><a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a></a><br>From: <a href="mailto:jothybasu@gmail.com"><a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a></a><br>Subject: Re: [vtkusers] Dose Volume Histogram<br>Date: Thu, 14 Oct 2010 17:23:47 +0100<br>To: <a href="mailto:xf10036@hotmail.com"><a href="mailto:xf10036@hotmail.com">xf10036@hotmail.com</a></a><br><br>
<div>If you are speaking from the radiotherapy point of view,it should be done in a different way from what krishnan told. You should first use point-in-polygon method(which is available in vtkPolygon class) to find the voxels inside the structure and using the voxel indices, you could get their respective dose values and use a binning/histogram to bin the dose values to get the dvh along with their volumes.</div>
<div><br></div>
<div>Jothy<br><br>On 14-Oct-2010, at 5:03 PM, Xiaofeng Z <<a href="mailto:xf10036@hotmail.com"><a href="mailto:xf10036@hotmail.com">xf10036@hotmail.com</a></a>> wrote:<br><br></div>
<div></div>
<blockquote>
<div>Hi Karthik, Thanks for your answer. The problem is that I also have a contour and only the volume (area) inside the contour should be included the histogram.<br><br>Xiaofeng Z<br><br><br> <br>
<hr id="ecxstopSpelling">
Date: Thu, 14 Oct 2010 20:14:13 +0530<br>Subject: Re: [vtkusers] Dose Volume Histogram<br>From: <a href="mailto:karthik.krishnan@kitware.com"></a><a href="mailto:karthik.krishnan@kitware.com"><a href="mailto:karthik.krishnan@kitware.com">karthik.krishnan@kitware.com</a></a><br>To: <a href="mailto:xf10036@hotmail.com"></a><a href="mailto:xf10036@hotmail.com"><a href="mailto:xf10036@hotmail.com">xf10036@hotmail.com</a></a><br>CC: <a href="mailto:vtkusers@vtk.org"></a><a href="mailto:vtkusers@vtk.org"><a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a></a><br><br>No there isn't, but it should be relatively straightforward. On your dose image, run vtkContourFilter with isovalues, that evenly split your scalar range into the desired number of bins. Then use vtkMassProperties to compute the area within each dose isocontour and use the charting capability to plot.<br><br>
<div class="ecxgmail_quote">On Thu, Oct 14, 2010 at 7:52 PM, Xiaofeng Z <span dir="ltr"><<a href="mailto:xf10036@hotmail.com"></a><a href="mailto:xf10036@hotmail.com"><a href="mailto:xf10036@hotmail.com">xf10036@hotmail.com</a></a>></span> wrote:<br>
<blockquote style="PADDING-LEFT: 1ex" class="ecxgmail_quote">
<div>Hello VTK users,<br> <br>Is there a function to generate Dose Volume Histogram?<br> <br>A Dose Volume Histogram is, in essence, a histogram of the area vs. intensity within an arbitrary contour i.e. the contour points are not always at pixel center.<br> <br>Thanks!<br><br>Xiaofeng Z<br><br><br></div><br>_______________________________________________<br>Powered by <a href="http://www.kitware.com/" target="_blank"></a><a href="http://www.kitware.com/" target="_blank"><a href="http://www.kitware.com">www.kitware.com</a></a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank"></a><a href="http://www.kitware.com/opensource/opensource.html" target="_blank"><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank"></a><a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank"><a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a></a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank"></a><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank"><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a></a><br><br></blockquote></div><br></div></blockquote>
<blockquote>
<div><span>_______________________________________________</span><br><span>Powered by <a href="http://www.kitware.com/" target="_blank"></a><a href="http://www.kitware.com/" target="_blank"><a href="http://www.kitware.com">www.kitware.com</a></a></span><br><span></span><br><span>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank"></a><a href="http://www.kitware.com/opensource/opensource.html" target="_blank"><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></a></span><br><span></span><br><span>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank"></a><a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank"><a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a></a></span><br><span></span><br><span>Follow this link to subscribe/unsubscribe:</span><br><span><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank"><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a></a></span><br></div></blockquote>                                           
</div></blockquote></body></html>