Gery
Gery

Reputation: 581

get center coordinate image using matlab

eg I want to find the color values ​​of the center of this image

enter image description here

how can i do this?

Upvotes: 0

Views: 1079

Answers (1)

Rody Oldenhuis
Rody Oldenhuis

Reputation: 38032

you mean

img = imread('img.jpg');
color = img(round(end/2), round(end/2), :)

?

Upvotes: 1

Related Questions