Azzera filtri
Azzera filtri

im2double(img) vs double(img)

2 visualizzazioni (ultimi 30 giorni)
Dani D
Dani D il 17 Lug 2016
Modificato: Azzi Abdelmalek il 17 Lug 2016
Hello, What is difference between im2double(img) vs double(img) ? Thanks

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 17 Lug 2016
Modificato: Azzi Abdelmalek il 17 Lug 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

Categorie

Scopri di più su Data Type Identification in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by