def showResult(C_8U, D_32F, N_32F, A_8U): logger.info("showResult") plt.subplot(131) plt.title('Original Color') plt.imshow(C_8U) plt.subplot(132) plt.title('Depth') plt.imshow(D_32F, cmap=plt.cm.gray) plt.subplot(133) plt.title('Estimated Normal') plt.imshow(normalToColor(N_32F, A_8U)) showMaximize()
def showResult(A_8U, N0_32F, N_32F): logger.info("showResult") plt.subplot(131) plt.title('Alpha Mask') plt.imshow(A_8U) plt.subplot(132) plt.title('Initial Normal') plt.imshow(normalToColor(N0_32F)) plt.subplot(133) plt.title('Estimated Normal') plt.imshow(normalToColor(N_32F, A_8U)) showMaximize()
def showResult(A_8U, N0_32F, N_32F): logger.info("showResult") plt.subplot(131) plt.title("Alpha Mask") plt.imshow(A_8U) plt.subplot(132) plt.title("Initial Normal") plt.imshow(normalToColor(N0_32F)) plt.subplot(133) plt.title("Estimated Normal") plt.imshow(normalToColor(N_32F, A_8U)) showMaximize()