Hello people I'm beginner in Matlab, I need some help.
I have a project to do. I need create a picture HDR but I don't know how to do it..
I need join 3 pictures and create one HDR..
Can you help me please?
Fábio

 채택된 답변

Thomas Koelen
Thomas Koelen 2015년 4월 29일

1 개 추천

If you have the image processing toolbox you can use the following commands:
im1=imread('image1.tiff')
im2=imread('image2.tiff')
im3=imread('image3.tiff')
HDR = makehdr(im1,im2,im3)

댓글 수: 7

Fábio Vieira
Fábio Vieira 2015년 4월 29일
Hello Thomas, thank you for your answer...
Can you explain what is "Processing toolbox"?
It's a software package you have to buy: http://www.mathworks.com/products/image/. It may already be included if you bought certain licenses, like the student license. Type "ver" on the command line to check for it, or run this code in your script:
% Check that user has the Image Processing Toolbox installed.
hasIPT = license('test', 'image_toolbox');
if ~hasIPT
% User does not have the toolbox installed.
message = sprintf('Sorry, but you do not seem to have the Image Processing Toolbox.\nDo you want to try to continue anyway?');
reply = questdlg(message, 'Toolbox missing', 'Yes', 'No', 'Yes');
if strcmpi(reply, 'No')
% User said No, so exit.
return;
end
end
Fábio Vieira
Fábio Vieira 2015년 4월 29일
Humm.. if I don't have processing toolbox how I can create a picture HDR?
I'm a little bit worried with this because I don't understand Matlab..
Thank you again!
Thomas Koelen
Thomas Koelen 2015년 4월 29일
Have a look at this project, browse through their code! http://cybertron.cg.tu-berlin.de/eitz/hdr/
If you are really new to Matlab I suggest you learn some basics first.
Fábio Vieira
Fábio Vieira 2015년 4월 29일
Thank you a lot Thomas! I will watch that page and take some information to make the project.. If I have questions can I ask you? Can you give your email please? Fábio Vieira
Thomas Koelen
Thomas Koelen 2015년 4월 30일

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

추가 답변 (0개)

질문:

2015년 4월 29일

댓글:

2015년 4월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by