where to find resizeImage2D ?

1 visualización (últimos 30 días)
Jack Xiao
Jack Xiao el 6 de Mzo. de 2019
Comentada: Steven Lord el 7 de Mzo. de 2019
I searched the matlabroot, but do not find the function, and ' doc' and 'edit' command still find it.
so where to find resizeImage2D ?
捕获asda.PNG

Respuesta aceptada

Steven Lord
Steven Lord el 6 de Mzo. de 2019
It is a function in the nnet.internal.cnnhost package directory. Its name is not resizeImage2D but nnet.internal.cnnhost.resizeImage2D. As the "internal" part of the package name indicates, you should not write code depending on the behavior or existence of this function in a future release.
According to the which function, this function is built-in and so you cannot read the code.
>> which -all nnet.internal.cnnhost.resizeImage2D
resizeImage2D is a built-in method % static method or package function
  4 comentarios
Jack Xiao
Jack Xiao el 7 de Mzo. de 2019
it is from a example demo of matlab. i find it support uint8 data to be single type after resize.
maybe it is from a c file.
i think it is for reducing ram space for gpu computation.
and imresize (the data type won't be changed) will be ok if there is enough gpu ram.
thank you!
Steven Lord
Steven Lord el 7 de Mzo. de 2019
It's built-in and there is no help text for it. Don't write code that depends on it functioning a particular way or even it existing in a future release.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by