I want to resize the images of whole database and then replace it with the same images. The problem is how to create or access the database for images.
Show older comments
Here is the code I tried for resizing and replacing ...
Kindly help me thanks.
Database = imageSet('Palm','recursive');
for i=1:size(training,2)
for j = 1:training(i).Count
image=read(Database(i),j);
image=imresize(image,0.568);
Database((i),j)=image; %for replacing the same image
end
end
2 Comments
KSSV
on 12 Nov 2018
YOu have to save the image in a folder of your choice, using imwrite. And then in that folder use imageSet.
Ahmer Shahid
on 13 Nov 2018
Accepted Answer
More Answers (1)
Kotresh S B
on 12 Mar 2019
0 votes
hello,
i need palm resize code please me
1 Comment
Ahmer Shahid
on 13 Mar 2019
Categories
Find more on Image Arithmetic 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!