I am an Associate in the Engineering Development Group here at The MathWorks.

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

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

Answered

Satellite image spatial references?

According to the documentation geotiffread returns a spatial referencing object of the file. [boston, R] = geotiffread('boston....

Satellite image spatial references?

According to the documentation geotiffread returns a spatial referencing object of the file. [boston, R] = geotiffread('boston....

17일 ago | 1

| accepted

Answered

How do I have multiple color maps two different data-sets portrayed on single axes?

The following code might help. for k = 1:2 ax(k) = subplot(1,2,k);axis square; end % Subplot 1 subplot(ax(1)); % Pseud...

How do I have multiple color maps two different data-sets portrayed on single axes?

The following code might help. for k = 1:2 ax(k) = subplot(1,2,k);axis square; end % Subplot 1 subplot(ax(1)); % Pseud...

17일 ago | 0

Answered

data from figures without data

The following code might help. % Open your figure fig = openfig('example.fig'); % Find Xdata and YData objects dataObjs = fi...

data from figures without data

The following code might help. % Open your figure fig = openfig('example.fig'); % Find Xdata and YData objects dataObjs = fi...

17일 ago | 0

| accepted

Answered

Comparing locational similarity of ROIs within images

MATLAB provides ssim function for measuring Structural Similarity Index (SSIM) for 3-D volume image (e.g. MRI). ssim is an imag...

Comparing locational similarity of ROIs within images

MATLAB provides ssim function for measuring Structural Similarity Index (SSIM) for 3-D volume image (e.g. MRI). ssim is an imag...

17일 ago | 0

Answered

How do I plot error in both the x and y directions as a shaded area?

Since you want to shade the area between the four bounds for each point, the following code might help you. % Demo data x = [5...

How do I plot error in both the x and y directions as a shaded area?

Since you want to shade the area between the four bounds for each point, the following code might help you. % Demo data x = [5...

18일 ago | 0

Answered

Facing difficulty in converting a matlab function to c code

Below are some points to follow when generating C/C++ code from MATLAB code using MATLAB Coder. When generating C code, all var...

Facing difficulty in converting a matlab function to c code

Below are some points to follow when generating C/C++ code from MATLAB code using MATLAB Coder. When generating C code, all var...

18일 ago | 0

Answered

Image denoising using DnCNN

The implementation details of the dncnn can be found here.

Image denoising using DnCNN

The implementation details of the dncnn can be found here.

19일 ago | 0

Answered

Segmentation of B/W image

It is difficult to exactly segment out only the bone-disc area using standard segmentation techniques. The following function mi...

Segmentation of B/W image

It is difficult to exactly segment out only the bone-disc area using standard segmentation techniques. The following function mi...

19일 ago | 0

Answered

differece image of 2 images

MATLAB provides imabsdiff function to find the absolute difference of two images. The following code might help you. % read im...

differece image of 2 images

MATLAB provides imabsdiff function to find the absolute difference of two images. The following code might help you. % read im...

19일 ago | 0

| accepted

Answered

How to best include Matlab figure with transparency in a LaTeX document?

In MATLAB R2019a you can save EPS with alpha transparency. print('yourTransparentImage','-depsc');% place this code after the...

How to best include Matlab figure with transparency in a LaTeX document?

In MATLAB R2019a you can save EPS with alpha transparency. print('yourTransparentImage','-depsc');% place this code after the...

20일 ago | 0

| accepted

Answered

Plotting figure with 2 x-Axes and a y axis

Since the code you provided already creates two X axes one in top and one in bottom therefore, I assume you want both the X axes...

Plotting figure with 2 x-Axes and a y axis

Since the code you provided already creates two X axes one in top and one in bottom therefore, I assume you want both the X axes...

28일 ago | 1

Answered

Name of deployed app

MATLAB provides fileparts and mfilename function to get parts of file name and to get file name of currently running code. The...

Name of deployed app

MATLAB provides fileparts and mfilename function to get parts of file name and to get file name of currently running code. The...

약 1달 ago | 0

| accepted

Answered

Cross Correlation Map for stack of images

Find the attached Pearson Correlation Coefficient function myPCC.m implemented in terms of covariance according to the documenta...

Cross Correlation Map for stack of images

Find the attached Pearson Correlation Coefficient function myPCC.m implemented in terms of covariance according to the documenta...

약 1달 ago | 0

Answered

Pointer in a plot

I think you are using MATLAB R2019a. After plotting the figure, click on Data Tips option in the top right corner of the plot ...

Pointer in a plot

I think you are using MATLAB R2019a. After plotting the figure, click on Data Tips option in the top right corner of the plot ...

약 1달 ago | 1

Answered

Error using images.internal.morphmex

I suspect you might have to install a Microsoft Runtime Library from here and restart MATLAB. Also, you can refer to a similar ...

Error using images.internal.morphmex

I suspect you might have to install a Microsoft Runtime Library from here and restart MATLAB. Also, you can refer to a similar ...

약 1달 ago | 0

Answered

How to train fitcecoc by using COST SENSITIVE SVM

MATLAB provides ClassificationECOC and fitcecoc for Multiclass model for support vector machines (SVMs) and other classifiers. ...

How to train fitcecoc by using COST SENSITIVE SVM

MATLAB provides ClassificationECOC and fitcecoc for Multiclass model for support vector machines (SVMs) and other classifiers. ...

약 1달 ago | 0

| accepted

Answered

Superimposing two imagesc graphs over each other.

It is difficult to give exact solution without the exact data. But, below is an example of how you can superimpose 2 data using ...

Superimposing two imagesc graphs over each other.

It is difficult to give exact solution without the exact data. But, below is an example of how you can superimpose 2 data using ...

약 1달 ago | 2

| accepted

Answered

Why the plot doesn't show the result? I am trying to Solve Q-Switched Fiber Laser Rate Equation

I suspect the problem is due to the initial conditions. As you stated, if you declare 1e-10 as initial conditions then you will ...

Why the plot doesn't show the result? I am trying to Solve Q-Switched Fiber Laser Rate Equation

I suspect the problem is due to the initial conditions. As you stated, if you declare 1e-10 as initial conditions then you will ...

약 1달 ago | 0

| accepted

Answered

Passing data into and out of an App

Since you prefer not to use global declaration or importing variable from Base Workspace, you can use properties option of the A...

Passing data into and out of an App

Since you prefer not to use global declaration or importing variable from Base Workspace, you can use properties option of the A...

약 1달 ago | 0

Answered

Wrong function interpretation on App Designer

It is difficult to debug without the actual code, but you can temporarily remove the Communications Toolbox from MATLAB’s curren...

Wrong function interpretation on App Designer

It is difficult to debug without the actual code, but you can temporarily remove the Communications Toolbox from MATLAB’s curren...

약 1달 ago | 0

Answered

An edge outline segmentation suggestion please

You can return all edges that are stronger than a specified threshold to minimize the effect of noise and speckle dots. Refer th...

An edge outline segmentation suggestion please

You can return all edges that are stronger than a specified threshold to minimize the effect of noise and speckle dots. Refer th...

약 1달 ago | 1

| accepted

Answered

Adding image under contour lines took away axes and changed EVERYTHING

The following code might help you: I=imread('cameraman.tif'); Irgb = cat(3,I,I,I); imshow(Irgb); hold all; contour(I);color...

Adding image under contour lines took away axes and changed EVERYTHING

The following code might help you: I=imread('cameraman.tif'); Irgb = cat(3,I,I,I); imshow(Irgb); hold all; contour(I);color...

약 1달 ago | 0

Answered

Change Fractal Colors to nuances of red

Building a custom colormap might solve your issue. Similar question can be found here. Tweaking the "hex" vector as shown below...

Change Fractal Colors to nuances of red

Building a custom colormap might solve your issue. Similar question can be found here. Tweaking the "hex" vector as shown below...

약 1달 ago | 0

| accepted

Answered

[App Designer] Can an app accept variables from the base workspace as input arguments?

You can use evalin to achieve the same. In the App Designer right click on the UIFigure, hover over 'callbacks', select ‘Add s...

[App Designer] Can an app accept variables from the base workspace as input arguments?

You can use evalin to achieve the same. In the App Designer right click on the UIFigure, hover over 'callbacks', select ‘Add s...

약 1달 ago | 0

Answered

Array Index .. values ERROR

Hi Peter, By setting breakpoint on line 13 of the live script GETMASS.mlx I can see that the elements of the array tempsCol ...

Array Index .. values ERROR

Hi Peter, By setting breakpoint on line 13 of the live script GETMASS.mlx I can see that the elements of the array tempsCol ...

약 1달 ago | 0

Answered

Package app with multiple GUIs (GUIDE)

Hi Patricia, In the Callback of the push button paste only the name (without any extension) of the next GUI where you want to n...

Package app with multiple GUIs (GUIDE)

Hi Patricia, In the Callback of the push button paste only the name (without any extension) of the next GUI where you want to n...

약 1달 ago | 0

Answered

MATLAB App Designer does not render new fonts

Hi, follow the steps below to achieve the same In the Editor tab of the App Designer click on the Public Property and insert th...

MATLAB App Designer does not render new fonts

Hi, follow the steps below to achieve the same In the Editor tab of the App Designer click on the Public Property and insert th...

약 1달 ago | 0

Answered

How to specify thresholding for SWT in a loop?

Hi, I understand that you are trying to perform the same thresholding procedure (as generated by the wavelet analyzer toolbox) f...

How to specify thresholding for SWT in a loop?

Hi, I understand that you are trying to perform the same thresholding procedure (as generated by the wavelet analyzer toolbox) f...

약 1달 ago | 0

Answered

Invalid MEX-file - Gateway function is missing.

MinGW is one of the supported compiler in MATLAB R2018ba for MEX file compilation according to the documentation. Therefore, try...

Invalid MEX-file - Gateway function is missing.

MinGW is one of the supported compiler in MATLAB R2018ba for MEX file compilation according to the documentation. Therefore, try...

약 1달 ago | 0

Answered

i get Undefined variable "NaiveBayes" or class "NaiveBayes.fit".

Hi, I understand that you are trying to use NaiveBayes.fit in MATLAB R2018b. According to the R2014b Release Notes NaiveBaye...

i get Undefined variable "NaiveBayes" or class "NaiveBayes.fit".

Hi, I understand that you are trying to use NaiveBayes.fit in MATLAB R2018b. According to the R2014b Release Notes NaiveBaye...

약 2달 ago | 0