Fit file image not correct
1 view (last 30 days)
Show older comments
Robert Maurer
on 13 May 2019
Answered: Sulaymon Eshkabilov
on 13 May 2019
I'm trying to read in multiple .fit files into MATLAB but the image in matlab shows an extremely over exposed picture. The picture shows what imagesc shows the imshow image is just white. When I subtract 200 before imshow it shows the actual picture but very high contrast.
a = fitsread('M82-001L.fit');
imshow(a)
imagesc(a)
![1.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/219108/1.png)
0 Comments
Accepted Answer
Sulaymon Eshkabilov
on 13 May 2019
Hi,
Maybe in your case this syntax will resolve the problem: >>DATA =fitsread(FILENAME, NAME, VALUE)
Good luck
0 Comments
More Answers (0)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!