필터 지우기
필터 지우기

can we able to generate an image from the given pixel values?

조회 수: 1 (최근 30일)
imread of an image will gives pixel values in the command window.. can we regenerate the same image from the pixel value?
  댓글 수: 3
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2013년 4월 27일
ok ImageAnalyst. Apart from course instructor, what creative things can be done using MATLAB. I have seen some codings like indian flag, heart beating, man and hen fight... Is there any possibility to develop any handheld electronic game devices, which can use any MATLAB application.. it is not mandatory to install matlab software in that system...
i had a discussion with a programmer who works with google. he works with identification of spam mails. I asked is it possible to use MATLAB to identify spam... I would be happy if you explain this concept.
Walter Roberson
Walter Roberson 2013년 4월 27일
MATLAB is Turing Complete. You can program anything that does not require special hardware.
Some languages are better suited for some tasks than for others.

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

채택된 답변

Walter Roberson
Walter Roberson 2013년 4월 26일
imagedata = imread('YourImage.jpg');
imwrite(imagedata, 'YourNewImage.tif'); %can even change the image type
  댓글 수: 2
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2013년 4월 26일
imread can give values like [156 176 187...]..... does the same image is regenerated if i try imwrite([156 176 187...]...
Walter Roberson
Walter Roberson 2013년 4월 26일
imwrite(uint8([156 176 187...]...)
If you used [156 176 187...] then the data class would be "double" (because that is the default for MATLAB), and that would be a problem, as MATLAB assumes that "double" values should have a range of 0 to 1 for images.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by