Senior Lecturer in Biomedical Image Analysis at City, University of London. Huge Matlab fan, wrote the book "Biomedical Image Analysis Recipes in MATLAB: For Life Scientists and Engineers" published by Wiley-Blackwell.

Answered

Problem finding the index?

Hello, you have a very subtle problem, and it is that you do not have a value of 40 in your matrix. If you see the value of loca...

Problem finding the index?

Hello, you have a very subtle problem, and it is that you do not have a value of 40 in your matrix. If you see the value of loca...

8 days ago | 0

Answered

Problem finding the index?

Ok, a problem of precision, I will edit the previous answer to have the complete solution

Problem finding the index?

Ok, a problem of precision, I will edit the previous answer to have the complete solution

8 days ago | 1

Answered

How to display UNICODE/IPA characters within GUIs and plots?

Hello. This may seem rather simple but it *works*, you can just copy-paste the symbols from a webpage, for instance https://e...

How to display UNICODE/IPA characters within GUIs and plots?

Hello. This may seem rather simple but it *works*, you can just copy-paste the symbols from a webpage, for instance https://e...

8 days ago | 0

Answered

Extract specific row from an image and average with a variable number of adjacent rows

Certainly it can be done much easier. Instead of this yth_row=(img(xcol,:)+img(xcol-1,:)+img(xcol+1,:)+img(xcol-2,:)+img(xcol+...

Extract specific row from an image and average with a variable number of adjacent rows

Certainly it can be done much easier. Instead of this yth_row=(img(xcol,:)+img(xcol-1,:)+img(xcol+1,:)+img(xcol-2,:)+img(xcol+...

11 days ago | 0

| accepted

Answered

how to trace black and white region separately in an binary image

generate 2 images, one at which you threshold for bright values, and one for which you threshold for dark values. Once you have ...

how to trace black and white region separately in an binary image

generate 2 images, one at which you threshold for bright values, and one for which you threshold for dark values. Once you have ...

11 days ago | 0

| accepted

Answered

How to detect start points and end points of plateaus in graph plotted from a data set?

There are some uncertainties in your problem: How noisy is the data? Is there variation of intensity within the plateau? Do ...

How to detect start points and end points of plateaus in graph plotted from a data set?

There are some uncertainties in your problem: How noisy is the data? Is there variation of intensity within the plateau? Do ...

11 days ago | 0

| accepted

Answered

video convert to PNG but black and white

It may be an issue with data types like double, uint8, etc. Instead of imshow try imagesc and also try imshow(A/max(A(:))); ...

video convert to PNG but black and white

It may be an issue with data types like double, uint8, etc. Instead of imshow try imagesc and also try imshow(A/max(A(:))); ...

15 days ago | 0

Answered

PROBLEM IN PLOTTING THE FOURIER SEIRES

The problem you are facing is that your calculations are generating NaNs: >> zt zt = Columns 1 through 3 NaN...

PROBLEM IN PLOTTING THE FOURIER SEIRES

The problem you are facing is that your calculations are generating NaNs: >> zt zt = Columns 1 through 3 NaN...

15 days ago | 0

Answered

Segmentation shoulder X-ray image

Ok, here is the solution, following the ideas I had previously described. I downloaded your edges so it may not be exaclty the s...

Segmentation shoulder X-ray image

Ok, here is the solution, following the ideas I had previously described. I downloaded your edges so it may not be exaclty the s...

15 days ago | 1

Answered

calculate volume under of 3D isosurface plot

What isosurface and isovalue are doing are generating a surface around those points that are above a certain value. All code you...

calculate volume under of 3D isosurface plot

What isosurface and isovalue are doing are generating a surface around those points that are above a certain value. All code you...

15 days ago | 0

| accepted

Answered

Counting wheat plants in a photo

It is not clear what you have already done to reach the b/w images, what I would do as first steps would be 1) exploit the fact...

Counting wheat plants in a photo

It is not clear what you have already done to reach the b/w images, what I would do as first steps would be 1) exploit the fact...

16 days ago | 0

| accepted

Answered

Segmentation shoulder X-ray image

Ok, this is a good start, try the following, assuming that your image is a b = edge(a,'Canny',[],3); So what you showed wa...

Segmentation shoulder X-ray image

Ok, this is a good start, try the following, assuming that your image is a b = edge(a,'Canny',[],3); So what you showed wa...

18 days ago | 0

Answered

Empty variables and vectors

I think we need a bit more information to fully understand each other, but let's see if this helps you have three variables a,b...

Empty variables and vectors

I think we need a bit more information to fully understand each other, but let's see if this helps you have three variables a,b...

19 days ago | 0

Answered

FFT of sine wave not plotting

In addition to the previous comment 2 issues: 1) FFT will give a complex answer so you will need to plot the absolute values ...

FFT of sine wave not plotting

In addition to the previous comment 2 issues: 1) FFT will give a complex answer so you will need to plot the absolute values ...

19 days ago | 0

Answered

Segmentation shoulder X-ray image

Not trivial as the intensity is high on the top and right side of the image. Otherwise a thresholding after low pass filtering c...

Segmentation shoulder X-ray image

Not trivial as the intensity is high on the top and right side of the image. Otherwise a thresholding after low pass filtering c...

19 days ago | 0

Answered

how to get lowest row number in matrix?

use min https://uk.mathworks.com/help/matlab/ref/min.html

how to get lowest row number in matrix?

use min https://uk.mathworks.com/help/matlab/ref/min.html

19 days ago | 0

Answered

Empty variables and vectors

yes, it is easy declare the variables as empty: a =[]; b=[]; c = []; then run the rest of the code and when you reach you...

Empty variables and vectors

yes, it is easy declare the variables as empty: a =[]; b=[]; c = []; then run the rest of the code and when you reach you...

19 days ago | 0

Answered

Get the first file in each folder

Use the command "dir" and do it in loops: dir0 = dir('firstFolder'); numEntries = size(dir0,1) Then loop: for k=1:numE...

Get the first file in each folder

Use the command "dir" and do it in loops: dir0 = dir('firstFolder'); numEntries = size(dir0,1) Then loop: for k=1:numE...

19 days ago | 0

Answered

Close all figures which are not docked

When figures are docked, the position always start in the origin (i.e. 1,1), you could detect this location by using gcf like th...

Close all figures which are not docked

When figures are docked, the position always start in the origin (i.e. 1,1), you could detect this location by using gcf like th...

19 days ago | 1

| accepted

Answered

Plot a series of boxplots from one column of a series of cells in a cell array

Did the previous method help you resolve your question?

Plot a series of boxplots from one column of a series of cells in a cell array

Did the previous method help you resolve your question?

1 month ago | 0

Submitted

removeLineArtefact

Remove line artefacts sometimes present in microscopical images

2 months ago | 3 downloads |

Submitted

ElectroPalatography

Processing, Analysis and Visualisation of Phonetics and Electropalatography

2 months ago | 2 downloads |

Submitted

Data Mining and Visualisation of PubMed

Visualisation and data mining of the public database of biomedical literature PubMed

2 months ago | 8 downloads |

Answered

Plot a series of boxplots from one column of a series of cells in a cell array

I think that the problem is that you are using CELL, instead of a simple matrix. See my example: C =[]; for k=1:120 C1 = k*...

Plot a series of boxplots from one column of a series of cells in a cell array

I think that the problem is that you are using CELL, instead of a simple matrix. See my example: C =[]; for k=1:120 C1 = k*...

2 months ago | 1

Answered

how to compare ground truth image with segmented image?

Jaccard index is the intersection (BW.*BW2) over the union (BW|BW2) or ((BW+BW2)>0), so you can calculate directly like this ...

how to compare ground truth image with segmented image?

Jaccard index is the intersection (BW.*BW2) over the union (BW|BW2) or ((BW+BW2)>0), so you can calculate directly like this ...

2 months ago | 0

Answered

Tumor Segmentation using FCM in Matlab code

The tumour is way brighter than the rest of the brain, I would think that simple thresholding (image>threshold) provides a good ...

Tumor Segmentation using FCM in Matlab code

The tumour is way brighter than the rest of the brain, I would think that simple thresholding (image>threshold) provides a good ...

2 months ago | 0

Answered

Plot a series of boxplots from one column of a series of cells in a cell array

Hi What I would do would be to loop over your cell, read the values that you want to display (second column right?) and place...

Plot a series of boxplots from one column of a series of cells in a cell array

Hi What I would do would be to loop over your cell, read the values that you want to display (second column right?) and place...

2 months ago | 0

Submitted

Legofy

Matlab: Convert a normal image (or internet image) into Lego-style, similar to https://github.com/JuanPotato/Legofy

2 months ago | 5 downloads |

Answered

I have a segmented image.. Now i need to find the smallest area from the image using the pixels values. How to do this in Matlab? Thank you in advanced...

to find the values of your pixels, add the colorbar to your figure and you can find out. Alternatively you can use this uniqu...

I have a segmented image.. Now i need to find the smallest area from the image using the pixels values. How to do this in Matlab? Thank you in advanced...

to find the values of your pixels, add the colorbar to your figure and you can find out. Alternatively you can use this uniqu...

2 months ago | 0

Answered

I have a segmented image.. Now i need to find the smallest area from the image using the pixels values. How to do this in Matlab? Thank you in advanced...

Hello If the areas are defined by the pixel values then you can discard all other pixels by comparing against the value of in...

I have a segmented image.. Now i need to find the smallest area from the image using the pixels values. How to do this in Matlab? Thank you in advanced...

Hello If the areas are defined by the pixel values then you can discard all other pixels by comparing against the value of in...

2 months ago | 0