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 CenterFile Exchange에서 Data Type Identification에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by