필터 지우기
필터 지우기

reverse transformation for scale up 2 times for rows and 1.6 times for columns(a image), don't use MATLAB or any other build-in functions imwarp

조회 수: 2 (최근 30일)
first time use matlab to code, can anyone tell me how to use inv(T) to inverse image matrix without imwrap.
like:
inp=imread('cat,jpg');
figure, imshow(inp);axis on
[M,N]=size(inp);
T=[2,0,0;0,1.6,0;0,0,1];
Tinv=inv(T);
is this right? and I don't know how to continue, please help meQAQ.

답변 (1개)

Swetha Polemoni
Swetha Polemoni 2021년 9월 16일
Hi
Inverse of matrix can be found by inv. It is my understanding that you want to find the inverse of your image 'inp'. The following code snippet might help you.
inp = imread('cat.jpg');
imageInverse = inv(inp);

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by