what can MATLAB do with tif files
12 次查看(过去 30 天)
显示 更早的评论
Hi, I got lots of scan (photo) files as tif. and I read them into the array
```
folder = fileparts(which(mfilename));
tifFiles = dir(fullfile(folder, '*.tif'));
for i = 1:length(tifFiles)
tifFileName = tifFiles(i).name;
tifFilePath = fullfile(folder, tifFileName);
try
tifData = imread(tifFilePath);
disp(['TIFF file ', tifFileName, ' read successfully.']);
catch
disp(['Error reading TIFF file ', tifFileName]);
end
end
```
I want to analyze these photos, for exmaple, I want to give a coordinate to and find one object's coordinate in the photos, what package I should look at?
0 个评论
采纳的回答
Image Analyst
2023-8-12
It's a generic, general purpose demo of how to threshold an image to find blobs, and then measure things about the blobs, and extract certain blobs based on their areas or diameters.
0 个评论
更多回答(2 个)
Cris LaPierre
2023-8-12
If you are new to the topic, consider the following courses
- Image Processing Onramp (Free)
- Image Processing with MATLAB
- Image Processing for Engineering and Science Specialization (3 courses, free to enroll)
- Computer Vision for Engineering and Science Specialization 3 courses, free to enroll)
0 个评论
Walter Roberson
2023-8-12
MATLAB can read (most) ordinary TIF files with the imread
But what you are really asking about is how you can process the file once you have read it in -- and once you have read it in then it is just a numeric array and nothing cares that it was originally a TIFF file.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!