我imwarp
用来修改这样的图像:
WarpedImage=imwarp(Image, tform, 'OutputView', imref2dObject);
我想定义手册中列出的称为“interp”的插值参数:
但是这个:
Interp='nearest';
WarpedImage=imwarp(Image, tform, 'OutputView', imref2dObject, 'Interp', Interp);
给出错误:
Error using imwarp>parseInputs (line 329)
Argument 'Interp' did not match any valid parameter of the parser.
然后:
WarpedImage=imwarp(Image, tform, 'OutputView', imref2dObject, Interp);
给出:
Error using imwarp>parseInputs (line 329)
Parameter 'nearest' does not have a value.
定义此参数的正确方法是什么?