Thank Mickaël

I find in 
http://www.orfeo-toolbox.org/Doxygen/classotb_1_1ImageToSURFKeyPointSetFilter.htm
 this 
class has 
ThreadedGenerateData<http://www.orfeo-toolbox.org/Doxygen/classotb_1_1ImageToPointSetFilter.html#a4f936468caec6fa855114a21338c156b>
() in Protected Member Functions. I seem already multi-threaded.
เมื่อ วันอังคารที่ 24 ธันวาคม ค.ศ. 2013, 17 นาฬิกา 42 นาที 32 วินาที UTC+7, 
Mickaël Savinaud เขียนว่า:
>
> Hi, 
> Have you take a look into the classes. 
> If they have a threadedGenerateData, they are already multi-threaded.   
> If not they are threadable. 
> Best 
> Micka�l 
> wijuk pruksuriya <[email protected] <javascript:>> a �crit�: 
>
> > Hello 
> > 
> > I have a problem about multi-thread. In my code use SURF to detect 
> keypoint 
> > and use KeyPointSetsMatchingFilter to matching its. 
> > 
> > I want to know how can I use   
> > ImageToSURFKeyPointSetFilter<
> http://www.orfeo-toolbox.org/doxygen/otbImageToSURFKeyPointSetFilter_8h_source.html>
>  
>
> >  and   
> > KeyPointSetsMatchingFilter<
> http://www.orfeo-toolbox.org/doxygen/otbKeyPointSetsMatchingFilter_8h_source.html>
>  
>   
> > with 
> > multi-threads. 
> > 
> > 
> > 
> > typedef otb::ImageToSIFTKeyPointSetFilter<ImageType, PointSetType> 
> > ImageToSIFTKeyPointSetFilterType; 
> > 
> > ImageToSURFKeyPointSetFilterType::Pointer filter1 = 
> > ImageToSURFKeyPointSetFilterType::New(); 
> > ImageToSURFKeyPointSetFilterType::Pointer filter2 = 
> > ImageToSURFKeyPointSetFilterType::New(); 
> > 
> > filter1->SetInput(fixedReader->GetOutput()); 
> > filter1->SetOctavesNumber(octaves); 
> > filter1->SetScalesNumber(scales); 
> > filter1->SetNumberOfThreads(6); 
> > 
> > filter2->SetInput(movingReader->GetOutput()); 
> > filter2->SetOctavesNumber(octaves); 
> > filter2->SetScalesNumber(scales); 
> > filter2->SetNumberOfThreads(1); 
> > euclideanMatcher->SetInput1(filter1->GetOutput()); 
> > euclideanMatcher->SetInput2(filter2->GetOutput()); 
> > euclideanMatcher->SetDistanceThreshold(secondOrderThreshold); 
> > euclideanMatcher->SetUseBackMatching(useBackMatching); 
> > euclideanMatcher->Update(); 
> > 
> > 
> > Thank for suggestion. 
> > 
> > -- 
> > -- 
> > Check the OTB FAQ at 
> > http://www.orfeo-toolbox.org/FAQ.html 
> > 
> > You received this message because you are subscribed to the Google 
> > Groups "otb-users" group. 
> > To post to this group, send email to [email protected]<javascript:> 
> > To unsubscribe from this group, send email to 
> > [email protected] <javascript:> 
> > For more options, visit this group at 
> > http://groups.google.com/group/otb-users?hl=en 
> > --- 
> > You received this message because you are subscribed to the Google   
> > Groups "otb-users" group. 
> > To unsubscribe from this group and stop receiving emails from it,   
> > send an email to [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
>
>
>
> ---------------------------------------------------------------- 
> This message was sent using IMP, the Internet Messaging Program. 
>
>
>

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to