Yuzhen Lu
Followers: 0 Following: 0
Feeds
질문
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년 전 | 답변 수: 3 | 0
3
답변질문
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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 2 | 0
2
답변질문
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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 2 | 0
2
답변질문
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년 전 | 답변 수: 0 | 0
0
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 5 | 0
5
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 1 | 0
1
답변질문
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년 전 | 답변 수: 3 | 0