Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Rank Filter: Can I pick 3rd value in a cross (now the minimal order is 5th in 3x3 subset)

LabVIEW provided a nice rank filter when we need to pick a middle point value, I can pick a value in 3x3 or 5x5 subset by rank order, like this: 1 0 1 2 5 7 7 5 3 If i set the rank order to 5 in this picture, I will get value 3. because 3 is 5th value in 0,1,1,2,3,5,5,7,7 But my application have really little redundancy, I would like to pick vaule from a 3x3 cross instead of a 3x3 square, like this: x 0 x 2 5 7 x 5 x and now i have only 5 value, I can pick 3rd value in this serial 0,2,5,5,7, there I get 5. The kernel is smaller, and for certain data it is much preferable, also it should take less resource as a side benefit. I'm using FlexRIO for online rank order, is it possible to get the cross 3x3 rank filter working? Thanks!
0 Kudos
Message 1 of 1
(2,900 Views)