Am Donnerstag, 14. Juni 2018 07:41:38 UTC+2 schrieb 任可:
>
> Hi~ I encountered the same problem as you did.
>

No. The initial post was referring to the photometric optimizer, but you 
are changing the geometric optimizer in libpano13.


> After a deep analysis, a found out that the most time-consuming step of 
> autooptimiser is from lmdif.c of libpano. This file does 
> Levenberg-Marquardt optimisation to find out the relative and absolute 
> positions of the panorama. in the algorithm the program needs to calculate 
> the Jacobian Matrix and QR decomposition of the Jacobian Matrix. 
> Unfortunately the fdjac2() and qrfac() are single-threaded. fdjac2() is 
> easy to parallize and I already did, however the parallization of qrfac() 
> is not easy and I'm sitll working. To access the fdjac2() parallized 
> version, please visit https://github.com/xelmirage/libpano-multithread
>

Sorry, but in this form it is very difficult to see what you changed. The 
biggest commit contains so much changes at once that it is very difficult 
to follow.

Furthermore I have see that you are using the pthread library, but did not 
include the search in the build system.
Then you added a file utils.cpp. Libpano13 is a C library, therefore no cpp 
extension. Also utils.cpp is also missing in the build system (CMake, 
autoconf). And you copied code into utils.cpp without the necessary 
includes (at least for some platforms.)

So in the current form it can't be included in libpano.

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/666cbb13-cf71-4d50-b152-d806df094a49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to