image compression for binary images
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Newman
am 11 Aug. 2015
Kommentiert: Walter Roberson
am 14 Aug. 2015
Hi i have a binary image in the file format .pbm its a 640x480 image and i want to compress the image to 32x32 How to do i do it?
3 Kommentare
Walter Roberson
am 14 Aug. 2015
For pattern recognition you should be creating feature vectors rather than submitting the scaled-down image directly.
Akzeptierte Antwort
Image Analyst
am 11 Aug. 2015
Try imresize() function in the Image Processing Toolbox:
smallImage = imresize(binaryImage, [32, 32], 'Nearest');
Obviously you will have loss of data. Not sure how you define "significant". I guess if your algorithm can still recognize what's in the scene, despite being smaller, then it's not significant.
2 Kommentare
Image Analyst
am 14 Aug. 2015
That would get the main axis going through the body.
I don't know much about this field, but there is a whole field of image processing involved in looking at silhouettes of human bodies or body parts. Go here to VisionBib to find all the papers on it.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!