Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Could you please calculate expression

We would like to calculate the expression as follows:

                                 N       N

                                 Σ    Σ   (i+j-2μ)3 p(i,j)

                                i=1  j=1

N is constant equal to 7, μ is variable, and p(i, j) is array,

 

Could you please tell us how to do it by Labview.

 

Thank you very much.

 

With my best regards,

 

Panmanas

0 Kudos
Message 1 of 21
(5,410 Views)
Is this relevant topic to image processing?
Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology



View Waleed El-Badry's profile on LinkedIn

0 Kudos
Message 2 of 21
(5,400 Views)
 Hi panamas,
                     Did you try using the formula node?
                   
Message 3 of 21
(5,397 Views)
muks is very correct. you can try the formula node (if you are familiar with MATLAB syntax)
Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology



View Waleed El-Badry's profile on LinkedIn

0 Kudos
Message 4 of 21
(5,379 Views)
Actually, the formula node uses C syntax.  The mathscript node use Matlab syntax.
 
Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 5 of 21
(5,366 Views)

Dear Waleed EI-Badry, Muks, and Bruce

Thank you very much for you to try to help me.

It is image processing related about texture of the surface.

We tried Formula in Labview but we could not get the result because p(i,j) is array and we need to do loop but we dont understand how to do loop.

So we think we had better ask well experience person that can do it very faster than us.

We dont understand C or Matlab.

Please kindly help us again.

Thank you very much.

With my best regards,

Panmanas

0 Kudos
Message 6 of 21
(5,355 Views)

Dear panmanas,

        please find the attached vi that would evaluate your expression. I hope this helps

Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology



View Waleed El-Badry's profile on LinkedIn

0 Kudos
Message 7 of 21
(5,337 Views)

Dear Waleed El-Badry

Thank you very much indeed. we shall try and study what you do for us.

Please have merry time.

With my best regards,

Panmanas

0 Kudos
Message 8 of 21
(5,312 Views)

I'm not a LABVIEW expert (Mucks is much better than me Smiley Very Happy

My expert domain is in Visual Studio.NET. Even though, I'll be happy to help you with LABVIEW as much as I can.

Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology



View Waleed El-Badry's profile on LinkedIn

0 Kudos
Message 9 of 21
(5,304 Views)

Dear Waleed EI-Badry

 

We have studied your solution and tried to follow you. But our Labview is version 8.0. So we still have problem. We still have broken wire.

Could you please clarify for us again to correct our code in attached file.

 

Thank you very much.

 

With my best regards,

 

Panmanas

0 Kudos
Message 10 of 21
(5,269 Views)