Filter löschen
Filter löschen

im2double(img) vs double(img)

2 Ansichten (letzte 30 Tage)
Dani D
Dani D am 17 Jul. 2016
Bearbeitet: Azzi Abdelmalek am 17 Jul. 2016
Hello, What is difference between im2double(img) vs double(img) ? Thanks

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 17 Jul. 2016
Bearbeitet: Azzi Abdelmalek am 17 Jul. 2016
Try this example, you will see the difference
Im = reshape(uint8(linspace(1,255,25)),[5 5])
out1=double(Im)
out2=im2ddouble(Im)
You can read the help to know exactly what im2double do

Kategorien

Mehr zu Data Type Identification finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by