photo

Antoni Garcia-Herreros


Last seen: 29 jours il y a Actif depuis 2023

Followers: 0   Following: 0

Programming Languages:
Python
Spoken Languages:
English
Pronouns:
He/him

Statistiques

  • 3 Month Streak
  • Thankful Level 1
  • Knowledgeable Level 4
  • First Answer

Afficher les badges

Feeds

Afficher par

Question


Find circularity in low signal to noise image with light relfections
Hello, I would like to find the circularity of the patch in the image. I know that light reflections should be avoided using p...

12 mois il y a | 1 réponse | 0

1

réponse

Réponse apportée
legend line color same
Hello, Try: legend('I3', '','I2');

presqu'un an il y a | 0

Réponse apportée
How to crop and save objects from many images?
Hello Maria, You have two options, either crop the seed manually using drawrectangle or other ROI functions (drawpolygon) Or c...

environ un an il y a | 0

Réponse apportée
How do I make a video plot with multiple line that appears as it plots?
Hello David, It would be easier if you attached the the different variables (GMD, x, ms,...) as a .mat file. The reason why th...

environ un an il y a | 0

| A accepté

Réponse apportée
Calculate the length of an object in image
Hello Adele, You could try using the function regionprops and the property MaxFeretDiameter. load('LavaField_example.mat') th...

environ un an il y a | 1

| A accepté

Réponse apportée
Multiple ROI's in a sequence/batch of images, pulling the data to a new array
Hello Kegan, If you don't provide any raw data is hard to come up with a specific solution, but the code structure could be som...

environ un an il y a | 0

Réponse apportée
how to calculate mean of interrupted data
Hello, You could try something like this: A=[1:10]; % For the example A(5)=NaN; A(8)=NaN R=[1 find(isnan(A)) length(A)]; % I...

environ un an il y a | 0

Réponse apportée
How to find the individual values that produces max results in the addition of two time series?
Data=rand(4,10); % Each column of Data corresponds to B,C,D E F Data(:,1)= [0.5; 0.3; 1; 0.2]; % First column corresponds to ...

environ un an il y a | 0

| A accepté

Réponse apportée
I want a program in which the user enters the function and the program display or plot that function
Hello Amir, When you input your function you need to add the dot , just like this: x.^n

environ un an il y a | 0

| A accepté

Réponse apportée
Plotting table results from grpstats
Hello Sophia, You could try something like this: close all load('PAM1.mat') PAM1stats = grpstats(PAM1,["DHW","SHADE"],["min"...

environ un an il y a | 0

| A accepté

Réponse apportée
Add name for each cell in MATLAB
Hello Omid, I'm assuming that what you want to label are the columns and not the rows. We cannot run your code because we don...

environ un an il y a | 0

| A accepté

Réponse apportée
Positioning Axes using arrays
% axes('Position', [x y u v]) The bottom left corner of the axes is positioned at (x,y). The bottom left of your figure is the ...

environ un an il y a | 0

Réponse apportée
(i) x-and-y scales defined as "log", or (ii) calculate the log of variables, or (iii) loglog
No, Method 1 and 3 are equivalent. The X and Y values range from 1 to 10, it does not matter which scale you use, the values r...

environ un an il y a | 1

Réponse apportée
Extract RGB values, shape and size of many objects in all images inside a folder.
Hello Maria, You can start by taking a look at the function regionprops. But the general idea would be to: Read an image Ma...

environ un an il y a | 0

| A accepté

Réponse apportée
Find the difference between all columns of a given row of a matrix
Hello MAWE, You could use the function nchoosek: Something like this might work for your case: A=rand(4,5); % Generate data f...

environ un an il y a | 0

| A accepté

Réponse apportée
Finding max peak between two datetime values
Hello Joel, You could try something like this: clear all clc load EFFEKT %EFFEKT contains a value for every our of the year ...

environ un an il y a | 0

Réponse apportée
How can i detect the boundary using bwtraceboundary function ??
Hello Surendra, You can take a look at this thread. But the general idea would be to: Crop ROI Segment your image Obtain th...

environ un an il y a | 1

Réponse apportée
Cannot detect dots in calibration image with detectCircleGridPoints
Hello Jos, I'm not sure why detectCirlceGridPoints is not working, however, you could try using regionprops: BW=imbinarize(img...

environ un an il y a | 0

| A accepté

Réponse apportée
Get the position, period and the amplitud of the wave.
Hello Vicente, You can try a couple of different approaches: Option A: Use findpeaks function to get the values of the peaks ...

environ un an il y a | 1

| A accepté

Réponse apportée
How to Set The Max Value of GUI slider to a Calculated Value
Try adding this line of code when you are defining the Slider app.Slider.Limits=[0 Df];

environ un an il y a | 0

Réponse apportée
compare variable with different data types
Hello, You can take a look at the isa function to determine the datatype of x. Something like this should do the trick: if is...

environ un an il y a | 0

Réponse apportée
How to add a legend for a plot generated with a function multiple times?
Hello, As @Steven Lord pointed out it's hard to suggest anything without knowing how plotOrbit works, but you could try somethi...

environ un an il y a | 0

| A accepté

Réponse apportée
Average of the surrounding pixels for each 3x3 matrix, excluding the "outliers" from the count.
Hello, You can try something like this: Your code takes arround 0.9 seconds to run on my laptop. This one takes 0.06 seconds ...

environ un an il y a | 0

Réponse apportée
I am having this error "Index in position 3 is invalid. Array indices must be positive integers or logical values." in my file. Can you please help me in resolving this.
Hello Muhammad, Most likely your x(3) value will be and odd integer, therfore when you divide it by 2 you'll have a float. Yo...

environ un an il y a | 0

| A accepté

Réponse apportée
How to add a line on the surface plot at a specific x value?
Hello Rebeka, You can try something like: clc; clear all; g=1; l1=1; w0= sqrt(g/l1); [mu,a]=meshgrid(0.01:0.2:20,0.01:0.2...

environ un an il y a | 0

Réponse apportée
How can I replace a pair of coordinates (x;y) in a table by values from a list of reference coordinates?
Hello Mathieu, You can try something like this: However, I did not find any X, Y pair of values present in both len and IHC. ...

environ un an il y a | 0

| A accepté

Réponse apportée
How can I count the black particles without counting the small particles in the background?
Hello loris Regionprops does exactly what you are looking for. You can try something like this: clear all close all rgb_im ...

environ un an il y a | 1

| A accepté

Réponse apportée
Most readable syntax to fill table in a for cycle
Hello You could create the arrays containing x and residual beforehand and create the table afterwards. Something like this: x...

environ un an il y a | 1

Réponse apportée
How do i do x1<=x<=x2 in matlab?
Hello Alexander You should use the & statement x=1:10; %Let's say you want to find the values of x between 3 and 7 x1=3; x2...

environ un an il y a | 0

Réponse apportée
how can convert 256x256 gray image to 6 grayscale?
Hello Emirhan, You could try something like this: Use the command entropy %Create the 256 grayscale image for the example ...

environ un an il y a | 0

Charger plus