good evng matlab experts .i want to add 2 images of different sizes

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

Réponses (1)

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à!

Cette question est clôturée.

Clôturé :

le 20 Août 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by