Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
As part of a larger project I have images from a Ricoh Theta that I would like to apply (TensorFlow Lite implemented) Object Detection to and then slice vertically for display.

I've found this HOWTO topic https://community.theta360.guide/t/hugin-howto-convert-360-image-to-cropped-flat-panoramic-image/1271

...but I confess that I've not been able to successfully flatten an image.
Assuming that this HOWTO is applicable,  When I run the batch and produce my output file (.tif by default, not JPEG) the image I end up with is just a crop of the "distorted" or "fisheye" photosphere, whereas I expected/wanted to produce an image normalized so that there was no fisheye effect.

1) Is what I expected feasible?
2) Is this an applicable HOWTO?
3a) If not, is there a more appropriate one?
3b) If so, what am I missing?
Thanks
42
Hi,

I have checked the file and discovered that it is a tar-file containing all the other files in the "models-ch3.tar.gz" file.  That must be a mistake.  I will notify the authors of the book.

Best regards,
Frank
43
Hi,


I am going through some examples from F.V. Jensen's book from http://bndg.cs.aau.dk/

Solutions -> Chapter 3-> Models and one called ex.3.10. It is a Dynamic Bayesian Belief Network on testing for infection in cow's milk.

I tried to open the file and it returned the error that the file cannot be loaded: expected 'class' keyword in line 1

Is there something I can do to open that file (attached here)?

Thank you
44
General Discussion / After update align_image_stack just exits with no output
« Last post by hurleyman77 on September 22, 2018, 21:26:21  »
I have a Python script I've been using to experiment with automating something. Up to now, the following lines worked just fine:

Code: [Select]
final_command = "D:/Hugin/bin/align_image_stack -a "+results_directory+" -v -v -t 3 -g 5 -m -d -i -x -y -z --corr=0.85 -c 5000 "+temp_directory+"*.jpg"
print("executing", final_command)
os.system(final_command)

Before, align_image_stack would run, write to the terminal, and align images (with varying degrees of success, but that's another matter). Then I noticed there was a more recent version so I downloaded the .msi (I'm on Windows) and installed it to the same directory. Manually typing and running the result "final_command" also worked just fine.

Now, when these lines execute, align_image_stack seems to launch, but writes nothing to the screen, produces no output, aligns no images. I've tried uninstalling and reinstalling, but no luck. This is also true when I just execute align_image_stack from a terminal, without going through the script at all.

Even with "-v -v" I get zero feedback from align_image_stack so I don't really have any way to even troubleshoot what's going on. I attempted performing a similar operation (stacking many nearly identical images) through the GUI without success. But this task has always proved impenetrable with Hugin, so I'm not sure that's useful as diagnostic data.

I was just beginning to have some success stacking lots of images! Any suggestions?
45
General Discussion / Re: Expressing Fault Tree Analysis in BBN
« Last post by uppglassmel on June 07, 2018, 12:06:16  »
Hej Anders,

Thank you for the tips, I will try it out!

Appreciate your time

/Mel
46
General Discussion / Re: Expressing Fault Tree Analysis in BBN
« Last post by Anders L Madsen on June 06, 2018, 07:09:52  »
Hi Mel,

The "generalization" of OR / AND is MAX / MIN. If you encode false/correct as 0, true/failure as 1, and defective as 2 using Numbered nodes and use MIN/MAX instead of AND/OR, then you should be able to encode the desired CPTs.

The idea is that there must be an order on the states and this is enforced by the use of the Numbered node where 0 would reflect the absence of a cause and higher values reflect a more significant presence of the cause.

Let me know if this works for you.
Anders
47
General Discussion / Re: Expressing Fault Tree Analysis in BBN
« Last post by uppglassmel on June 02, 2018, 21:12:10  »
Hi Anders,

I would like to find out, if I have a node C4 with three states (Correct, Defective, Failure) can the NOISY-ADD still be used to implement a multi-state node as a Fault Tree encoded in a BBN.

As an AND gate:
How C4 should affect C1 is that when C4 = Defective or C4 =Failure, C1 should be simulated as

and P(C1=true|C2=true,C3=true, C4=Defective)=0.3*0.3*0.0099=0.000891

and P(C1=true|C2=true,C3=true, C4=Failure)=0.3*0.3*0.0001=0.000009

and that P(C1=False) whenever either one of or all of C4, C3, C2 takes on (False, Correct)

e.g. P(C1=False|C2=False,C3=False, C4=correct)=0.7*0.7*0.99=0.4851,



And also, as an OR gate, how should one encode it?

P(C1=False) when either C4,C3 and C2 takes on (Correct, False)
P(C1=True) when either C4,C3 and C2 takes on (Defective, Failure, True)


Thank you for your time
48
FAQ / Re: How can I use HUGIN in Matlab?
« Last post by Anders L Madsen on May 16, 2018, 10:00:09  »
The method
Code: [Select]
enterFindingis used for entering evidence on a node. There is also a selectState method to set the node to a specific state.

To change the CPT of the a node you need access the table for the node and manipulate its content. The documentation has a complete example building a network (here referring to the .NET API documentation):
http://download.hugin.com/webdocs/manuals/CS/html/d4648875-d41a-783b-d5f4-638df39ee413.htm#Example%202
Hope this helps
49
FAQ / Re: How can I use HUGIN in Matlab?
« Last post by Son Nguyen on May 11, 2018, 15:44:39  »
Thank you, that does help me understand more. I have another question: How can we manipulate the table (CPT) of a child node in the network. EnterFinding seems useless in this aspect. The function GetTable does work, but the result is just a data variable with the table type and when I try to access it, I get the "Array formation and indexing are not allowed on .NET objects." error. For short, How could a CPT be modified before we compile the network?
50
FAQ / Re: How can I use HUGIN in Matlab?
« Last post by Anders L Madsen on May 05, 2018, 19:10:51  »
Quote
Is it possible to assign multiple nodes into an array in MATLAB and then call them from there instead of "one-by-one" method?

Yes, this should not be a problem. I'm not certain of the exact syntex, but using the HUGIN .NET API it should be something like this:

Code: [Select]
Node []array;
array = new Node[2];
array[0]=A;
array[1]=B;
hope this helps
Pages: 1 ... 3 4 [5] 6 7 ... 10