Tuesday, 18 October 2011

Using Matlab

Found Matlab function for colour detection.  Image file is opened and converted to RGB values.  These values are analysed and if they are between a given range, a 2D array for the given pixel is given an integer value.  Depending on the integer value, the dimensions of the ball can be calculated.

Another example Matlab function was found called Edge Detection.  This function finds the edges of coins and puts a green line around each coin.

No comments:

Post a Comment