The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Counting occurences of data in large image matrix
Replies: 1   Last Post: Oct 30, 1997 9:51 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
David Arnold

Posts: 126
Registered: 12/4/04
Counting occurences of data in large image matrix
Posted: Oct 18, 1997 9:13 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I do not have the image processing toolbox. I have a 256 by 256
grayscale image in uint8 format (each entry in the matrix is an integer
betwee 0 and 255 inclusive).

I have tried ghist, but it takes inordinately long on my 486 machine.

I would like a fast routine to count the occurrence of each 0 in my
matrix, each 1 in my matrix, each 2 in my matrix,..., each 255 in my

Any suggestions?
David Arnold
College of the Redwoods
Eureka, California 95501

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.