Extract part from an image
4 views (last 30 days)
Show older comments
Shafiqah Alya
on 19 Dec 2020
Edited: KALYAN ACHARJYA
on 19 Dec 2020
1 Comment
Image Analyst
on 19 Dec 2020
Your image link does not work. Please attach a PNG file instead. In the meantime, try imcrop().
Accepted Answer
KALYAN ACHARJYA
on 19 Dec 2020
Edited: KALYAN ACHARJYA
on 19 Dec 2020
[Gmag,Gdir]=imgradient(input_grayScaleImage);
imshow([Gmag,Gdir]);
title('<Gradient G Direction>')
More imgradient
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/465950/image.png)
0 Comments
More Answers (0)
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!