<div dir="ltr">Hi dears,<div>How can I pass the string as unsigned char to importimagefilter I casted but Just for one character </div><div>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#646482"> </span><span style="color:#808bed">const</span><span style="color:#646482"> </span><span style="color:#808bed">bool</span><span style="color:#646482"> </span>importImageFilterWillOwnTheBuffer<span style="color:#646482"> </span><span style="color:#cfbfad">=</span><span style="color:#646482"> </span><span style="color:#808bed">true</span><span style="color:#cfbfad">;</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#646482"> </span>importFilter<span style="color:#cfbfad">-></span>SetImportPointer<span style="color:#cfbfad">(</span><span style="color:#646482"> </span>localBuffer<span style="color:#cfbfad">,</span><span style="color:#646482"> </span>numberOfPixels<span style="color:#cfbfad">,</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:#646482"> </span>importImageFilterWillOwnTheBuffer<span style="color:#646482"> </span><span style="color:#cfbfad">);</span></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="color:#cfbfad"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px"><span style="color:#cfbfad">thanks in advance</span></pre></div></div>