finding headerline and transformation

I have a binary image that contains a headerline. I want to transform image so that header line will be in horizontal direction.

Answers (1)

Use flipud or, in R2013b or greater, flip.
I = imread('1.jpg');
imshow(flipud(I))
And:
doc flipud

This question is closed.

Asked:

on 9 Dec 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!