photo

Yuzhen Lu


Last seen: 17 days ago Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • First Review

View badges

Feeds

View by

Question


Matlab display images oriented by 180.
I am using imshow to display an image. It is found the image rotated by 180 . When I look at the meta by imfinfo. there is an or...

3 years ago | 3 answers | 0

3

answers

Question


Plot 3D scatter plots in a subplot
It seems subplot does not support 3-D scatter plot using plot3.m or scatter3. For example, the following codes won't work subpl...

3 years ago | 0 answers | 0

0

answers

Question


Cross validation settings for Classification Discriminant models
I foumd the 'KFold' in classification models can not be controlled when 'HyperparameterOptimizationOptions' is enabled. Here is ...

4 years ago | 1 answer | 0

1

answer

Question


QR decomposition with the output of a permutation vector
It is noted that the Matlab syntax for qr decomposition (https://www.mathworks.com/help/symbolic/qr.html#d120e152496): [Q,R,P]...

4 years ago | 1 answer | 0

1

answer

Question


The calculated R squared is not equal to the squared of correlation coefficient by Matlab functions corr
With model predicitons and true values, the R2 (determiantion coefficient) can be readily calculated using the standard formula:...

4 years ago | 2 answers | 0

2

answers

Question


Error using struct2handle Cannot find an exact (case-sensitive) match
I am runing a gui program developed in an older version of Matlab which was case-insensitive. To run the program, I have changed...

4 years ago | 0 answers | 0

0

answers

Question


The input hyperparameters for a ClassificationDiscriminant classifier are different from those retrieved from the trained model
I am training a discriminant model using fitcdiscr function. discrMdl = fitcdiscr(Xtrain,Ytrain,'discrimType','linear','ClassN...

4 years ago | 0 answers | 0

0

answers

Question


How to deal with imbalanced dataset classification by support vector machine
I have a dataset that is heavily skewed in one class. The training with support vector machine (SVM), by either fitcsvm.m or fit...

4 years ago | 1 answer | 0

1

answer

Question


Matlab tril function does not work as expected
I am using Matlab2019a. When I was using tril an triu functions for generating triangular matrix, they ony give single values. H...

4 years ago | 1 answer | 0

1

answer

Question


How to change the displayed axis ticks with self-defined values
Here is an image diplayed wih the function imagesc. The x and y axises are consistent with the image size, but I want to replace...

4 years ago | 0 answers | 0

0

answers

Question


What is the difference between bilinear image resizing and averaged downsampling
I note imresize has the method option 'bilinear'. Does this method have the same effect as averaged downsampling? For example, g...

4 years ago | 1 answer | 0

1

answer

Question


Get the masks of the region between two lines
Here is an image where two lines are drawn. I want to generate a binary mask for the region enclosed by the two lines. Is there ...

4 years ago | 1 answer | 0

1

answer

Question


How to perform robust line fitting in a binary image
I am going to find the the best line for a binary image display below. When I use curve fitting functions, i.e., polyval or robu...

4 years ago | 1 answer | 0

1

answer

Question


How to extract numeric values from char
I have 9*1 column cell C. Here is the contents: {'{"name":"rect","x":101,"y":30,"width":239,"height":244}'} {'{"name"...

5 years ago | 1 answer | 0

1

answer

Question


How to peform multiple paired-t tests
To my knowledge ttest.m can be used to peform a single parired t test, e.g., ttest(x,y), and the function can also be used f...

6 years ago | 2 answers | 0

2

answers

Question


how to add a dynamically updated progress bar in a GUI window
I am trying to add a dynamic progress bar in a GUI. I note there are some solutions available (How to add progress bar control t...

6 years ago | 0 answers | 0

0

answers

Question


How to fix coding method (e.g.,'onevsall') in performing hyperparameter optimzation in multi-class svm (i.e., fitcecoc.m)
The function fitcecoc.m allow to optimize hyperparamters for multi-class svm by seting up the parameter-vlaue pairs for 'Optimiz...

6 years ago | 1 answer | 0

1

answer

Question


Faster rcnn with Caffe: Matlab encounters an intenral problem and needs to close
This post is same as that I post in Stackoverflow at <https://stackoverflow.com/questions/50798740/faster-rcnn-with-caffe-cannot...

6 years ago | 0 answers | 0

0

answers

Question


Object alignment for a moving object in the two consecutiely acquired images
I have two images acquired from a moving object. The object is moving in a fixed direction (from left to right in the image) in ...

6 years ago | 0 answers | 0

0

answers

Question


Why does hilbert tranformer give a phase-shifted but amplitude-reduced signal?
I have performed hilbert transform by using a FIR hilbert filter rather than the matlab built-in hilbert function. An example co...

7 years ago | 1 answer | 0

1

answer

Question


How to perform Hilbert transform by using fir hilbert transformer coefficient
I just read a paper which gives a 7-element FIR Hilbert transformer: [-0.1270413, 0 -0.6012845, 0, 0.6012845, 0, 0.1270413...

7 years ago | 0 answers | 0

0

answers

Question


Use low-level functions (not imread.m) to read an grayscale image
I try to use low-level functions (fopen.m and fread.m) to read a grayscale image of uint16 in tiff format as follows: fid...

7 years ago | 1 answer | 0

1

answer

Question


Plot a 3D matrix for a three-dimensional object
I have obtained a 3D matrix A(:,:,3) for the geometry of an object. A(:,:,1) is a matrix corresponding to x coordinates in the w...

8 years ago | 5 answers | 0

5

answers

Question


2D interpolation in a specific region in a given image
I am going to perform two-dimensional (2D) interpolation in a region of interest (ROI) in an image as shown below. <</matlabc...

8 years ago | 1 answer | 0

1

answer

Question


Image segmentation of a fringe pattern image to extract the fringe area
I am going to extract the fringe area from a fringe pattern image shown below. The image is highly contrasted with distinctive b...

8 years ago | 1 answer | 0

1

answer

Question


Matlab how to read txt data in a specific format into the workspace
My txt file is organized in the following format: image filename n (number of objects of interest in the image) boun...

8 years ago | 1 answer | 0

1

answer

Question


how to convert a decimal number within (0, 255) to a 8-bit binary number?
Assume a decimal number 100, it should be converted to 01100100 rather than 01100100 by dec2bin.m. Is there any efficient way...

8 years ago | 1 answer | 0

1

answer

Question


how to generate a color histogram by concatenating the higher order two bits of each color component
I want to use matlab to generate a color histogram. The standard way to do that is to concatenate the higher order two bits for ...

8 years ago | 3 answers | 0

3

answers