Re: [hugin-ptx] opencv based CP detector for use with Hugin?

2023-09-07 Thread Harry van der Wolf
Yes, it is already there in opencv and works pretty well.
There are multiple algorithms can do the "control point find" and multiple
algorithms like the MergeMertens that can be combined as well.
And it also contains blending algorithms.

I did some work in Python. Not in C.

Take a look at
https://www.opencvhelp.org/tutorials/advanced/panorama-creation/

Harry

Op do 7 sep 2023 om 17:07 schreef Robert Mahar :

> Hi,
>
> I've been using Hugin for a decade and for the most part can get it to do
> even difficult projects pretty easily.But I have a couple microchip
> photography projects for which cpfind either finds no control points or a
> pile of extraneous ones.
>
> Before I go crazy trying to make a cpfind like tool that speaks .pto
> files, and so on, I'm wondering if such a thing already exists to enable
> the use of the feature detection / mapping built into opencv.   I cannot
> imagine I am the first person on the planet to want to do this.   ( If I m
> I guess I should start coding. )
>
> -- Bob
>
> --
> 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 hugin-ptx+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/hugin-ptx/6e8fafa1-2884-4bfb-8f5f-ab973b0ba669n%40googlegroups.com
> 
> .
>

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CAGARPpu04OQqV%2BTg9OboHv7DN6U_cM67PsPBsyvX7hZOFHkUCA%40mail.gmail.com.


Re: [hugin-ptx] Re: libpano13-2.9.22 release candidate rc2

2023-09-07 Thread T. Modes
I will look at the changes.
But that you put all changes into one big patch makes is difficult to test 
or comment on single issues.
But some comments:
* you are fixing the warning for a specific version of a specific compiler. 
Other compiles or even other versions the same compiler will throw warnings 
on different issues. So fixing all warnings for all compilers and all it 
version (especially for a platform independent way) is a lot of work with 
only little benefits.
* Your changes break the ABI again, this is something which we would 
prevent in this release.
* You did also white spaces changes and introduced a mixed indentation 
style.

Thomas

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/7b149cca-a00a-49c4-aa1f-b139d4be7630n%40googlegroups.com.


Re: [hugin-ptx] opencv based CP detector for use with Hugin?

2023-09-07 Thread Rod Bibeau
So my use case is a bit different but maybe helpful -

I had a bunch of panos from my drone with lots of water and/or snow
that cause some images to not find CP's. My solution is not perfect, I
am confident, but works for the most part - Basically, I took a PTO
file that had all the images linked and used it as a template and then
incorporated the template into my pano script.  While the results are
not perfect, they are much better than having large holes in the image
or water where the sky should be.

My git repository for this needs to be updated some, but here is the
script - 
https://github.com/RookieITSec/HuginPanoScript/blob/main/PanoScript-Queue-v2.bat




On Thu, Sep 7, 2023 at 10:07 AM Robert Mahar  wrote:
>
> Hi,
>
> I've been using Hugin for a decade and for the most part can get it to do 
> even difficult projects pretty easily.But I have a couple microchip 
> photography projects for which cpfind either finds no control points or a 
> pile of extraneous ones.
>
> Before I go crazy trying to make a cpfind like tool that speaks .pto files, 
> and so on, I'm wondering if such a thing already exists to enable the use of 
> the feature detection / mapping built into opencv.   I cannot imagine I am 
> the first person on the planet to want to do this.   ( If I m I guess I 
> should start coding. )
>
> -- Bob
>
> --
> 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 hugin-ptx+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/hugin-ptx/6e8fafa1-2884-4bfb-8f5f-ab973b0ba669n%40googlegroups.com.

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CACEZAMMUF4FOpr-TnUXgJ3L6PPBQxTW5%2BgVp4ytpMe1WbW74yw%40mail.gmail.com.


Re: [hugin-ptx] Re: SkyFill tutorials completed

2023-09-07 Thread Rod Bibeau
Thank you!  I will give this a try.

As for my use case, I am attempting to fill in the tops of images like
this - https://1drv.ms/f/s!Ah3sXKXawuGfgaQlgH14Q6u0SylHuw?e=Dia5XB
Specifically attempting to script a solution that I can use in an
automated manner due to the thousands of Panos' I have taken.  Output
Pano image from my script - 100_0278.jpg and the same image from the
drone that does the stitching/fill automatically, but in poor quality
(and omits exif gps data) -
dji_fly_20230814_210712_278_1692061764447_pano_optimized.jpg


On Thu, Sep 7, 2023 at 10:09 AM T. Modes  wrote:
>
>
>
> PanoSeek schrieb am Dienstag, 5. September 2023 um 20:48:35 UTC+2:
>
>
> Here is what I have done so far -
>
> setup directories
> git clone the repo to the local directory - git clone 
> https://github.com/weltyj/SkyFill
> Installed cmake 3.27.4
> Installed tiff-3.8.2-1.exe to the same directory as the clone of the repo.
>
> I don't know what this file is. But the libtiff library has to be compiled 
> with the same compiler as the one you are using for skyfill.
> Probably they don't match. (From the name libtiff could be from gcc and you 
> are compiling skyfill with Visual Studio, just guessing.)
>
>
> added a few lines to the cmakelists.txt file as I could not get the find 
> package to work.
>
>
>
> 5. added a few lines to the makelists.txt file as I could not get the find 
> package to work.
>
> 6. ran cmake from the \build directory - cmake C:\Users\Rod\SkyFill\
> 7. Opened the solution in visual studio community 2022
> 8. tweaked the projects include locations because it was still not finding 
> the TIFF files it needed.
>
> CMake does not work this way. You should not modify the CMakeLists.txt file. 
> Instead enter the correct path in the CMake-GUI.
>
>
> 9. Attempted Build and got 9 errors like this- Severity Code Description 
> Project File Line Suppression State
> Error LNK2019 unresolved external symbol __imp__TIFFmalloc referenced in 
> function read_tif_image skyfill C:\Users\Rod\SkyFill\Build\skyfill_tif.obj 1
>
> At this time, I have no idea why I cannot get it to compile.
>
> So above.
>
> Also Hugin has the fill edges option to fill missing edges. Not sure if this 
> would also work in your usecase.
>
> Thomas
>
> --
> 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 hugin-ptx+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/hugin-ptx/0fd605b3-c90e-402e-8ae0-5b4cdca32125n%40googlegroups.com.

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CACEZAMN3D6OeNZCaCSfA0OAqJR4pf8Xd6poKt_ZY_nRri2iPDA%40mail.gmail.com.


[hugin-ptx] Re: SkyFill tutorials completed

2023-09-07 Thread T. Modes


PanoSeek schrieb am Dienstag, 5. September 2023 um 20:48:35 UTC+2:


Here is what I have done so far - 

   1. setup directories 
   2. git clone the repo to the local directory - git clone 
   https://github.com/weltyj/SkyFill
   3. Installed cmake 3.27.4
   4. Installed tiff-3.8.2-1.exe to the same directory as the clone of the 
   repo.

I don't know what this file is. But the libtiff library has to be compiled 
with the same compiler as the one you are using for skyfill.
Probably they don't match. (From the name libtiff could be from gcc and you 
are compiling skyfill with Visual Studio, just guessing.)
 
   
   1. added a few lines to the cmakelists.txt file as I could not get the 
   find package to work.

 

5. added a few lines to the makelists.txt file as I could not get the find 
package to work. 

6. ran cmake from the \build directory - cmake C:\Users\Rod\SkyFill\
7. Opened the solution in visual studio community 2022
8. tweaked the projects include locations because it was still not finding 
the TIFF files it needed.

CMake does not work this way. You should not modify the CMakeLists.txt 
file. Instead enter the correct path in the CMake-GUI.
 

9. Attempted Build and got 9 errors like this- Severity Code Description 
Project File Line Suppression State
Error LNK2019 unresolved external symbol __imp__TIFFmalloc referenced in 
function read_tif_image skyfill C:\Users\Rod\SkyFill\Build\skyfill_tif.obj 1 

At this time, I have no idea why I cannot get it to compile. 

So above.

Also Hugin has the fill edges option to fill missing edges. Not sure if 
this would also work in your usecase.

Thomas

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/0fd605b3-c90e-402e-8ae0-5b4cdca32125n%40googlegroups.com.


[hugin-ptx] opencv based CP detector for use with Hugin?

2023-09-07 Thread Robert Mahar
Hi,

I've been using Hugin for a decade and for the most part can get it to do 
even difficult projects pretty easily.But I have a couple microchip 
photography projects for which cpfind either finds no control points or a 
pile of extraneous ones.

Before I go crazy trying to make a cpfind like tool that speaks .pto files, 
and so on, I'm wondering if such a thing already exists to enable the use 
of the feature detection / mapping built into opencv.   I cannot imagine I 
am the first person on the planet to want to do this.   ( If I m I guess I 
should start coding. )

-- Bob

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/6e8fafa1-2884-4bfb-8f5f-ab973b0ba669n%40googlegroups.com.