Resizing in MATLAB w/ different filters

前端 未结 3 1017
离开以前
离开以前 2020-12-12 02:54

I have an image. I want to resize it to double the original size, filling in the new pixels by interpolation. I need to specify which type of interpolation I want to use.

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-12 03:02

    Amro is right that the median filter cannot be computed as a weighted response. But MATLAB has a specific function for the median filter: medfilt2.

提交回复
热议问题