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.softsys.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




Counting occurences of data in large image matrix
Posted:
Oct 18, 1997 9:13 PM


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 matrix.
Any suggestions?  David Arnold College of the Redwoods Eureka, California 95501



