Comments (2)
supra/src/SupraLib/Beamformer/RxBeamformerMVpcg.cu
Lines 225 to 229 in 70bc6d9
can this change to, not sure
if (subtractMeans)
{
if ((offset + colIdx) < subArraySizeLocal)
xCol -= means[offset + colIdx + linearSampleIdx * subArraySize];
if ((offset + rowIdx) < subArraySizeLocal)
xRow -= means[offset + rowIdx + linearSampleIdx * subArraySize];
}
from supra.
Thanks for the feedback!
With how the means are computed
for each sample it computes the mean signal in the sliding subaperture. So it is of length subArraySize at max (per sample). (specifically of subArraySizeLocal, but the stride is subArraySize).
So the lines you mention are wrong indeed.
With above, it should be
if (subtractMeans)
{
xCol -= means[colIdx + linearSampleIdx * subArraySize];
xRow -= means[rowIdx + linearSampleIdx * subArraySize];
}
from supra.
Related Issues (20)
- what does runtime for a node mean HOT 2
- Build library as a DLL
- Possible to do a new update for including the latest technology?
- License Question HOT 1
- S.I.M.P.L.E. Interface
- Build failed in Ubuntu 14.04 HOT 2
- Raw data mock does not write all frames, when "streamSequenceOnce" is selected
- RosImageOutputDevice missing from automated build
- Simplify building with CAMPVis
- CAMPVis not used in automated build
- Windows: Cuda architecture flags are fixed to 5.0 and not accessible from cmake HOT 1
- VS2017 build with CUDA fails in cmake
- [Feature Request]: YAML configuration file format
- [BUG] Supra crashes when input normalization of torch node is changed on the fly.
- [Feature Request] Mock-file check
- [Feature] Output image stream when for Rest API HOT 7
- Inappropriate block size for ScanConverterNode HOT 1
- Build fails with Cephasonics on Ubuntu 18.04 HOT 1
- Remove unnecessary null pointer checks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supra.