compile error occurs when link flann as follows:
[ 77%] Linking CXX executable ../../bin/ConvertPointCloud
Undefined symbols for architecture x86_64:
"_LZ4_compress_HC_continue", referenced from:
compile error occurs when link flann as follows:
[ 77%] Linking CXX executable ../../bin/ConvertPointCloud
Undefined symbols for architecture x86_64:
"_LZ4_compress_HC_continue", referenced from:
/** | |
* @brief Mapping functions from Eigen data types to OpenCV | |
* @author Eugene Khvedchenya <[email protected]> | |
* @details This header file contains code snippet for easy mapping Eigen types to OpenCV and back with minimal overhead. | |
* @more computer-vision.talks.com/articles/mapping-eigen-to-opencv/ | |
* Features: | |
* - Mapping plain data types with no overhead (read/write access) | |
* - Mapping expressions via evaluation (read only acess) | |
* | |
* Known issues: |
// circ_shift.h | |
// https://stackoverflow.com/questions/46077242/eigen-modifyable-custom-expression/46301503#46301503 | |
// this file implements circShift, fftshift, and ifftshift for Eigen vectors/matrices. | |
// | |
#pragma once | |
#include <Eigen/Core> | |
template <bool B> using bool_constant = std::integral_constant<bool, B>; |
(function(){ | |
$("#side").remove(); | |
$("#comment_title, #comment_list, #comment_bar, #comment_form, .announce, #ad_cen, #ad_bot").remove(); | |
$(".nav_top_2011, #header, #navigator").remove(); | |
$(".csdn-side-toolbar,.template-box,.reward-user-box").remove(); | |
$(".p4course_target, .comment-box, .recommend-box, #csdn-toolbar, #tool-box,#dmp_ad_58").remove(); | |
$("aside").remove(); | |
$(".tool-box").remove(); | |
$("main").css('display','content'); | |
$("main").css('float','left'); |
use QPDF
brew install qpdf
qpdf --decrypt broken.pdf recovery.pdf
# . | |
# bin | |
# source | |
# dependency | |
# include | |
# source | |
# example | |
# include | |
# source | |
# external |
PCL release: PCL-1.12.0-AllInOne-msvc2019-win64.exe
Related issue: PointCloudLibrary/pcl#2147
Crash trace: ~TextureMesh() / Eigen::aligned_allocator
Reason: PCL pre-compiled binary is compiled with AVX enabled which caused incompatibility of EIGEN_IDEAL_MAX_ALIGN_BYTES
Solution: add_compile_options(/arch:AVX)
void OnPhotoCaptured(PhotoCapture.PhotoCaptureResult result, PhotoCaptureFrame photoCaptureFrame) | |
{ | |
Matrix4x4 cameraToWorldMatrix; | |
photoCaptureFrame.TryGetCameraToWorldMatrix(out cameraToWorldMatrix); | |
Matrix4x4 projectionMatrix; | |
photoCaptureFrame.TryGetProjectionMatrix(out projectionMatrix); | |
var imagePosZeroToOne = new Vector2(pixelPos.x / imageWidth, 1 - (pixelPos.y / imageHeight)); | |
var imagePosProjected = (imagePosZeroToOne * 2) - new Vector2(1, 1); // -1 to 1 space |
/*! | |
This file contains code to convert unsigned integers to strings | |
at compile-time, and then modify those strings include more | |
information. | |
One use case is to convert library MAJOR, MINOR, and PATCH | |
numbers into a custom string (see below). | |
Other types like signed integers and floats can be added | |
with template specializition on the converter struct. |