Say I have two 3D point clouds which represents the start and end point of a transformation. Now I want to store both the start and end point cloud information into a database, but the database only allows entry of one point cloud. Is there any way to store the 3D coordinates of one "representative" point cloud as an identifier so that one can always reproduce the start and end point clouds from that identifier (using e.g. some fixed rule of mathematical transformation or hashing)?
How to store information of two 3D point clouds using only one point cloud?
44 Views Asked by Shaun Han At
1
There are 1 best solutions below
Related Questions in MATH
- How to restrict vpasolve() to only integer solutions (MATLAB)
- Need clarification on VHDL expressions involving std_logic_vector, unsigned and literals, unsure about compiler interpretation
- What is the algorithm behind math.gcd and why it is faster Euclidean algorithm?
- How to throw a charged particle in a electric vector field?
- Issues with a rotation gizmo and sign flips when converting back to euler angles
- Solving the area of a 2 dimensional shape
- WorldToScreen function
- Algorithm to find neighbours of point by distance with no repeats
- Detecting Circles and Ellipses from Point Arrays in Java
- three parameter log normal distribution
- Bound for product of matrices
- Javascript animation taking incorrect amount of time to reach desired location
- Converting Math.js-like Expressions to Runnable Python Code
- Looking for a standard mathematical function that returns 0 if x = 0 and a constant k when x <> 0
- Partitions in co-lexicographic order (PARI/GP algorithm without recursion)
Related Questions in HASH
- How can py tuple implicit cast to int?
- How to properly set hashes in script-src CSP policy header?
- Algorithm for finding the largest common substring for n strings using Rabin-Karp function
- Lua: is there a need to use hash of string as a key in lua tables
- When the key values are the same, the memory limit is exceeded when making a hash join
- Short for creating an array of hashes in powershell malfunction?
- LC347: Top K Frequent Elements; final result returns an extra element in list/array
- Hashing vertices of a Graph in C
- Is there a limit on the message size for SHA3?
- When hashing an API key, should I hash the suffix / prefix as well?
- Cmake error : Configuring incomplete, errors occurred
- murmur3 hashing function in postgres
- Hashing the password if it is not hashed in django
- Order of a set in Python
- Comparing the hash of a file, containing a list of hashes of multiple files instead of each file, is it good?
Related Questions in TRANSFORM
- Output of Cosine Similarity is not as expected
- Strange horizontal lines when transforming base-map shapefile?
- How to use model.predict after PCA transformation in Python?
- I am trying to transform a dataframe in a list of lists of dataframes
- Split Dataframe and stack horizontally
- is there any way to use RL for decoder only models
- How to distort an image with python PIL using an inner quad without cropping out of the quad
- Transform a series of JavaScript object keys into array(s) when they contain numbers
- About ToTensorV2() about albumentations
- how do i update a d3.js force directed graph after i translated its nodes?
- sed to find and transform binary number representation
- Wrong coordinate transformation with osr.CoordinateTransformation
- pd.wide_to_long in python is slow
- Butterfly flapping wings animation SVG
- How to move the background image by clicking and dragging the mouse smoothly?
Related Questions in UNIQUEIDENTIFIER
- unexpected keyword or identifier .ts(1434)
- Query to Copy Rows to Yearly Summary, need unique identifier for each row in the yearly summary but need to be specific to the individual rows
- Approach to generate Short Unique key like (AboU8N) in distributed environment?
- Unique ID to transfer guest account data from Adobe AIR to Unity
- BBEdit: Is It Possible to Gnerate Unique Identifiers in an HTML File With a Text Factory?
- psql - Resolve Duplicates without deleting, set max_identifier for the duplicates based on an account_id
- Is there any way to create a column of uniqueidentifier type in pyspark/sql databricks?
- creating unique ID column in a large dataset
- Is it possible to transfer an in-game item to another player without cloning?
- How to generate jti ( JWT Id) in java script?
- creating next unique ID using next available ID in python
- Attaching unique ID to recurring class labels for yolov8 detections
- How to store information of two 3D point clouds using only one point cloud?
- How to get Unique ID of Android version 6 to 14
- Find the unique "pseudo" index for a linked SQL view in Access
Related Questions in IDENTIFIER
- How does JavaScript knows the variable identifier points to the specified memory address?
- Getting `error: expected identifier or '(' before '}' token`
- Efficient way of watching and evaluating pieces of code with parameters in C++ that are cascading macros
- Why do I need to qualify tables with the schema "public" and double-quote some column names?
- What are the rules for _ underscore variables in C++26, and what's a name-independent declaration?
- Function to DELETE rows taking the parameters in sql query
- How to store information of two 3D point clouds using only one point cloud?
- no Maps ID in the option list when Register a new identifier for apple mapkit js
- Syntax error at or near ""20231002"" in procedure with dynamic table name
- ESP32 BLE unique identifier
- `<tr id='item-<xsl:value-of select="$item.count" />'>` : How to do it correctly?
- How to correctly handle misplaced keywords in FParsec preserving FParsec's inbuit error messages and positions?
- Signing and Capabilities in Xcode 15
- Using shortid as custom Object ID in MongoDB
- Can't Find Namespace "Microsoft.Win32"
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
We likely need more specific details of the restrictions imposed by the database and possibly the nature of the points themselves (positive/negative, integer/rational/real, etc.) to provide a concrete answer. However, I'll at least provide a few suggestions below.
Is the database strictly limited to 3 dimensions? If it can support 6+ dimensional data, just encode the second point in the extra axes and you're done. If it can at least support 4 dimensions, you can use the 4th dimension as a unique identifier for each point, merge to two point clouds, and pair up the start/end points by that 4th dimension.
Are the points integer coordinates? If so, you can use the Cantor Pairing Function to map
x1andx2to a single unique integer,x3, and do the same for the y and z coordinates for each point. If they are not integers, but precision is not a huge concern, you could scale up your coordinates by some large factor and then round to nearest integer, then apply the pairing trick.If precision allows, you could also combine these two tactics. Say your points span
[-1e3, 1e3]on the x-axis, and you don't need a lot of precision. You could addk * 1e4to the k'th start/end point's x component. If you sort your points by their new x component, it'll pair up the start and end points. You can do something similar with the y or z components to distinguish whether its the start or the end. You can of course recover the original points by taking each component modulo your multiple.