Community Profile

### MathWorks

163 2019 이후 총 참여 횟수

I am a Software Engineer here at The MathWorks.

My areas of interest are Image Processing, Pattern Recognition, Computer Vision & Graphics, and plotting.

DISCLAIMER: Any advice or opinions here are my own and in no way reflect that of The MathWorks.

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
save the output figure as binary image
The below code will save the figure as an image in the worksapce. clc; close all; rectangle('Position',[0 0 539 539], 'FaceCol...

약 19시간 전 | 0

| 수락됨

답변 있음
can't print pictures
It seems the paths below "C:\Users\panchaopang\Documents\MATLAB\" "C:\Users\panchaopang\Documents\mtex-5.2.5\mtex-5.2.5\geome...

2일 전 | 0

| 수락됨

답변 있음
You should not use the variable name input as it shadows a MATLAB built-in function. Use the example code below. close all; clc...

2일 전 | 0

| 수락됨

답변 있음
Image Saving to Variable in Workspace (NOT imwrite)
Use rescale, you can also specify the lower and upper range of scaling. LLLL = rescale(sp_possible_quadtree);

3일 전 | 0

| 수락됨

답변 있음
Add 2d plots along a 3d helix
Use this close all; clc; r=93.36; theta=0:pi/50:10*pi; %Trajectory in x-direction x=-r.*cos(theta); %Trajectory in y-direc...

4일 전 | 0

| 수락됨

답변 있음
Removing a TEX arrow symbol from String
Your code is almost correct but, before erasing you need to check whether the h.String contains \leftarrow or \rightarrow. Use t...

4일 전 | 0

| 수락됨

답변 있음
threshold images and save as jpeg in loop
Use imwrite instead of save. for i = 1:numel(I) % Obtain red matrix of image filename = fullfile(path, I(i).name); ...

4일 전 | 0

| 수락됨

답변 있음
How to open a dialog box when saving multiple figures?
Here is an example close all; clc; H = figure; surf(peaks); filter = {'*.fig'}; savefig(H, uiputfile(filter));

4일 전 | 0

답변 있음
3D scatter with 2 different data sets as different colours
Firstly your PLMS.xlsx file has some NaN values. Moreover, the variable x is identical with xx, y is identical with yy, and so o...

5일 전 | 0

| 수락됨

답변 있음
Go through the table with a loop and change values
ds = record ("xlsfile", "dataset.csv"); data = dataset2table(ds); [rows, cols] = size(data); newData = data; for i = 1: ro...

5일 전 | 1

답변 있음
Recommended Toolboxes to recognize and classify images using neural networks
In general you will be needing Image Processing Toolbox, Computer Vision Toolbox, Statistics and Machine Learning Toolbox and De...

5일 전 | 0

답변 있음
subscript in ylabels of heatmap
Starting in R2019a, heatmaps interpret text using TeX markup instead of displaying the literal characters. Therefore it seems yo...

5일 전 | 0

| 수락됨

답변 있음
How to filter out NaNs on images ?

6일 전 | 0

| 수락됨

답변 있음
while executing my code there is no error but i did not get any output
You are not getting any output because you are trying to display the vector l_p as an image. It seems you are trying to 2-D calc...

7일 전 | 0

답변 있음
Quantization HSV Space by assigning 8 level each to hue, saturation and value to give a quantized HSV space with 8x8x8=512 histogram bins
Here is an example of quantization of the HSV colorspace clc; close all; rgbImage = imread('peppers.png'); hsvImage = rgb2hsv...

7일 전 | 0

| 수락됨

답변 있음
problem using medfilt2
Your Az vector is mainly concentrated around 169, therefore normal median filtering destroys the sudden peaks. Using Padding opt...

7일 전 | 1

| 수락됨

답변 있음
I want to multiply two matrices by sliding the smaller matrix on the larger one through neighborhood operations
It seems the functon conv2 does what you are trying to achieve. THETA_F1 = randi(512, 642); % Demp data THETA_F2 = randi(245, ...

7일 전 | 0

답변 있음
Cropping out the image/generating image the same size as the matrix it comes from
Question 1: Saving and resizing your matrix % Resizing image matrix yourMatrixResized = imresize(yourMatrix, [512, 512], 'bicu...

7일 전 | 0

| 수락됨

답변 있음
How can I draw on two ROI to create a mask on the same image?
You can easily combine those two masks using the imadd() function. Refer the code below close all ; clc; I = imread('cameraman...

7일 전 | 0

답변 있음
How to use imshow in a panel?
You can create a child uiaxis for the uipanel parent and specify the uiaxis handle as parent while using imshow. frameRGB = rea...

7일 전 | 1

답변 있음
PSNR Calculation without using function
You are getting 3 PSNR values because your "input.png" and "groundTruth.png" are 3 channel RGB images and your code is calculati...

7일 전 | 1

| 수락됨

답변 있음
How to animate the plot back and forth for unlimited cycles?
Define a figure CloseRequestFcn like below function my_closereq(src, callbackdata) selection = questdlg('Close This Figure?',....

7일 전 | 0

| 수락됨

답변 있음
Histogram-based RGB segmentation
I am not sure about which algorithm you are trying to implement but below is an example of histogram based segmentation using Ot...

11일 전 | 0

| 수락됨

답변 있음
How to load multiple excel files with multiple excel sheets and store it in matlab faster?
If you have Parallel Computing Toolbox you can use parfor loop instead of normal for loop. That might decrease the time to read ...

11일 전 | 0

답변 있음
Manipulation of RGB matrices possibly using NaN values?
You can achieve this via ROI processing and defining a function handle. See the demo code below. (Download the attached image) ...

11일 전 | 0

| 수락됨

답변 있음
help me to Showing the Cloud !
Remove these lines before function defination. clear clc Also can you post your code instead of attaching a screenshot?

12일 전 | 1

| 수락됨

답변 있음
What is the difference between "dwt2()" and "wavedec2()"?
Basically dwt2() applies 2-D discreet wavelet transformation on the image and provides the approximation and detail coefficients...

12일 전 | 0

| 수락됨

답변 있음
Controlling the size of legend markers separately from the font size of legend labels
A new MATLAB graphics system is introduced from MATLAB R2014b onwards. Your code will work for the older system I guess. Use th...

13일 전 | 0

| 수락됨

답변 있음
Connect objects binary image
Hi, try the code below and see if it gives the expected output. (Download the attached image) a = rgb2gray(imread('BW_img_marke...

13일 전 | 0

답변 있음
assign particular colour to 2nd bar of the bar plot
Hi, use the code below. clc; close all; % Define your 4-element matrix y = [25 75 100 125]; % Plot bar graph b = bar(y); %...

13일 전 | 0