how to count pixels

1 view (last 30 days)
shreevi vijayan
shreevi vijayan on 31 Mar 2015
Commented: James Tursa on 31 Mar 2015
i just want to count how many number of pixels in the selected(manually) portion of the image...can anyone help me with matlab code
  2 Comments
Michael Haderlein
Michael Haderlein on 31 Mar 2015
Please specify your question. How do you select manually? Do you give min and max of x and y? Then it's (max_x-min_x+1)*(max_y-min_y+1). Guess that's not the solution, so please give details.

Sign in to comment.

Answers (0)

Categories

Find more on Image Processing Toolbox 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!