<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello,<div><br></div><div>This error message indicates there is a constant qualifier for the result of the GetOutput method, and that there is no conversion to the non-const SmartPointer.</div><div><br></div><div>You need to use a ConstPointer type.</div><div><br></div><div><div><div>On Oct 27, 2014, at 10:48 AM, Zein Salah <<a href="mailto:zeinsalah@gmail.com">zeinsalah@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">error C2440: 'Initialisierung': 'const itk::Statistics::Histogram<TMeasurement,VMeasurementVectorSize,TFrequencyContainer> *' kann nicht in 'itk::SmartPointer<TObjectType>' konvertiert werden</span></blockquote></div><br></div></body></html>