Merging multiple jpg files into a single image
Show older comments
Hi everyone, I have 97 uint8 jpgs (black and white) that I want to merge into a single jpg. However I need the final combined image to only be composed of cells from the series which are white.
I have tried using the imfuse command but it only works for 2 images and just over lays the images which is not what I need to do.
Any help would be greatly appreciated.
4 Comments
Erik S.
on 8 Feb 2015
Can you elaborate, is the size of the final image the same as the original frames? Are only the white pixels of the 97 frames supposed to be in the final frame? Since the frame are uint8 which pixel values do you consider as white? 255 only or something less is also valid?
Anson Hancock
on 8 Feb 2015
Image Analyst
on 8 Feb 2015
Edited: Image Analyst
on 9 Feb 2015
Well that's not right - why would you do that? Did you see my answer?
By the way, never use JPEG images when you need to do image analysis. Your pixels won't be just 0 and 255 - there will be in between values with jpg format. Use PNG format instead.
Anson Hancock
on 10 Feb 2015
Accepted Answer
More Answers (0)
Categories
Find more on Convert Image Type 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!