Undefined function or variable 'centerCropWindow2d'

The following error is thrown .....
Undefined function or variable 'centerCropWindow2d'
What do I need to set to use the method 'centerCropWindow2d'?
Thank you.

Respuestas (1)

Steven Lord
Steven Lord el 30 de Sept. de 2019

0 votos

Do you have Image Processing Toolbox installed and licensed?
Are you using release R2019b or later?
According to this function's documentation page it was introduced as part of Image Processing Toolbox in release R2019b. If you don't have this toolbox or are using an older release you will not be able to use it.

2 comentarios

Luis Marcelo
Luis Marcelo el 1 de Oct. de 2019
Hi Steven,
Thank you for your prompt reply and for the explanation. The university has the license but we are running R2019a release. I guess, I will need to implement my own 'centerCropWindow2d' from the scratch, could you please give me a hint on how to implement this function please.
Thank you.
Lina Koronfel
Lina Koronfel el 22 de Feb. de 2020
I have same question. Following...

Iniciar sesión para comentar.

Categorías

Preguntada:

el 30 de Sept. de 2019

Comentada:

el 22 de Feb. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by