필터 지우기
필터 지우기

video processing command help

조회 수: 1 (최근 30일)
James
James 2011년 7월 14일
Can anyone tell me what the following command does?
imgI = double(imread(imgIFile))
Thanks

채택된 답변

Jan
Jan 2011년 7월 14일
imglFile : String variable, which contains the name of an image file
imread: Read the image file into a Matlab array
double: convert the array to the double type.
The whole line imports the contents of the image file into a DOUBLE array. "help imread", "help double" would be helpful also.
  댓글 수: 3
Sean de Wolski
Sean de Wolski 2011년 7월 14일
Your image is probably 8bit unsigned integer - that is, it can be any integer between 0 and 255. So, converting it to double allows it to be any value, up to 16 sigfigs between: 2.2251e-308 and 1.7977e+308
Walter Roberson
Walter Roberson 2011년 7월 14일
Note: it might perhaps make more sense to use im2double() as that rescales the data as well as changing the data type.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by