categorize panel types



Anyone have a good thought on categorizing / grouping wall panels based on a panel dimensions - 


I have approached it from two ways - matching all panels to a series of know sizes and looking at an individual panel and finding its match. Both give results but I think they are over complicating the issue.


I think what I should be doing is categorizing? or creating types based on dimensional similarity and outputting the number of variations...?  This may be similar to the Morphosis Phare Tower panelization / typing...


Any thoughts would be appreciated.