photo

Riccardo Rossi


Last seen: 3 days ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Extract pixels inside the area between 2 edge lines
Hello, I would like to detect all the pixels of an BW image which are enclosed into the area of a polybuffer. About the polybuf...

1 year ago | 2 answers | 0

2

answers

Question


Normalizing pixel colours of an RGB image
Hello, I need to normalize an RGB image by replacing each channel (RED, GREEN and BLUE) of each pixel with the following values...

1 year ago | 1 answer | 0

1

answer

Question


Add text to all rows of one column in matrix
Hi, I have to replace the values of a column of a 4x3 matrix with a string or character as in the following example: 0 1 ...

4 years ago | 1 answer | 0

1

answer

Question


Find equal elements in an array and average the corresponding values
Hello, I have a cell array A{2, 6} like the following [-0.27,11.53,-2.82] [0.01,11.72,-3.27] [-0.04,11.56,-2.87] [-0.01,11.73...

4 years ago | 1 answer | 0

1

answer

Question


Convert an 18x1 cell array in a 3x6 cell array
Hello, I need to convert a cell array with 18 rows and 1 column in a cell array with 3 rows and 6 columns. How can I do it? Th...

4 years ago | 1 answer | 0

1

answer

Question


How can I order consecutive numbers?
Hello everyone, I need to reorder the values in A as follow (B): (A) (B) 1 ...

4 years ago | 1 answer | 0

1

answer

Question


Remove rows in cell array if specific column == 0
Hi everybody, i have a cell array like this: D{1, 1}{2, 1} D{1, 2}{2, 1} ...

5 years ago | 1 answer | 0

1

answer

Question


Straight line from all points of A to every single point of B
Hi everybody, i have 2 array with different number of rows (with columns that indicate x, y and z): A (3x3 duble) 2.5 6.6 ...

5 years ago | 1 answer | 0

1

answer

Question


Extract all columns for a single row in a cell array
Hi everybody, i have two cell array like the following: A {1,1} 1 0 0 0 B {1,1} 12 34 54 11 31 51 26 ...

5 years ago | 1 answer | 0

1

answer

Question


Select a specific area of an RGB image
Hi everybody, i have an RGB image and i want to select (not cut) a specific area with the following dimensions: [Xmin Ymin wid...

6 years ago | 1 answer | 0

1

answer

Question


Remove pixel == 1 from an RGB image
Hi everybody, hi have an RGB image and i want to remove all pixels which were equal to 1 from the following command: FIND=(A(:,...

6 years ago | 1 answer | 0

1

answer

Question


Cut a .JPG image
Hi everybody, i would like to cut a .JPG image. To do this i used that script but it does not run: X=imread('C:\Users\Utente...

6 years ago | 1 answer | 0

1

answer

Question


Error: Unable to perform assignment because brace indexing is not supported for variables of this type
Hi everybody, if I launch this code using a single POINT it works, if instead I insert it inside a loop (with POINT that chang...

6 years ago | 2 answers | 0

2

answers

Question


Reshape an array into another
Hi everybody, I have an array like this: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ...

6 years ago | 2 answers | 0

2

answers

Question


Group all the columns every N rows
Hi everyone, i have an array like this: A 0.5 0.4 0.5 0.9 0.3 0.5 0.5 0.5 0.1 0.5 0.4 0.2 0.9 0.8 0.2...

6 years ago | 2 answers | 0

2

answers

Question


Repeat all operations for n rows inside an array (with n unknown)
Hi everybody, i have an array like this (with unknown rows number): 0.3 0.4 4 0.5 0.6 3.1 and i'd like to repeat diff...

6 years ago | 1 answer | 0

1

answer

Question


Pdist2 inside for
Hi everybody, i have two 3D matrix A and B with different lengths. I need to build a for loop to calculate the pdist2 between ...

6 years ago | 2 answers | 0

2

answers

Question


Cell array: select cells based on length
Hi everyone, If i have a cell array like this: {1×3 double} {1×3 double} {2×3 double} {1×3 double} {4×3 double}...

6 years ago | 1 answer | 0

1

answer

Question


Cell array: select only 1x3 double cells
Hi everyone, i have a 1x4 cell array like this: {[0.1]} {1×3 double} {[0.02]} {1×3 double} and i want to extract ...

6 years ago | 1 answer | 0

1

answer

Question


for 1:x with unkonw x
Hi everybody, i have an array like this: ARRAY X Y Z C -3 4 5 1 5 6 2 2 4 4 9 1 6 6 7 2 4 6 2 3 ...

6 years ago | 2 answers | 0

2

answers