Recent Posts

Pages: [1] 2 3 ... 10
1
FAQ / Re: How can I use HUGIN in Matlab?
« Last post by Anders L Madsen on February 17, 2018, 22:02:54  »
Hello,

This line of code is not correct:
Code: [Select]
A_table=d.GetTable ('A');
You should invoke GetTable on A as in:
Code: [Select]
A_table=A.GetTable ();
The node A has a table (a representation of its CPT).

hope this helps
Anders
2
FAQ / Re: How can I use HUGIN in Matlab?
« Last post by MatteoV on February 15, 2018, 16:33:26  »
Dear Anders,

Please find attached the .m file and the corresponding Hugin file.

Hope this helps!

Thank you!!!

3
FAQ / Re: How can I use HUGIN in Matlab?
« Last post by Anders L Madsen on February 09, 2018, 19:50:57  »
Hi,

Domain does not have a table. You need to access the node. Can you send the code that produces the error?
4
FAQ / Re: How can I use HUGIN in Matlab?
« Last post by MatteoV on February 09, 2018, 19:01:50  »
Hi,

Thank you for this topic and short code.
I need to use Hugin with Matlab for a case study. I do know that using C++ I can specify the prior distribution of a node (A) by using a simple code as follows:

Table *table = A->getTable ();
  NumberList data = table->getData ();

  data[0] = 0.5;
  data[1] = 0.4;
  data[2] = 0.1;
  table->setData (data);

Within the Matlab framework, thanks to your suggestion, I am able to get the name name, Select the state (SelectState) and retrieving the belief of the network node by using GetBelief. However, I am not able to assign the prior distribution of to a node. In fact, I get the following error message "No appropriate method, property, or field 'GetTable' for class 'HAPI.Domain'." or "No appropriate method, property, or field 'getTable' for class 'HAPI.Domain'. "

I do have this problem also with other command, such as getName, getMean etc.

Do you kindly have any suggestion for this?

Thanks a lot!

Any possible solution?
5
HUGIN GUI Discussion / Re: Align Pics for Focus Stacking
« Last post by Anders L Madsen on January 03, 2018, 10:06:30  »
Hello,

Are you aware that our HUGIN is a tool for probabilistic graphical models?

Best regards
anders
6
HUGIN GUI Discussion / Align Pics for Focus Stacking
« Last post by Francois Edelin on December 03, 2017, 20:11:08  »
Hello Folks,
I often do macro with focus stacking and since I moved to Linux a get rid to all non free and/or non "libre" software.
So I want to get rid of Helicon/Zerene and use Hugin instead as well.
Unfortunately, where the two mentionned above align the pic series correctly, I just can't find the right setup with align_image_stack to achieve the same sharpness once they are "enfused"...
Notes : photo series are shooted with professionnal equipment in ideal conditions (tripod, macro, mini-studio, smooth focus adjsutement, etc.)

Anyone experienced in that to advice?

Thank you in advance
Francois
7
General Discussion / Re: Problems while creating HDR images
« Last post by Anders L Madsen on October 17, 2017, 17:31:59  »
Our HUGIN is a tool for probabilistic graphical models (see www.hugin.com).
8
C# / Re: Run-time error 429: Active X component can't create object
« Last post by Anders L Madsen on October 17, 2017, 16:32:11  »
Hi Olivia,

Good to hear from you.

It seems like the HUGIN version and MS Excel version are misaligned. You need to make sure that both are either 32-bit or 64-bit. They cannot be mixed.

If your MS Excel is 32-bit, then you need to use HUGIN Deverloper 32-bit. You should be able to install HUGIN Developer 32-bit next to your 64-bit. They should not conflict.

Hope this helps.
Anders
9
C# / Run-time error 429: Active X component can't create object
« Last post by Olivia Mahaux on October 10, 2017, 10:57:09  »
Hi,

I saw a same topic in active X discussion however it doesn't relate to the issue I have apparently (sorry I am not a VBA expert).
I have Hugin Developer 8.3 (x64) installed, I developed API with C and this is working perfectly fine. Now I tried to develop some simple codes with COM and got the error message in subject (see also enclosed attachment). The code seems OK according to COM documentation available online. I added the HuginCOM-8_3-2_0-x64 library to the Microsoft visual basic references. I am pretty sure this is an issue with the VBA but don't know how to fix it. Could you please help?
Can this be linked to the version of Microsoft visual studio I have installed? (I have version 8 perhaps not in x64)
Thanks a lot
10
General Discussion / Re: Problems while creating HDR images
« Last post by starbright on October 08, 2017, 14:41:24  »
2nd image
Pages: [1] 2 3 ... 10