Reading Raw image in matlab
26 views (last 30 days)
Show older comments
is it possible to read image with .NEF extension to array in matlab?
0 Comments
Answers (1)
Ameer Hamza
on 10 Mar 2020
Edited: Ameer Hamza
on 11 Mar 2020
Yes, you can read .nef files in MATLAB.
If you simply run
img = imread('image.nef');
It will read a low-resolution image. To read the full resolution, first, download this file exchange package: https://www.mathworks.com/matlabcentral/fileexchange/66927-read-raw-camera-images and place it on the MATLAB path. Then you can run
dc = readraw;
img = imread('image.nef');
imshow(img);
0 Comments
See Also
Categories
Find more on Image Data in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!