im2double(img) vs double(img)

2 ビュー (過去 30 日間)
Dani D
Dani D 2016 年 7 月 17 日
編集済み: Azzi Abdelmalek 2016 年 7 月 17 日
Hello, What is difference between im2double(img) vs double(img) ? Thanks

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 7 月 17 日
編集済み: Azzi Abdelmalek 2016 年 7 月 17 日
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

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by