The following Matlab project contains the source code and Matlab examples used for least squares fit of a rectangle to a given shape boundary.
% Based on - A simple method for fitting of bounding rectangle to closed regions - D.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

## Project Files:

File Name | Size |
---|---|

fit_rectangle.m | 3462 |

license.txt | 1310 |