Recent Posts

Pages: [1] 2 3 ... 10
1
Hello,

I'm not sure to be on the right forum - I see it seems not very active -, but I try to explain my issue. Sorry also for my English which is far to be perfect.

I'm looking to take photos at the same place and approximative same focal length than done for old photos taken in my town (postal cards). As you may know, a distorsion problem appears. I wonder whether Hugin would be able to correct these distorsions in order to get very similar photos, time/date excepted. The method would consist in having the old and new photos in a window and to select couples of dots on each photos... as we do with Hugin to assemble photos in a panoramic view... and then, execute the computation in order to apply a distorsion correction on one of the photos.

Does this feature exist ? If not, I think it wouldn't be a great challenge to add it ? Do you agree ?

Best regards,
Piblo (a French amateur photograph)
2
RHUGIN / Problem running RHugin using latest version of HUGIN
« Last post by Anders L Madsen on April 20, 2020, 10:40:31  »
The RHugin plugin (https://github.com/huginexpert/RHugin) searches for the HUGIN installation is a specific location. This location is no longer used to install HUGIN software.

Here is how to solve the issue on the Windows platform:

RHugin tries to locate the Hugin installation, but fails because the naming of the Hugin directory has changed.  Try the following workaround:
  • Start a “Command Prompt” with “Run as Administartor” privileges.
  • CD to the directory that contains the Hugin installation ("C:\Program Files\Hugin Expert").
  • Run this command: mklink /D "Hugin Researcher 8.8 (x64)" "HUGIN 8.8 (x64)"
     

Notice the Hugin/HUGIN distinction in the mklink-command.

Then follow the instructions for installing the RHugin package.
3
Thank you
4
P(e) is the probability of the evidence. E.g., if you have entered X=x and Y=y (assuming discrete nodes), then P(e)=P(X=x,Y=y).

It is calculated as the normalization constant after propagation of evidence in the junction tree.

Anders
5
General Discussion / What does P(e) stands for and How does Hugin calculates it?
« Last post by utkarshani on February 26, 2020, 19:27:07  »
What does P(e) stand for and How does Hugin calculate it?
6
FAQ / Re: How can I use HUGIN in Matlab?
« Last post by Anders L Madsen on February 06, 2020, 20:08:03  »
Due to an update in Matlab (version 2018a), the access to enums has changed. The above code should be updated to something like this:

Code: [Select]

ghapi = NET.addAssembly ('C:\Program Files\Hugin Expert\HUGIN 8.8 (x64)\HDE8.8CS\Lib\hugincs-8.8-2.0-x64.dll');
myEquilibirumEnumHandle = ghapi.AssemblyHandle.GetType('HAPI.Domain+Equilibrium');
myEvidenceModeEnumHandle2 = ghapi.AssemblyHandle.GetType('HAPI.Domain+EvidenceMode');

d = HAPI.Domain ('C:\Program Files\Hugin Expert\HUGIN 8.8 (x64)\Samples\ChestClinic.net', HAPI.DefaultClassParseListener);
L = d.GetNodeByName ('L');
d.Compile ();
L.GetBelief (0)
%ans =
%    0.0550
L.GetBelief (1)
%ans =
%    0.9450

X = d.GetNodeByName ('X');
X.SelectState (0);
d.Propagate (myEquilibirumEnumHandle.GetEnumValues().Get(1), myEvidenceModeEnumHandle2.GetEnumValues().Get(0));
L.GetBelief (0)
% %ans =
% %    0.4887
 L.GetBelief (1)
% %ans =
% %    0.5113
7
FAQ / CLI install documentation HUGIN 8.7
« Last post by Anders L Madsen on October 18, 2019, 09:59:10  »
The following command-line is known to work (April 2019):

msiexec /i HuginDist87(x64).msi /L*v SilentInstallation.log /quiet PATH_LICENSE="C:\TMP\LICENSE-8.7"

A couple of words on the installation:
  • The PATH_LICENSE is of course the path to the location of the HUGIN License file.
  • The .MSI file does not perform a cryptographic check of the License Key - only a shallow sanity check. The deep check is performed every time HUGIN is launched. Therefore you must launch HUGIN to be sure that everything is working properly.
  • The .MSI file will write the license to the location: C:\ProgramData\Hugin Expert. If anything goes wrong, the file can be manually copied to this location.
   
   
8
HUGIN GUI Discussion / Re: Temporal Nodes
« Last post by MarcoGV on October 10, 2019, 16:47:16  »
Dear Anders,

Thank you!

Best regards,

 Marco
9
HUGIN GUI Discussion / Re: Temporal Nodes
« Last post by Anders L Madsen on October 08, 2019, 21:38:31  »
Dear Marco,

The number of time slices is set under "Network->Network Properties->DBN".

Hope this helps
Anders
10
HUGIN GUI Discussion / Temporal Nodes
« Last post by MarcoGV on October 08, 2019, 17:48:51  »
Dear all,

I have been to use temporal nodes in Hugin 8.1 and 8.4.  I do not see a way to specify the number of slices: I get five slices, and that is it.  I suspect that there is a way to change this number, but I cannot see how.  Any help or advice will be welcome.

Best regards,

 Marco
Pages: [1] 2 3 ... 10