MATLAB Answers

Sliding Window through images

4 views (last 30 days)
Aravind Prabhu Gopala Krishnan
Answered: Image Analyst on 25 Jul 2021
Its my final year project based on diagnosis of respiratory diseases using X-rays and CT scans. I was good in building classification algorithms using python, but i dont have prior experience in filtering and enhancing the images using matlab .My professor suggested me to do this below step before classification,
to resize all the input images into a lower resolution e.g. 256x256. Then, implement the sliding window using a frame size, e.g. of 25x25 with a step size of 3 pixels. Then, apply the TIME NL-DoG wavelet filter on the sliding window frames.
Can anybody suggest me the tools are something that helps me to do this process. Dont worry about TIME NL-DOG wavelet filter i have an answers to that part. I need the answer, how to apply that filter by sliding window through image like he said.

Answers (1)

Image Analyst
Image Analyst on 25 Jul 2021
You need to use blockproc() with a slight overlap. I'm attaching my demo. Adapt it as needed.




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!