2D interpolation in a specific region in a given image
I am going to perform two-dimensional (2D) interpolation in a region of interest (ROI) in an image as shown below.
*This image contains two ROIs as enclosed by two colored solid lines. The interpolation is conducted in these regions based on knowledge of the region outside the ROI. In using interp2(x,y,z,xi,yi,'method'), x,y,z are required to be matrices. In either of the two cases, how to construct the matrices?
In the case of the rectangular ROI, e.g., the xi and yi are easy to obtain, but how to form x, y and z, noting that the matrix or grid vectors should be strictly monotonic increasing in coordinate values.
Without the interpolation method, is there any other way to estimated values in the ROI based on values outside the ROI, assuming no abrupt changes?
댓글 수: 0
답변 (1개)
댓글 수: 2
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!