Community Profile

# Alberto Acri

Last seen: Today Actif depuis 2020

#### Content Feed

Afficher par

Question

Find the (x,y) coordinate of a "white" pixel (from calculated matrix)
Hello! I want to determine the coordinate (x,y) of any "white" pixel that is in contact with a "black" pixel. For example, in ...

environ 15 heures il y a | 2 réponses | 0

### 2

réponses

Question

color all pixels in an image black except white pixels
Hi! From the attached .png figure [rxcx3] I would like to keep only the white pixels and turn all other pixels to black. How can...

2 jours il y a | 1 réponse | 0

### 1

réponse

Question

select a pixel on the grayscale image to get a mask
I would need to understand how to select the pixel from the figure on the left (e.g., with the ginput command) in order to get t...

3 jours il y a | 1 réponse | 0

### 0

réponse

Question

Color in white only pixels defined by a matrix [rx2]
Hi! I would like to keep white pixels only at the desired coordinates ("contour") while transforming other pixels with black col...

3 jours il y a | 1 réponse | 0

### 1

réponse

Question

apply region growing code to my image
Hi! I am using this code (see link) although it is a bit old. The example given by the author works: load example figure, imsh...

8 jours il y a | 2 réponses | 0

### 2

réponses

Question

Coloring pixels with a specific color
Is it possible to create an image (like the original) in which only the desired pixels are colored? For example, I want to col...

10 jours il y a | 1 réponse | 0

### 1

réponse

Question

identify the pixel color as a single number (no RGB triplet)
Hi. I am using the function you find at this link1 (but you can also use Image Viewer App explained at this link2). I should a...

11 jours il y a | 1 réponse | 0

### 1

réponse

Question

Translate 3D coordinates on a known surface
Hi. I would like to know if there is a way to translate each 3D coordinate (blue dots) such that they lie on a known red surface...

20 jours il y a | 2 réponses | 1

### 2

réponses

Question

Select only the matrices within the cell
Hi. A simple method to select only the matrices within the cell? I am trying to do something like this with this code but it d...

21 jours il y a | 3 réponses | 0

### 3

réponses

Question

Incorrect use if/else
Hi. How can I make the following if/else work ? cell = {[],[],[]}; cell1 = {rand(1452,2),[],[]}; A = cell{1,1}; B = cell1{1,...

23 jours il y a | 1 réponse | 0

### 1

réponse

Question

Merge a matrix present in the same position but in two different cells
Hi. I should merge the matrix located at position {1,1} (and so on for all other matrices) present in cell_A (1464x2) and cell (...

24 jours il y a | 1 réponse | 0

### 1

réponse

Question

Save numbers (present within a cell) into a single matrix
Hi! How can I save the numbers the numbers contained in this cell as a matrix? Also, instead of blanks [] I should have zeros 0...

25 jours il y a | 1 réponse | 0

### 1

réponse

Question

Identify number of arrays within each row of a cell
Hi. I have the attached cell (.mat file). The result I want to get is the number of matrices containing in each row of the cel...

25 jours il y a | 1 réponse | 0

### 1

réponse

Question

Save matrices (present within a cell) into a single matrix
Hi. I would like to save matrices (present within a cell) into one single matrix. How can I do this? Here is an example of a ce...

29 jours il y a | 1 réponse | 0

### 1

réponse

Question

Scale 2D coordinates with respect to the centroid
I would like to scale, with respect to the centroid, curves_2.txt such that the Y (or X) coordinates of the marked points of cur...

environ un mois il y a | 3 réponses | 0

### 3

réponses

Question

Rigidly translating and mirroring 2D coordinates
Hi! I would like to rigidly translate the coordinates of file curve2.txt so that its center of gravity coincides with the center...

environ un mois il y a | 1 réponse | 1

### 1

réponse

Question

Saving a resized image while keeping the resized values
Hi! I want to save a resized image in .png format. The .png image I start from has size 656x875 pixels. I used this code to re...

environ un mois il y a | 1 réponse | 0

### 1

réponse

Question

Identify two coordinates on the X-axis and Y-axis of a 3D object
Hello! I should retrieve the outermost coordinates on the XY plane of a 3D object. In detail: I have a 3D object -> I display...

environ un mois il y a | 1 réponse | 0

### 1

réponse

Question

block plotting a figure
Hi! I have a function A that calls other functions B, C, etc. Each function generates several plots, but in the end function A o...

environ un mois il y a | 2 réponses | 0

### 2

réponses

Question

Use a for loop to find out if point B is away from point A by a known amount
I have point A and point B. (In the figure only two pairs of A and B.) condition: I want to find out if point B is far from p...

environ un mois il y a | 1 réponse | 0

### 1

réponse

Question

Sorting of points (2D) clockwise with respect to the center of gravity
I am using this code. Can anyone tell me how I can improve it to be able to sort the points (matrix coordinates) clockwise with ...

environ un mois il y a | 2 réponses | 0

### 2

réponses

Question

connect nodes (coordinates of a matrix rx3) with a line
I am modifying the question because it was completely misunderstood. I want to connect the coordinates in data.txt (representin...

environ un mois il y a | 4 réponses | 0

### 4

réponses

Question

select and extract only some coordinates of a 3D object
I have the following .txt file (Rx3 matrix). rabbit = importdata("rabbit.txt"); figure plot3(rabbit(:,1), rabbit(:,2), rabbi...

environ un mois il y a | 1 réponse | 0

### 1

réponse

Question

generate uniformly distributed coordinates (Ax3 matrix) from known coordinates (Rx3 matrix)
Hi. I am trying to generate uniformly distributed coordinates (Ax3 matrix) from the non-uniform coordinates of a 3D object (Rx3 ...

environ un mois il y a | 1 réponse | 0

### 1

réponse

Question

Rotate 3-D Point Cloud Using Rigid Transformation
Hi! I need to rotate a point cloud (or .txt file of the type rx3) by a certain angle theta with respect to the x-axis (or y- or ...

environ 2 mois il y a | 3 réponses | 0

### 3

réponses

Question

rotate the coordinates plotted with plot3 without changing the axes
Hi. I need to rotate the plotted curves (3D figure on the left) by 180° as shown in the figure on the right. Is there any effici...

environ 2 mois il y a | 1 réponse | 0

### 1

réponse

Question

Obtain the desired orientation without reversing the direction of the two axes
Hi! How can I get the right figure without reversing the direction of the two axes? p.s. The figure on the right is created by ...

environ 2 mois il y a | 1 réponse | 0

### 1

réponse

Question

Exclude from plotting some coordinates (born from blank .png images)
Hello! Maybe the title will not be well clear but I hope I am clear in my goal. I have the attached code along with some .png f...

environ 2 mois il y a | 1 réponse | 0

### 1

réponse

Question

Error on using movmean function -> shifted coordinates
I tried using movmean and it seems to work correctly, but I get two dots almost in the middle of the screen. How come? Did I do ...

environ 2 mois il y a | 3 réponses | 0

### 3

réponses

Question

90° clockwise rotation of 2D coordinates
Hi. I cannot understand why the 90° clockwise rotation of the attached 2D coordinates (matrix.txt) is not done. I have tried tw...

environ 2 mois il y a | 2 réponses | 0

réponses