Replacing a Part of an Image
• putregion(M, N, row, col)—Returns the matrix N inserted into matrix M at row row and column col.
Arguments
• M, N are image matrices.
• row, col are positive integers, such that row + rows(N) − 1 < rows(M), and col + cols(N) − 1 < cols(M).