Comments (3)
Hello,
I am not familiar with point clouds.
This C++ code applies a CRF on a fully connected graph, it is not required that it is an image.
That being said the way the graph is defined, the function that calculates the affinity between the nodes, is specific to images in the sense that it uses distance in space as well as the channel values.
This can be changed by changing the functions that computes this affinity compute_kernel
to make the rest of the code applicable to the new type of graph.
I don't know how easy/hard this is for point clouds though.
Best Regards,
Miguel
from permutohedral_lattice.
Hi,
The point cloud is list of N different 3D points with 1D or 3D features. So I have a matrix of dimension Nx4 or Nx6. I want to do the CRF on a fully connected graph, but I struggle to see how to change your code.
Thanks
from permutohedral_lattice.
The 'compute_kernel' function does nothing more than converting an image to an array of sequential vectors [x_1, y_1, r_1, g_1, b_1, x_2, y_2, r_2, g_2, b_2 ...]
so if you already have your data in this format you can just bypass this function and feed the data straight into the CRF.
Best,
Miguel
from permutohedral_lattice.
Related Issues (20)
- About the build type HOT 2
- one issue when compiling HOT 11
- SPATIAL_DIMS, INPUT_CHANNELS and REFERENCE_CHANNELS setting HOT 3
- Kernel size HOT 1
- The purpose of the reverse in the blur stage HOT 2
- lattice_filter.so HOT 1
- about Batch_size HOT 1
- Error after compilation HOT 3
- Pytorch? HOT 2
- About Speed acceleration HOT 1
- Tensorflow version HOT 1
- About 3D Version HOT 5
- Possibly incorrect number of blocks/blockSize? HOT 1
- About kernel normalization HOT 1
- cuda_runtime.h: No such file or directory HOT 1
- Build.sh runs successfully, but no ./build_dir is created HOT 1
- Pytorch version HOT 1
- Questions about REFERENCE_CHANNELS
- Permutohedral Lattice for 3D pointcloud HOT 3
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 permutohedral_lattice.