Community Profile # Sparsh Garg

Last seen: 9 månader ago Active since 2021

#### Statistics

• #### Content Feed

View by

Question

How do I set axes so that when I zoom in the figure the values in the window remain static and don't change
So I have this image which was generated using the below code Now when I zoom into the picture,the axes tend to change,what I w...

### 0

Question

Is it worth doing a log normalization on the image?
So someone told me to do log normalization on an image.Basically i have to do this on an image https://in.mathworks.com/help/st...

### 0

Question

Crop image in diagonal direction
Imcrop allows us to select a rectangular region that we can later on crop. However,given an image as shown below,the result of ...

### 1

Question

How does the matlab's contourf work
So I am able to get the contour matrix from contourf.Now when I try to plot the points on the figure shown below,I end up gettin...

### 0

Question

Why does plot(X,Y,'or') and plot(X,Y) give different results
So,I have a set of points that I am trying to visualize. The points are obtained by running the code mentioned in the below li...

### 3

Question

converting index to coordinates(row,col) is giving me error
Apologies in advance for asking so many questions,switching to matlab after 8 years so I have an image of dimension 146x211 mat...

### 1

Question

creating a temporary matrix and then appending it to the original matrix
So in python we can create a temp list/numpy array and then later on append it to the results for example: A is a NxN zeros ma...

### 0

Question

Efficiently accesing cell entries
So let's say I have a NXN cell each entry in the cell is int itself a cell.For example B is a 23x23 cell and B{1,1} is a 2x2 c...

### 1

Question

Obtain 2x2 regions in an image using sliding window
Given an image,I would like to observe 2x2 regions of that image using sliding window.Notice that,as of now I am only interested...

### 2

Question

given a contour returned by contourf,how to display the pixel values within a region
So,lets say I run contourf on an image ,and I get the contour for a particular level say I is the image and level is [55,55]. ...

### 1

Question

given two matrices find the indices of B in A
To be clear,say A is a 2x76 matrix and B is a 2x29 matrix,for all values in B I need to find out the indices of where these valu...

### 1

Question

Regarding the contour matrix obtained from contourf
I recently ran contourf on the image below . . The output of this is as follows Now when I plot the contour matrix for Numb...

### 0

Question

extract contour points belonging to a certain level set
contourf(Z) creates a filled contour plot containing the isolines of matrix Z.for my case,I would like to generate lines for all...