File list (Check if you may need any files):
publish
.......\adjust_lines.p
.......\adjust_lines_image.p
.......\applyNDVIentropy.p
.......\AutomaticBuildingDetection.zip
.......\buildingDetection.m
.......\calculate_segmentGradient.p
.......\check_overlaps.p
.......\computeNDVI.p
.......\extendCandidates.p
.......\extendedLines.txt
.......\extendLines.p
.......\extend_building_side.p
.......\extend_initial_building.p
.......\extend_line_segment.p
.......\extractImageLines.p
.......\extractLines.p
.......\extract_curve.p
.......\finalCandidates.txt
.......\findImagePointCounts.p
.......\findImagePointMean.p
.......\findImagePoints.p
.......\findMinMax.p
.......\find_extended_rectangle.p
.......\find_extremum.p
.......\find_extremum01.p
.......\find_Gaussian.p
.......\find_histogram.p
.......\find_midAbovePoint.p
.......\find_rectVertices.p
.......\find_Thresh.p
.......\formCandidates.p
.......\generateMask.p
.......\imageLines.txt
.......\initialCandidates.txt
.......\input.txt
.......\isInsideRectangle.p
.......\maskLines.txt
.......\mirror_point.p
.......\ndviLines.txt
.......\obj2obs.p
.......\PrimaryMask.jpg
.......\readme.txt
.......\refineCandidates.p
.......\replaceImageLines.p
.......\sample_DEM.tif
.......\sample_image.tif
.......\sample_LIDAR.txt
.......\SecondaryMask.jpg
.......\selectPoint.p
.......\smooth_edgeImage01.p
.......\smooth_gradient01.p
.......\testInBuidlings_01.p
.......\testInRectangles.p
.......\testInRectanglesAxisParallel.p
.......\testInRectangles_number.p
.......\validate_candidate_building.p
.......\write_orientation_images.p