<div>Hi Anka and Gok</div>
<div>&nbsp;</div>
<div>here is my code <font size="2"></font></div>
<p>ReaderType::Pointer reader3 = ReaderType::New();</p>
<p>ConnectorType::Pointer connector = ConnectorType::New();</p>
<p>reader3-&gt;SetFileName(<font color="#800000" size="2">&quot;input.png&quot;</font><font size="2"> );</font></p>
<p><font size="2">connector-&gt;SetInput(reader3-&gt;GetOutput()); </font></p>
<p></p>
<p></p>
<p><font size="2">viewer-&gt;SetInput(connector-&gt;GetOutput());</font></p>
<p>viewer-&gt;Render();</p>
<p>viewer-&gt;SetColorWindow(150);</p>
<p>viewer-&gt;SetColorLevel(128);</p>
<p></p>
<div>Where to&nbsp; reset camera clipping range...............</div>
<div>&nbsp;</div>
<div>BW</div>
<div>GP</div>
<div><br>&nbsp;</div>
<div class="gmail_quote">On Mon, Mar 31, 2008 at 11:16 AM, Anka Kochanowska &lt;<a href="mailto:anka@bic.mni.mcgill.ca" target="_blank">anka@bic.mni.mcgill.ca</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi!<br>I had this problem and solbved it resetting camera clipping range, I<br>don&#39;t know if it will help in your case.<br>
Anka<br>
<div>
<div></div>
<div><br>gp kekule wrote:<br>&gt; Dear VTK users<br>&gt;<br>&gt; I am facing problem with VTK output window..... It comes and<br>&gt; dissapears. There is no error in the code.<br>&gt;<br>&gt; This is the message from output window....<br>
&gt;<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\ITKTrial\Difference\debug\itkSubtractImageFilter.exe&#39;, Symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\ntdll.dll&#39;,<br>
&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\kernel32.dll&#39;, No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\snmpapi.dll&#39;, No symbols loaded.<br>
&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\msvcrt.dll&#39;,<br>&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\ws2_32.dll&#39;,<br>
&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\ws2help.dll&#39;, No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\advapi32.dll&#39;, No symbols loaded.<br>
&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\rpcrt4.dll&#39;,<br>&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\secur32.dll&#39;, No symbols loaded.<br>
&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\wsock32.dll&#39;, No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\opengl32.dll&#39;, No symbols loaded.<br>
&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\gdi32.dll&#39;,<br>&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\user32.dll&#39;,<br>
&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\glu32.dll&#39;,<br>&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\ddraw.dll&#39;,<br>
&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\dciman32.dll&#39;, No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcp80d.dll&#39;,<br>
&gt; Symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcr80d.dll&#39;,<br>&gt; Symbols loaded.<br>
&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\imm32.dll&#39;,<br>&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\Program Files\Sophos\Sophos<br>
&gt; Anti-Virus\sophos_detoured.dll&#39;, No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\psapi.dll&#39;,<br>&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Unloaded &#39;C:\Program Files\Sophos\Sophos<br>
&gt; Anti-Virus\sophos_detoured.dll&#39;<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Unloaded &#39;C:\WINDOWS\system32\psapi.dll&#39;<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\inetmib1.dll&#39;, No symbols loaded.<br>
&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\iphlpapi.dll&#39;, No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\mprapi.dll&#39;,<br>
&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\activeds.dll&#39;, No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\adsldpc.dll&#39;, No symbols loaded.<br>
&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\netapi32.dll&#39;, No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\wldap32.dll&#39;, No symbols loaded.<br>
&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\atl.dll&#39;, No<br>&gt; symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\ole32.dll&#39;,<br>
&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\oleaut32.dll&#39;, No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\rtutils.dll&#39;, No symbols loaded.<br>
&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\samlib.dll&#39;,<br>&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\setupapi.dll&#39;, No symbols loaded.<br>
&gt;<br>&gt; The thread &#39;Win32 Thread&#39; (0x148) has exited with code 0 (0x0).<br>&gt;<br>&gt; The thread &#39;Win32 Thread&#39; (0xe24) has exited with code 0 (0x0).<br>&gt;<br>&gt; The thread &#39;Win32 Thread&#39; (0xf00) has exited with code 0 (0x0).<br>
&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\uxtheme.dll&#39;, No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\MSCTF.dll&#39;,<br>
&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\SynTPFcs.dll&#39;, Binary was not built with debug<br>&gt; information.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>
&gt; &#39;C:\WINDOWS\system32\version.dll&#39;, No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\MSCTFIME.IME&#39;, No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>
&gt; &#39;C:\WINDOWS\system32\BtMmHook.dll&#39;, Binary was not built with debug<br>&gt; information.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\ig4icd32.dll&#39;, Binary was not built with debug<br>
&gt; information.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded<br>&gt; &#39;C:\WINDOWS\system32\ig4dev32.dll&#39;, Binary was not built with debug<br>&gt; information.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Loaded &#39;C:\WINDOWS\system32\mcd32.dll&#39;,<br>
&gt; No symbols loaded.<br>&gt;<br>&gt; &#39;itkSubtractImageFilter.exe&#39;: Unloaded &#39;C:\WINDOWS\system32\mcd32.dll&#39;<br>&gt;<br>&gt; The program &#39;[3680] itkSubtractImageFilter.exe: Native&#39; has exited<br>
&gt; with code 0 (0x0).<br>&gt;<br></div></div>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; This is the private VTK discussion list.<br>
&gt; Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br></blockquote></div><br>