Correlated x y displacement in image

조회 수: 1(최근 30일)
Varoujan 2017년 10월 25일
I want to add a time dependent noise to image, which amounts to adding a pixel dependent noise. For this I used "B = imwarp(A,D)" method to accomplish this, where A is an image of size (rows,cols) and the displacement field D is a matrix (rows,cols,2). The problem I am having is that when I have correlated x and y displacement fields, i.e., (:,:,1) and (:,:,2), the imwarp operation doesn't give me a correlated displacement. For instance, if the x and y displacement fields are identical (say, create a radial displacement field and compute 45 degree x and y components), I expect the displacements to be diagonal because both x and y displacement for each pixel is identical. However, what I get is a displacement in x and y independently.
I searched the image processing documentation but I can't seem to find any way to do what I want.


Community Treasure Hunt

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

Start Hunting!

Translated by