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.

Risposte (1)

Steven Lord
Steven Lord il 30 Set 2019
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 Commenti

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.
I have same question. Following...

Accedi per commentare.

Categorie

Richiesto:

il 30 Set 2019

Commentato:

il 22 Feb 2020

Community Treasure Hunt

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

Start Hunting!

Translated by