MATLAB: How i can include an inclined bounding rectangle over an object

image processing

I want to find some special objects in an image and they should be bounded by an inclined rectangle. can anybody help me

Best Answer