Just specify three argument:
aIMGpath = 'D:\....png';
nRough = 8; % roughly how many pages you want to split
graceOffset = 40; % a bi-directional offset at both sides of cut-line to search for a minimum of gussian blur(sigma = 7 vertical lines) of deviation of each line's piexles so as to make a perfect cut to avoid anoying cut-in-lines.
raym (2023). splitImage (https://www.mathworks.com/matlabcentral/fileexchange/68894-splitimage), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!