photo

Ilian


Last seen: Today Aktiv seit 2020

Followers: 0   Following: 0

Statistik

  • Knowledgeable Level 2
  • Revival Level 1
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
column circular permutaion on a matrix
If you just want to rotate the rows this could work: s = -3; % shift (both positive and negative values work) rows = size(A,1)...

mehr als 4 Jahre vor | 0

Beantwortet
How do I get a for loop to check a row for conditions?
If you want to use a for loop, you could have a look at if statement with multiple conditions % Your conditions a = 200; b ...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
Calculate the mean of nonzero pixels and set a threshold
If you just have a threshold, you don't even need to ceate an explicit mask: m = mean(volume(volume>=0.001)); % average of all ...

mehr als 4 Jahre vor | 0

Beantwortet
crop multiple images with freehand
imcrop should have a rectangle as input, but you have a mask. You could use roi = drawrectangle(); instead of imfreehand and t...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
Changing image background from black to white
You can try using connected components. With relatively simple problems this could work: img_original = imread('image.jpeg'); ...

mehr als 4 Jahre vor | 1

| akzeptiert

Beantwortet
remove variables in txt file
You could remove the header line first with something like this: fileID = fopen('p_s.txt'); dataFormat = '%f %s'; C_text = te...

mehr als 4 Jahre vor | 0

| akzeptiert