How can we crop the height of an image?

3 views (last 30 days)
deena hijam
deena hijam on 6 Jun 2018
Edited: deena hijam on 6 Jun 2018
I have some images with certain height. I want to crop out some of the lower and upper part of the images. How do i do it?

Answers (1)

KSSV
KSSV on 6 Jun 2018
If you want to do it manually, use imcrop. If you want to automate....check what are the specific conditions to crop and put in loop.
  1 Comment
deena hijam
deena hijam on 6 Jun 2018
Edited: deena hijam on 6 Jun 2018
I have done it using imcrop() but that gives me only the left and right part cropped. The upper and lower part is not getting affected. I don't know how to crop it from all four sides or now that i have got the left and right portion done, i want to do it for the top and bottom portion.

Sign in to comment.

Categories

Find more on Images in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!