Fortune Telling Collection - Comprehensive fortune-telling - How to eliminate high-order diffraction image by matlab computer holography

How to eliminate high-order diffraction image by matlab computer holography

Suppose a is the matrix of image representation, value is a gray value, and num is the number of pixels of the gray value in image A, then: [r, c] = find (a = = value); Num = length (r); Or num = num = sum(sum(A = = value)););