Error sentences during load image file (Tif file)

7 Ansichten (letzte 30 Tage)
원화 박
원화 박 am 27 Apr. 2021
Bearbeitet: Walter Roberson am 26 Feb. 2025
Dear friends,
I am now in deep trouble due to some error sentences during load image in my program, as below,
"Error using imwarp>parseInputsDisplacementFieldSyntax (line 316)
The value of 'DisplacementField' is invalid. Expected D to be nonempty."
"Error in imwarp (line 171)
parsedInputs = parseInputsDisplacementFieldSyntax(varargin{:});"
I am very appreciative if you can help me.
Best regards,
WHP

Antworten (1)

Abhinav Aravindan
Abhinav Aravindan am 26 Feb. 2025
I assume you are using the “imwarp” function with a “TIF” image file and “tform” input parameter with a matrix of "double" data type. The "imwarp" function requires its “tform” input to be a geometric transformation object such as “affinetform2d” instead of a matrix of "double" which is likely causing this error.
You may refer to the below documentation for more detail:

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by