Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have developed a new algorithm in Mathematica v9.0 for the Edge Detection and want to compare it with the existing Roberts, Sobel, Prewitt etc, operators in the presence of Noise.

I have evaluated Mean Square Error (MSE) and Peak Signal to Noise Ratio (PSNR) for all operators and compared with my new algorithm.

But, one more metric parameter I have to evaluate is, for example, Pratt Figure of Merit (Pratt-FOM) in Mathematica. I find it difficult to know how to go about evaluating this Pratt-FOM in Mathematica.

Could anybody help me how to apply the (analytical/mathematical) logic in Mathematica to evaluate Pratt-FOM?

I have to complete it for my homework assignment. I am good in Mathematica, but my friends switch over to MATLAB for coding. But I am sticking to Mathematica for this purpose and trying hard to apply the logic for this.

share|improve this question

closed as off-topic by MarcoB, Yves Klett, m_goldberg, Louis, Kuba Jun 21 at 9:03

This question appears to be off-topic. The users who voted to close gave these specific reasons:

  • "This question cannot be answered without additional information. Questions on problems in code must describe the specific problem and include valid code to reproduce it. Any data used for programming examples should be embedded in the question or code to generate the (fake) data must be included." – Yves Klett, m_goldberg, Kuba
  • "The question is out of scope for this site. The answer to this question requires either advice from Wolfram support or the services of a professional consultant." – MarcoB, Louis
If this question can be reworded to fit the rules in the help center, please edit the question.

    
5  
Because you've said this is a homework problem, people here would prefer to help you solve the problem yourself, rather than give you the answer. But you'll have to start the ball rolling by showing how far you've got. – cormullion Aug 19 '13 at 9:08