ghixu / acmh Goto Github PK
View Code? Open in Web Editor NEWA simple yet effective PatchMatch MVS method, which is the base model of ACMM and ACMP.
License: MIT License
A simple yet effective PatchMatch MVS method, which is the base model of ACMM and ACMP.
License: MIT License
Hello! Sometimes there will be such an error: "an illegal memory access was encountered" in ACMH.cu 1105. Need help! Thank you.
In the code settings
the bilateral space weighting is almost truncated flat
part of Gaussian distribution.
only 15% from the peak to valley, shown by the top image.
Even set the same weight in the kernel, no visual difference from the result.
The above weight distribution is more space logic?
The idea is 3 * sigma cover the 99% Gaussian.
min = 0.8681234453945849
max = 1.0
max/min = 1.151909910168909
import cv2
import numpy as np
# ksize = 31
ksize = 11
center = ksize // 2
# sigma = ksize / 3 / 2 / 1.6627
sigma = 5
A = np.zeros((ksize, ksize), dtype=float)
for y in range(ksize):
for x in range(ksize):
distX = x - center
distY = y - center
dist = np.sqrt(distX*distX + distY*distY)
v = np.exp(-dist / (2*sigma*sigma))
A[y, x] = v
minV = np.min(A[:])
maxV = np.max(A[:])
print(minV, maxV, maxV/minV)
A = cv2.resize(A, (256, 256))
cv2.imshow('img', A)
cv2.waitKey()
Hello! In ComputeMultiViewInitialCostandSelectedViews,the initial size of the array cost_vector and cost_vector_copy is 32. If the params.num_images is greater than 32, memory out of bounds will occur. Right?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.