Community Profile

photo

cui


Last seen: Today Active since 2017

Statistics

All
  • Thankful Level 5
  • Knowledgeable Level 1
  • Creator
  • Introduction to MATLAB Master
  • 5-Star Galaxy Level 4
  • Personal Best Downloads Level 3
  • Commenter
  • Promoter
  • Community Group Solver
  • Solver
  • GitHub Submissions Level 3
  • Explorer

View badges

Content Feed

Answered
libtiff.so.5: version `LIBTIFF_4.0' not found (required by *.so) for matlab in ubuntu environment?
I solved the problem using the following: sudo rm -rf /usr/local/MATLAB/<MATLAB_RELEASE>/bin/glnxa64/libtiff.so.5 sudo ln -s /...

19 hours ago | 0

| accepted

Question


libtiff.so.5: version `LIBTIFF_4.0' not found (required by *.so) for matlab in ubuntu environment?
When running a mex file or mixing it with the opencv library, an error like the one below occurs, how do I fix it? libtiff.so....

19 hours ago | 1 answer | 0

1

answer

Answered
Matlab crashing in ubuntu when using MATLAB coder
1. Ubuntu 18.04/20.04 has libcanberra-gtk3-module (gtk-3.0+) installed by default, and Matlab needs to call the gtk-2.0+ canberr...

21 hours ago | 0

Question


matlab uses "which" to find a file that shows up as a built-in function location, but why doesn't the file actually exist?
which some-built-in-function filename = "some-built-in-function-path"; if isfile(filename) disp("this file exist") else...

3 days ago | 1 answer | 0

1

answer

Answered
performance: vision.AlphaBlender is slower when image is big.
There are many ways to solve this, such as rewriting the implementation of this function yourself in C/C++ and wrapping it as a ...

15 days ago | 0

| accepted

Answered
Why does MATLAB crash on Linux with "Inconsistency detected by ld.so: ../elf/dl-tls.c: 597: _dl_allocate_tls_init:"
1. Ubuntu 18.04/20.04 has libcanberra-gtk3-module (gtk-3.0+) installed by default, and Matlab needs to call the gtk-2.0+ canberr...

20 days ago | 0

Answered
(matlab coder)How should the coder::array member function set convert opencv's mat type to its type in-place?
After repeated investigations and trials over this period of time, in relation to my current problem, I have found out what the ...

25 days ago | 0

| accepted

Question


(matlab coder)Generating C++ code for scalar string results in a garbled last character?
my entry-point codegen function: function out = useImageAndString(imagePathstr)%#codegen arguments imagePathstr (1,1) s...

1 month ago | 1 answer | 0

1

answer

Question


(matlab coder)How should the coder::array member function set convert opencv's mat type to its type in-place?
When using matlab coder to generate C++ code, the generator automatically generates a C++ class for coder::array, which is defin...

1 month ago | 2 answers | 0

2

answers

Question


(question)How does the arguments syntax apply multiple optional type restrictions to one of the input arguments?
For example, I need to restrict the type of the input argument inImage to "uint8" or "logical" or "double" for the following sig...

1 month ago | 1 answer | 0

1

answer

Answered
Is there an offline html document download for matlab?
Starting in R2023a, the documentation is not installed as part of a product installation. This change significantly reduces the ...

1 month ago | 0

| accepted

Answered
question: Use of integrated external C/C++ code in matlab coder does not work for coder.varsize?
After some careful research, I found that coder.varsize is not supported for entry function input parameters and there are many ...

1 month ago | 0

| accepted

Question


question: Use of integrated external C/C++ code in matlab coder does not work for coder.varsize?
When I follow this topic "Call Custom C/C++ Code from the Generated Code" to generate my own external/legacy C++ code, coder.var...

1 month ago | 1 answer | 0

1

answer

Question


matlab coder:Can I give some advice on C/C++ code generation for the Image Processing Toolbox and Computer Vision Toolbox?
As far as I know from years of experience and official releases(see attachment), many of the built-in functions in the mathworks...

1 month ago | 0 answers | 0

0

answers

Question


matlab coder:Can the C++ functions generated for the entry point functions of the "arguments" validation syntax take mergeability into account?
For example, there is such an entry-point function in matlab that needs to generate C/C++ code, and I have generated several fun...

1 month ago | 1 answer | 0

1

answer

Question


matlab coder:Can I give some advice on generating code for the "arguments" default argument syntax?
It is well known that the 'arguments' default argument syntax is very easy to use and read in MATLAB functions.In the latest ver...

1 month ago | 1 answer | 0

1

answer

Answered
VideoReader reads ".h264" video compression file with error "Caught unexpected exception of unknown type."
After much trial and error, I was lucky enough to find a solution that worked for me, and I am sharing it with you so that I can...

2 months ago | 0

| accepted

Question


VideoReader reads ".h264" video compression file with error "Caught unexpected exception of unknown type."
Initially when I tried to use the VideoReader function to read the ".h264" video compression format file I got the error "Unable...

2 months ago | 1 answer | 0

1

answer

Answered
bug:factorGraph object function addFactor returns less one than normal return value
The factorGraph series of functions was introduced in the recent R2022a release. Many of the descriptions of this series of func...

3 months ago | 0

| accepted

Question


bug:factorGraph object function nodeState return always ZERO state after addFactor non-zero values?
It's strange that when i add some non-zero factor state into factorGraph object, before optimizition, use nodeState function to ...

3 months ago | 1 answer | 0

1

answer

Answered
How to visualize the changes in dlarray/weight distribution with histograms in deep learning?
it's lucky to hear that recently matlab version support visualize net weight distribution. one example is here link. https://w...

3 months ago | 0

| accepted

Question


bug:factorGraph object function addFactor returns less one than normal return value
this is minor bug, addFactor should return 1-based positive integer node index value,but in matlab R2022b return 0-base index va...

3 months ago | 2 answers | 0

2

answers

Question


bug: factorGraph does not work for relative measurement angles
I tried to add relative pose measurements of 2 adjacent nodes using factorGraph's object function factorTwoPoseSE3, but no matte...

3 months ago | 1 answer | 0

1

answer

Question


factorGraph:Unclear document function factorTwoPoseSE3/SE2 with input parameter 'Measurement'
I figured out some time ago that a similar function poseGraph's input parameter 'Measurement' could be relative to the world fra...

3 months ago | 1 answer | 0

1

answer

Answered
Auto grab files based on file name
hi, you can try use datastore or fileDatastore instead of uigetfile to get all your file names,then use "string" class methods...

3 months ago | 0

Answered
(question)The coordinates of the reconstructed 3D points are different after the virtual camera intrinsic K has also changed proportionally after image resize?
After careful consideration, I was once again fortunate enough to obtain a more plausible explanation, which I now state as foll...

3 months ago | 0

| accepted

Question


(question)The coordinates of the reconstructed 3D points are different after the virtual camera intrinsic K has also changed proportionally after image resize?
As far as I know, after image resize, the corresponding intrinsic parameter K also changes proportionally, but why the coordinat...

3 months ago | 1 answer | 0

1

answer

Question


performance: vision.AlphaBlender is slower when image is big.
vision.AlphaBlender is a very good function that can do a lot of "image matting", but when I encounter a large image size, the s...

4 months ago | 1 answer | 0

1

answer

Answered
How can I extract only the compressed image from that code? (not the reconstructed one)
hi, the reconstructed one is you want the compressed one. or use B to recover origin image. I = imread('cameraman.tif'); I = ...

4 months ago | 0

| accepted

Answered
question:What's the difference between factorGraph and poseGraph/3D?
Using the official example "Landmark SLAM Using AprilTag Markers", I partly understand that factorGraph is more general than pos...

4 months ago | 0

| accepted

Load more