How to perform morphological reconstruction by dilation?
Dilation is rather simple, but perhaps there are more steps to what you want: f9_dil = imdilate(f9,strel('diamond',3));

plus d'un an ago | 0

How to perform morphological reconstruction by dilation?
Dear Krishna I have seen several of your questions, I think that you would greatly benefit if you would study some Matlab and...

plus d'un an ago | 0

How to extract features from candidates?
First you need to label your objects with bwlabel, e.g. labelled_image = bwlabel (original_image); that will return your same ...

plus d'un an ago | 0

| accepted

finding length of scale bar from matrix form of image
As said before, not too difficult if you know what you need. Here is the code % Read the image imageWithScaleBar = imread('/...

plus d'un an ago | 0

| accepted

finding length of scale bar from matrix form of image
This should be easy by thresholding for the levels expected (black will be low in the three RGB channels, but not necessarily 0)...

plus d'un an ago | 0

unsers texture feature extraction
I would suggest that before using Unser's techniques (Where Unser is a person, Michael Unser http://bigwww.epfl.ch/unser/) try c...

plus d'un an ago | 0

How to get the hue/saturation of a colourful images?
If you want hue and saturation, then what you need is to transform from RGB to HSV, try rgb2hsv.

plus d'un an ago | 0

Matlab returns incorrect figure size when using figure with custom toolbar
I would support the idea of doing this through code. What you also do is once you have generated the GUI, grab the handles of th...

plus d'un an ago | 0

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

presque 2 ans ago | 0

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

presque 2 ans ago | 1

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

presque 2 ans ago | 0

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

presque 2 ans ago | 0

| accepted

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

presque 2 ans ago | 0

| accepted

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

presque 2 ans ago | 0

| accepted

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(:))); ...

presque 2 ans ago | 0

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

presque 2 ans ago | 0

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

presque 2 ans ago | 1

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

presque 2 ans ago | 0

| accepted

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

presque 2 ans ago | 1

| accepted

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

presque 2 ans ago | 0

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

presque 2 ans ago | 0

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

presque 2 ans ago | 0

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

presque 2 ans ago | 0

how to get lowest row number in matrix?
use min https://uk.mathworks.com/help/matlab/ref/min.html

presque 2 ans ago | 0

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

presque 2 ans ago | 0

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

presque 2 ans ago | 0

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

presque 2 ans ago | 1

| accepted

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

presque 2 ans ago | 0

Submitted

removeLineArtefact
Remove line artefacts sometimes present in microscopical images