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