I had a eye thickness scanning picture,I need to shift the center, therefore I had to use imtranslate. However I had an issue on this. It return Error using imtranslate>parseInputs (line 427) The value of 'A' is invalid. Expected A to be finite.
Error in imtranslate (line 131) [A,translation,method,outputView,fillValues] = parseInputs(varargin{:});
When I try other image matrix, it didn't happen. The eye thickness image is a double matrix.

 Réponse acceptée

Walter Roberson
Walter Roberson le 20 Mai 2016

0 votes

Some of your data is -inf or +inf or nan.

2 commentaires

Marco Yu
Marco Yu le 20 Mai 2016
yes,I have some data is nan thank you
Marco Yu
Marco Yu le 20 Mai 2016
problem solved

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by