[Insight-users] Using Any Filters

Neha D itkneha@yahoo.com
Mon, 28 Apr 2003 12:45:04 -0700 (PDT)


--0-34999079-1051559104=:29723
Content-Type: text/plain; charset=us-ascii

Hi All, I am trying to use any filter on raw images. Do I need register all those filters to central IO Factory ? I have seen that most of ITK applications/ filters deal with formats like PNG. But I can not use any other format than raw. Raw format is a must for me.  Any input is highly appreciated. Thanks,Neha

Luis Ibanez <luis.ibanez@kitware.com> wrote:
Hi Sateesh,

I agree with you in that 1Gb is too much memory
for performing the registration of your current
images using a single resolution level.

This may require to profile the example closer.
One typical suspect is the computation of derivatives
in the ImageMetric. In any case, it is quite likely
that some intermediate memory is being keept around
without being used.

The option I mention of loading only particular
levels of the pyramid is something you will have to
implement in your applications. This is not a feature
of the current multi-resolution framework.


Regards,


Luis


-------------------

cspl wrote:
> Hi Lius,
> Thanks for ur mail.
> As u said i tried Registration by reducing the number of levels to 
> 1. It is performing registration with out any error but it takes more 
> memory as i said before. It is taking nearly 1000Mb of memory. It is too 
> heavy.
> 
> Now how to load the memory related to particular level of the 
> pyramid. When we are in 1st level we should load only images related to 
> 1st level. Then when we are in 2nd level we should deallocate the 1st 
> level memory and load the second level memory and so on...How to achive 
> this task. I have gone through the documentation of the registration 
> class and pyramid class for any specific function which serves the 
> purpose. But i did not find one...Any other way to achive this.
> 
> I am trying the second method which u have said i.e. subsampling the 
> images, registering them, save the transform parameters and so on.
> 
> Please help in this regard. Time is running out for me.
> 
> Thanks in advance.
> 
> -Regards,
> Sateesh.



_______________________________________________
Insight-users mailing list
Insight-users@public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-users

---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
--0-34999079-1051559104=:29723
Content-Type: text/html; charset=us-ascii

<DIV>Hi All,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am trying to use any filter on raw images. Do I need register all those filters to central IO Factory ? I have seen that most of ITK applications/ filters deal with formats like PNG. But I can not use any other format than raw. Raw format is a must for me. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Any input is highly appreciated. </DIV>
<DIV>Thanks,</DIV>
<DIV>Neha<BR><BR><B><I>Luis Ibanez &lt;luis.ibanez@kitware.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE style="BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px"><BR>Hi Sateesh,<BR><BR>I agree with you in that 1Gb is too much memory<BR>for performing the registration of your current<BR>images using a single resolution level.<BR><BR>This may require to profile the example closer.<BR>One typical suspect is the computation of derivatives<BR>in the ImageMetric. In any case, it is quite likely<BR>that some intermediate memory is being keept around<BR>without being used.<BR><BR>The option I mention of loading only particular<BR>levels of the pyramid is something you will have to<BR>implement in your applications. This is not a feature<BR>of the current multi-resolution framework.<BR><BR><BR>Regards,<BR><BR><BR>Luis<BR><BR><BR>-------------------<BR><BR>cspl wrote:<BR>&gt; Hi Lius,<BR>&gt; Thanks for ur mail.<BR>&gt; As u said i tried Registration by reducing the number of levels to <BR>&gt; 1. It is performing registration with out any error but it takes more <BR>&gt; memory as i said before. It is taking nearly 1000Mb of memory. It is too <BR>&gt; heavy.<BR>&gt; <BR>&gt; Now how to load the memory related to particular level of the <BR>&gt; pyramid. When we are in 1st level we should load only images related to <BR>&gt; 1st level. Then when we are in 2nd level we should deallocate the 1st <BR>&gt; level memory and load the second level memory and so on...How to achive <BR>&gt; this task. I have gone through the documentation of the registration <BR>&gt; class and pyramid class for any specific function which serves the <BR>&gt; purpose. But i did not find one...Any other way to achive this.<BR>&gt; <BR>&gt; I am trying the second method which u have said i.e. subsampling the <BR>&gt; images, registering them, save the transform parameters and so on.<BR>&gt; <BR>&gt; Please help in this regard. Time is running out for me.<BR>&gt; <BR>&gt; Thanks in advance.<BR>&gt; <BR>&gt; -Regards,<BR>&gt; Sateesh.<BR><BR><BR><BR>_______________________________________________<BR>Insight-users mailing list<BR>Insight-users@public.kitware.com<BR>http://public.kitware.com/mailman/listinfo/insight-users</BLOCKQUOTE><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/search/mailsig/*http://search.yahoo.com">The New Yahoo! Search</a> - Faster. Easier. Bingo.
--0-34999079-1051559104=:29723--