Problem 44958. Crop an Image
- I - Grayscale input image
- Rmin - Lowest row number to retain
- Cmin - Lowest column number to retain
- Rpix - Number of pixels along rows to retain
- Cpix - Number of pixels along columns to retain
Solution Stats
Problem Comments
-
27 Comments
I got stuck on this one for a long time. Can someone explain why you can't use the imcrop function?
@Rich imcrop() is part of the Image Processing Toolbox, and toolboxes are not available on Cody.
Which is specified here -
https://in.mathworks.com/matlabcentral/content/cody/about.html
Notes bulletin - "Cody supports MATLAB and not the toolboxes."
Solution Comments
Show commentsProblem Recent Solvers7598
Suggested Problems
-
Remove the polynomials that have positive real elements of their roots.
1703 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
613 Solvers
-
708 Solvers
-
String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
1724 Solvers
-
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
942 Solvers
More from this Author13
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!