1. A method of classifying the shot type of a video frame, comprising: loading a frame comprising a plurality of pixels into memory; dividing said frame into field pixels and non-field pixels based on a first playfield detection criteria, wherein said dividing of said frame into said field pixels and said non-field pixels generates a binary mask; determining an initial shot type classification using the number of said field pixels and the number of said non-field pixels; partitioning said frame into one or more regions based on said initial classification; determining the status of each of said one or more regions based upon the number of said field pixels and said non-field pixels located within each said region; determining a shot type classification for said frame based upon said status of each said region; determining a camera view angle from said binary mask; generating a seed mask; generating a local histogram of the mask pixels of said seed mask; accumulating at least a predetermined number of said local histograms into an accumulated histogram for each camera view; and identifying one or more color ranges for the key area of a basketball court from said accumulated histogram for one or more particular camera views.