Sharpen Image After Interpolation
이전 댓글 표시
Hi, I have a matrix/image with interpolation applied. The image consist of "box" regions of same values. At the edge of two box regions, the values are interpolated. Is there a way to remove the interpolation and assign the edges the value of the nearest neighboring box? So in the end the image will look sharp without interpolated values.
e.g. In the example image, the top and bottom data dots belong to different "boxes". At the edge that separate the "boxes", values are interpolated, the middle dot has a value somewhere in beween the top and bottom data dots. I want to replace the middle dot with its nearest neigboring value that was not interpolated.

Original Image

What I want the image to look like (roughly treated with Photoshop)
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Image Category Classification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
