Filter löschen
Filter löschen

SQRT function doesn't work on uint16 image type

15 Ansichten (letzte 30 Tage)
Imam
Imam am 10 Dez. 2014
Kommentiert: Star Strider am 10 Dez. 2014
So, my problem is: I have to load an image in png format an represent it as a matrix. I can do it with imread. But as soon as I performed function like sqrt it shows error message:
Undefined function 'sqrt' for input arguments of type 'uint16'
What should I do? Can somebody help?

Akzeptierte Antwort

Star Strider
Star Strider am 10 Dez. 2014
Convert them to the double data type first.

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by