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
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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.