Adding comments and refactoring plot function parameters.
Adding comments and refactoring plot function parameters.

Using image arrays as input to functions to avoid creating image arrays multiple times.

onecue/OpenSfM,oscarlorentzon/OpenSfM,oscarlorentzon/OpenSfM,NicWayand/OpenSfM,NicWayand/OpenSfM,sunbingfengPI/OpenSFM_Test,mapillary/OpenSfM,onecue/OpenSfM,oscarlorentzon/OpenSfM,mapillary/OpenSfM,sunbingfengPI/OpenSFM_Test,mapillary/OpenSfM,oscarlorentzon/OpenSfM,BrookRoberts/OpenSfM,mapillary/OpenSfM,BrookRoberts/OpenSfM,sunbingfengPI/OpenSFM_Test,mapillary/OpenSfM,NicWayand/OpenSfM,NicWayand/OpenSfM,onecue/OpenSfM,sunbingfengPI/OpenSFM_Test,edgarriba/OpenSfM,onecue/OpenSfM,edgarriba/OpenSfM,edgarriba/OpenSfM,oscarlorentzon/OpenSfM,sunbingfengPI/OpenSFM_Test,BrookRoberts/OpenSfM,onecue/OpenSfM,BrookRoberts/OpenSfM,edgarriba/OpenSfM,BrookRoberts/OpenSfM,edgarriba/OpenSfM,NicWayand/OpenSfM