Community Profile

# Constantino Carlos Reyes-Aldasoro

### City, University of London

Last seen: 2 días ago Active since 2016

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.

All

#### Content Feed

View by

Bar graph and "stacked" options.
This is solved easily by adding zeros in the columns that you do not want a stack, e.g. bar ( [1 2 3;0 2 3;0 0 6]','stacked')...

1 día ago | 1

In Matlab, the command "colormap" corresponds to the color/colours that are assigned to the intensity of a figure. You display 2...

1 día ago | 0

Problem saving plot as jpg or pdf
You could try to add the legend outside the actual axes, e.g. 'eastoutside', have a look here: https://uk.mathworks.com/help/ma...

2 días ago | 1

Grain Model how to remove smaller grains
Ok, I think now I understand your problem. I thought you had information on the grains themselves, but if you are starting with ...

29 días ago | 0

Grain Model how to remove smaller grains
A bit difficult to help more without the data but I think that your problem can be fixed by selecting your grains by the propert...

29 días ago | 0

how to find index in matrix and average data ?
You can try the following, instead of "finding" the locations, which will be the indices, just use the locations like this: sst...

alrededor de 1 mes ago | 0

| accepted

How to make a loop inside a loop?
Difficult to answer without more context, but I suspect that the error is not related to the loops but something else. There are...

alrededor de 1 mes ago | 0

Hough transform incorrectly identifying vertical line segments
Ok, 2 things, you are first comparing and then subtracting, which may be counteracting, you could calculate hough directly like ...

alrededor de 2 meses ago | 0

Hough transform incorrectly identifying vertical line segments
Have you tried inverting the intensities of the image? As it is, white is the main element and that will be difficult to obtain ...

alrededor de 2 meses ago | 0

Why are title and label not working on histogram?
You are using the commands incorrectly, by writing title = ('Temperatures @ Top') you are creating a new variable called title w...

2 meses ago | 0

| accepted

Change variable name in plot
As mentioned before, this is not the best way to handle your data, BUT you are where you are, so to be able to use the names run...

2 meses ago | 0

2D color map change the input of y axis
Hello There are 2 ways to change the values of the y axis, first is to change the values when you plot. I do not have your fi...

2 meses ago | 0

| accepted

Asignar matriz automaticamente.
Hola Primero te recomendaria escribir en ingles para aumentar la posibilidad de que respondan las preguntas. Segundo, para que ...

2 meses ago | 1

Filter out small dust in image!
Where exactly are the rocks that you want to count? There is a lot of green but I cannot immediately see any rocks.

3 meses ago | 0

Bar Plot Legend and Axes
Hi First, to plot the subplots together, you need to grab the handles of each axes, i.e. figure h1=subplot(141); h2=subplo...

4 meses ago | 0

Smoothing colormap of plotted image
If you only want to smooth the final data, you can try with filters, e.g. imagesc(medfilt2(abs(Y),[5 5 ])) imagesc(imfilt...

4 meses ago | 1

| accepted

How to calculate the centroid / center of a patch?
The data X,Y must have been previously calculated from some raw data, say a thresholded figure, it is from that data you can eas...

4 meses ago | 2

Error of the following code : "Array indices must be positive integers or logical values."
Not very clear, what are length_ijk and index_ijk? in the files you have added, miu has 262144 values, ind has 77 and freq has 6...

6 meses ago | 0

Not able to write the image by reading xcel files generated , getting error of data type as shown in picture attached. Anybody please help.
This is not very clear, it would be better to copy the code instead of figures and provide a sample file so that the case can be...

6 meses ago | 0

How to add colormap on an image?
I guess that this is a 2 step question, you want to add a colormap and then export as a png or jpeg, try the following, read an ...

7 meses ago | 0

What is a good performance metric for pixels classification tasks
One good metric is the Jaccard Index, or the Intersection over Union. What this metric does is to divide true positives over th...

7 meses ago | 0

| accepted

Does anyone know how to create graphics of the same size?
Hello You can use the command "print" https://uk.mathworks.com/help/matlab/ref/print.html?searchHighlight=print&s_tid=srcht...

7 meses ago | 0

double data type in image processing
Another easy way around this is to divide the doubles by 255 X=imread('cameraman.tif'); %read the cameraman image X=doubl...

8 meses ago | 1

Random shuffle of vector elements
This can be easily done by addressing the vector correctly. First you need a random order to shuffle your elements. You can do t...

9 meses ago | 1

| accepted

how can i use a Gaussian gradient routine for remove the out of focused section in image processing
You could refine your processing using bwlabel to assign unique labels to the regions you have already detected. Then use region...

10 meses ago | 0

| accepted

A ’BGR’ image.
Hello: First, changing channels is very simple you just need to change the third dimension of the image, e.g. image1=imread('p...

10 meses ago | 1

| accepted

I cannot save matlab editor, the .m file.
I guess that you must have used some special characters like accents, have you copy-pasted something into the editor?

11 meses ago | 0

Detecting a stain in a texture

11 meses ago | 0

Submitted

aToD
Analogue To Digital Conversion