when i tab getimagetype function it appears "Unrecognized function or variable 'getimagetype'."

 Respuesta aceptada

The I and T should be capitalized getImageType. MATLAB is case sensitive.
help getImageType
--- help for imagemodel/getImageType --- getImageType Image type associated with the imagemodel IMGMODEL. IMAGETYPE = getImageType(IMGMODEL) returns the image type associated with the imagemodel IMGMODEL. IMAGETYPE can be 'intensity', 'truecolor', 'binary', or 'indexed'. IMGMODEL is expected to contain one imagemodel object. Example ------- [X,map] = imread('trees.tif'); h = imshow(X,map); im = imagemodel(h); imageType = getImageType(im) Documentation for imagemodel/getImageType doc imagemodel/getImageType

5 comentarios

@Image Analyst, on the documentation page of getImageType() it says "Introduced before R2006a".
@Dyuman Joshi you're right. I was looking at the relase number at the top of the help (which is of course mine, ha ha). I'll correct it.
@mhmd are you still there?
If this Answer solves your original question, then could you please click the "Accept this answer" link to award the answerer with "reputation points" for their efforts in helping you? They'd appreciate it. Thanks in advance. 🙂 Note: you can only accept one answer (so pick the best one) but you can click the "Vote" icon for as many Answers as you want. Voting for an answer will also award reputation points.
@Image Analyst, I have accepted your answer on behalf of @mhmd.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Preguntada:

el 10 de Dic. de 2023

Comentada:

el 19 de Dic. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by