[Insight-users] How to solve linear equations in ITK at a faster rate????

Habib Baluwala habibbaluwala at gmail.com
Mon Jun 8 13:34:48 EDT 2009


No John, I am not using a release build . But I wanted to ask u that I had
used a debug build for the installation of my ITK software. Do I then have
to also use the release build for the ITK again and then implement the
release build for my program.


 

John Drescher-2 wrote:
> 
> On Mon, Jun 8, 2009 at 1:20 PM, Habib Baluwala<habibbaluwala at gmail.com>
> wrote:
>>
>> Hi everyone ,
>>                  I needed help in solving the a set of large number of
>> linear equations in ITK. I am currently using the following list of
>> programs
>>
>> vnl_vector<double>x(2*TotVox,0);
>> vnl_sparse_lu linear_solver(A, vnl_sparse_lu::estimate_condition);
>> linear_solver.solve(b,&x);
>>
>> where S is a sparse matrix and b is a vector with all the values and x is
>> the solution that we get at the end of the equation . for a 256*256*2 no
>> of
>> linear equations it takes around 20 minutes which is very large as Matlab
>> solves it in 30 seconds. I look forward to your reply and any help is
>> appreciated.
>>
> Are you using a release build?
> 
> John
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/How-to-solve-linear-equations-in-ITK-at-a-faster-rate-----tp3044304p3044390.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list