Code covered by the BSD License  

Highlights from
Max Path for grayscale 2D image

Be the first to rate this file! 9 Downloads (last 30 days) File Size: 1.42 KB File ID: #43918

Max Path for grayscale 2D image

by

 

max path using dynamic programming

| Watch this File

File Information
Description

Min path can be found by setting II = -II.

Does not use nested for-loops, but for-loops can't be completely avoided due to the nature of the problem

Returned value is the linearly indexed array of the locations of the max path. This can be altered to give the coordinates as directed in the function.

Weights are assumed to be 1, but can be changed as directed in the function.

Required Products MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us