Community Profile # Alberto Acri

Last seen: 2日 前 2020 年からアクティブ

#### Statistics

• • • バッジを表示

#### Content Feed

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 ...

3日 前 | 2 件の回答 | 0

### 2

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...

5日 前 | 1 件の回答 | 0

### 1

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...

5日 前 | 0 件の回答 | 0

### 0

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...

6日 前 | 1 件の回答 | 0

### 1

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...

10日 前 | 2 件の回答 | 0

### 2

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...

13日 前 | 1 件の回答 | 0

### 1

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...

14日 前 | 1 件の回答 | 0

### 1

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...

23日 前 | 2 件の回答 | 1

### 2

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...

24日 前 | 3 件の回答 | 0

### 3

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,...

26日 前 | 1 件の回答 | 0

### 1

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 (...

26日 前 | 1 件の回答 | 0

### 1

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...

27日 前 | 1 件の回答 | 0

### 1

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...

28日 前 | 1 件の回答 | 0

### 1

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...

### 1

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...

### 3

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...

### 1

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...

### 1

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...

### 1

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...

### 2

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...

### 1

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 ...

### 2

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...

### 4

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...

### 1

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 ...

### 1

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 ...

### 3

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...

### 1

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 ...

### 1

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...

### 1

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 ...

### 3

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...