hdfinfo('EO1H1930282003203110PY.L1R'); fileinfo = hdfinfo('EO1H1930282003203110PY.L1R'); sds_info = fileinfo.SDS(1); hdfread(sds_info); ans=imhdf;
imrgb [:,1,:] = imhdf [:,40,:]; imrgb [:,2,:] = imhdf [:,31,:]; imrgb [:,3,:] = imhdf [:,13,:]; image(imrgb); Error using image Error using image Indexed CData must be size [MxN], TrueColor CData must be size [MxNx3]
You can use the hypercube(__) function to read Hyperion EO-1 L1R files and also the colorize(__) method will help you to estimate color image of the Hyperion EO-1 L1R image.
% Read the L1R image (specify your L1R file name here) hCube = hypercube('EO1H1930282003203110PY.L1R'); % Estimate the RGB image rgbImg = colorize(hCube, 'method', 'rgb', 'ContrastStretching', true); % Visualize the RGB image figure imshow(rgbImg) title('RGB image')
NOTE: The above mentioned fetures come under Image Processing Toolbox's Hyperspectral Imaging Library support package, and can be downloaded from here. For more information on Hyperspectral Imaging Library see the documentation.
Matlabsolutions.com provides guaranteed satisfaction with a
commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain
experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support
to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been
empanelled after extensive research and quality check.
Matlabsolutions.com provides undivided attention to each Matlab
assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services
include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work
done at the best price in industry.