How can I design a similar Low Pass Filter as given below which takes into account only 4-connectivity and ignores the pixels that complete 8-connectivity?

enter image description here

  • Do you need to use Envi or can you use Python or R libraries?
    – Aaron
    Dec 26, 2020 at 16:28
  • I am only familiar with Envi but don't know how to design such type of kernel.
    – Autodidact
    Dec 26, 2020 at 16:40

1 Answer 1


I learnt this concept and now I want to answer my own question, I wrote my answer in word so I am just attaching my Snapshot image from word file.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.