Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

matlab help for image

Status
Not open for further replies.

intan

Member level 2
Joined
Feb 16, 2009
Messages
53
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,931
hi! i m a beginner for matlab. can somebody tell me how to calculate the number of pixel of an image?
lets say the image have 291x240 uint8 for grayscale image and 648x306x3 uint8.
how about if i only want to count particular region number of pixel? wat can i do?

thanks in advanced
 

You can use 'for' loops for transfering pixels that you want from the region of the orginal image then use numel(array) command to calculate how many pixels that the region consists.

Kind Regards,
ALP
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top