good evng matlab experts .i want to add 2 images of different sizes
Info
This question is closed. Reopen it to edit or answer.
Show older comments
i have an image and i have to extract some defined size of it and i have to perform some image processing and then i have to replace the processed image again in raw image . can any one help me it will be very favourable to me
Answers (1)
Thorsten
on 14 Apr 2015
You can extract the subimage S from image I using
ind1 = 100:300; ind2 = 250:500; % sample values
S = I(ind1, ind2, :);
do some operation on S
S = S.^(1/2.3); % gamma correction
and set it back to S
I(ind1, ind2, :) = S;
Voilà!
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!