Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Is question number four correct?

3 Ansichten (letzte 30 Tage)
Nour George
Nour George am 29 Jun. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I have this question :
1-Read an image.
2-Show that image.
3-Write the image to the disk by new name.
4-What is the intensity value of the pixel located at position(4,7)?
*I solved the previous four questions, but Is the Solution is correct ?
figure
image_mat = imread('Picture3.jpg'); % image_mat is simply a matrix
imshow(image_mat);
imwrite(image_mat,'House.jpg');
disp(image_mat(4, 7))
imshow(image_mat);
  1 Kommentar
dpb
dpb am 29 Jun. 2020
Dunno...one presumes is color image which has three planes if so...
What does
size(image_mat)
show you?

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by