Community Profile # Yuzhen Lu

Last seen: 5 Tage ago Active since 2016

#### Statistics

• • #### Content Feed

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...

etwa ein Monat ago | 1 answer | 0

### 1

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...

7 Monate ago | 0 answers | 0

### 0

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 ...

mehr als ein Jahr ago | 1 answer | 0

### 1

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]...

mehr als ein Jahr ago | 1 answer | 0

### 1

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:...

mehr als ein Jahr ago | 2 answers | 0

### 2

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...

mehr als ein Jahr ago | 0 answers | 0

### 0

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...

mehr als ein Jahr ago | 0 answers | 0

### 0

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...

mehr als ein Jahr ago | 1 answer | 0

### 1

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...

mehr als ein Jahr ago | 1 answer | 0

### 1

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...

mehr als ein Jahr ago | 0 answers | 0

### 0

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...

mehr als ein Jahr ago | 1 answer | 0

### 1

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 ...

mehr als ein Jahr ago | 1 answer | 0

### 1

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...

mehr als ein Jahr ago | 1 answer | 0

### 1

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"...

mehr als ein Jahr ago | 1 answer | 0

### 1

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...

mehr als 2 Jahre ago | 1 answer | 0

### 1

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...

fast 3 Jahre ago | 0 answers | 0

### 0

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...

fast 3 Jahre ago | 1 answer | 0

### 1

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...

mehr als 3 Jahre ago | 0 answers | 0

### 0

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 ...

mehr als 3 Jahre ago | 0 answers | 0

### 0

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...

fast 4 Jahre ago | 1 answer | 0

### 1

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...

fast 4 Jahre ago | 0 answers | 0

### 0

Question

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...

mehr als 4 Jahre ago | 1 answer | 0

### 1

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...

mehr als 4 Jahre ago | 4 answers | 0

### 4

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...

fast 5 Jahre ago | 1 answer | 0

### 1

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...

fast 5 Jahre ago | 1 answer | 0

### 1

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...

etwa 5 Jahre ago | 1 answer | 0

### 1

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...

etwa 5 Jahre ago | 1 answer | 0