Change high threshold to 4
Include the get edge function
Include extra space
Include the use of the get edges function and print the slice expanded
and using the ternary selection of peak.
remove and limit the printing after the processing