<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><FONT color=#0000ff size=3>Hello , vtkusers ,</FONT><BR>
<FONT color=#0000ff size=3></FONT>&nbsp;<BR>
<FONT color=#0000ff size=3>&nbsp;&nbsp;&nbsp; My friend ask me&nbsp;to help him build a histogram&nbsp;with one DICOM image&nbsp;, so I&nbsp;consult&nbsp;a lot of </FONT><BR>
<FONT color=#0000ff size=3>information&nbsp;of VTK&nbsp;, and I find a class : vtkImageAccumulate&nbsp;at last . however&nbsp;, using this class ,&nbsp;I can </FONT><BR>
<FONT color=#0000ff size=3>only get a&nbsp;1D histogram , or in other words , what I get&nbsp;is&nbsp;just&nbsp;the white " point cloud "&nbsp;.</FONT><BR>
<FONT color=#0000ff size=3>&nbsp;&nbsp;&nbsp;&nbsp;from another example : HistogramWidget.tcl , I find you should use the class vtkTkImageViewerWidget </FONT><BR>
<FONT color=#0000ff size=3>if you want to build a 2D histogram&nbsp;. but&nbsp;I use VC++ ,&nbsp;not tcl/tk&nbsp;.</FONT><BR>
<FONT color=#0000ff size=3>&nbsp;&nbsp;&nbsp; So , my question is :&nbsp;Can I build a 2D histogram with VTK and VC++ ? if it is so , how should I do ?</FONT><BR>
<FONT color=#0000ff size=3></FONT>&nbsp;<BR>
<FONT color=#0000ff size=3>&nbsp;&nbsp;&nbsp; thank you with great regards !</FONT><BR>
<FONT color=#0000ff size=3></FONT>&nbsp;<BR>
<FONT color=#0000ff size=3></FONT>&nbsp;<BR>
<FONT color=#0000ff size=3>&nbsp;&nbsp;&nbsp; Mark</FONT><BR><br /><hr />用 Windows Live Spaces 展示个性自我,与好友分享生活!  <a href='http://spaces.live.com/?page=HP' target='_new'>了解更多信息!</a></body>
</html>