Community Profile

photo

Hg


35 total contributions since 2015

I'm a post-grad coffee junkie

Contact

Hg's Badges

  • First Review
  • Thankful Level 3
  • Scavenger Finisher
  • Solver

View details...

Contributions in
View by

Question


Character for "ENTER"
I want to break a loop by pressing ENTER key. What character does ENTER key represent? while (1) if strcmp(get(gcf,...

environ 3 ans ago | 1 answer | 0

1

answer

Question


Motion trajectory of an occluded object
How to find the motion trajectory of an object which is partially occluded in a video sequence? For example in the 2 frames belo...

plus de 3 ans ago | 0 answers | 0

0

answers

Question


Convert type while keeping values
How to convert the type of an array while keeping the value of all elements? For example, A = [200 150 30] in uint16 to B = [20...

plus de 3 ans ago | 1 answer | 0

1

answer

Question


How to add images to data points
How do I add images to data points just like adding text? labels = [1:2] c = cellstr(num2str(labels)); gscatter(X, ...

plus de 3 ans ago | 1 answer | 0

1

answer

Question


Reduce data dimension using PCA
pca() outputs the coefficient of the variables and principal components of a data. Is there any way to reduce the dimension of ...

plus de 3 ans ago | 0 answers | 0

0

answers

Question


Execute a list of functions
How do I store a list of user-defined function in an array and execute it in a loop one by one? [d] = func1(a), [e] = f...

plus de 3 ans ago | 2 answers | 0

2

answers

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

plus de 3 ans ago

Question


Unable to Install OS Generic Video Interface Support Package
Matlab version: R2015b (student version) with Image Acquisition Toolbox installed Running Matlab on Windows 8.1 (Windows To ...

presque 4 ans ago | 0 answers | 0

0

answers

Question


Showing Matlab output command on Visual Studio using Matlab Engine
I use Matlab engine to run below matlab script on Visual Studio. % test.m for i=1:30 fprintf('i = %d\n', i); ...

presque 4 ans ago | 0 answers | 0

0

answers

Question


Array of 1 and 0 to decimal
How to convert array with 1's and 0's (array A) to decimal (array B)? A = [1 0 0 1 0 0 1 1; 0 0 0 0 1 1 1 1; 1 0 1 0 1 0 1 ...

environ 4 ans ago | 2 answers | 0

2

answers

Question


Rotation of orthogonal projection
I have a depth image (x,y,z = pixel value). I project the image into top and side views: for i = 1:rows for j = 1:cols...

environ 4 ans ago | 0 answers | 0

0

answers

Question


Number of non-zero element
I have n-number of arrays, I want to find the total non-zero element at a location. For example there are three arrays as follow...

environ 4 ans ago | 1 answer | 0

1

answer

Question


Depth Image Segmentation Using Depth Threshold
Depth threshold can be used to extract a foreground (e.g a hand) when there's a gap between a foreground and it's background. In...

environ 4 ans ago | 1 answer | 0

1

answer

Question


Foreground Detection Using GMM on Depth Images
I used vision.ForegroundDetector() to detect foreground on RGB video frames. The input of step() is from the vision.VideoFileRea...

environ 4 ans ago | 1 answer | 0

1

answer

Question


Intersect() Problem when none of the pixels overlap
When I used intersect() to find the intersection between A (red) and B (blue), I failed to get any because the pixels don't over...

plus de 4 ans ago | 1 answer | 2

1

answer

Question


Removal of noises at edges (2)
How can I get rid of the unwanted pixels circled in red in the image below? <</matlabcentral/answers/uploaded_files/43196/arm...

plus de 4 ans ago | 1 answer | 0

1

answer

Question


Removal of noises at edges
I have a grayscale (value 0-255) image with background pixel equals 0. I am trying to remove noises at the border between the fo...

plus de 4 ans ago | 2 answers | 0

2

answers

Question


Padding border of a non-uniform region with a value
I would like to add one-pixel padding to the border of a non-uniform region. Instead of looping each pixel and check its 8-pixel...

plus de 4 ans ago | 0 answers | 0

0

answers

Question


Separate region by an equation
How to separate a region by an equation. For example I want to find the region greater than the equation y = mx + c. <</matla...

plus de 4 ans ago | 0 answers | 0

0

answers

Question


Normalize image orientation and scale
I want to normalize the orientation and scale of these images before I do a similarity measure. How can I achieve this using PCA...

plus de 4 ans ago | 1 answer | 0

1

answer

Question


Find turning point in data
How to get data gradient and how to locate significant changes of the gradient? I'm trying to locate the first "turning point" o...

plus de 4 ans ago | 1 answer | 0

1

answer

Question


Counting pixel at an angle without rotating image
How to count the pixels along the line (red) that is perpendicular to the major axis (blue) of a region, without rotating the im...

plus de 4 ans ago | 1 answer | 0

1

answer

Question


How to get a region from points
Below is a scatter plot from array that I get using boundary(). How can I get a region so that I can use regionprops() to find t...

plus de 4 ans ago | 1 answer | 0

1

answer

Question


Exclude last sample as peak despite being the maximum
The first sample is excluded despite being the maximum in findpeaks(). How to exclude the last peak? <</matlabcentral/answers...

plus de 4 ans ago | 1 answer | 0

1

answer

Question


Minimum y-value in each column
How to find the first y value (in red) efficiently in each column of the image below? <</matlabcentral/answers/uploaded_files...

plus de 4 ans ago | 1 answer | 0

1

answer

Question


The fastest way to find local minimum
What is the most efficient/fastest way to find the circled local minimum below, the lowest minima between two highest peaks? The...

plus de 4 ans ago | 1 answer | 0

1

answer

Question


Finding Special Feature in 3-D points
I have 3-D points data as following. Could you suggest a way to locate the two features circled? I can use regression and dy/dx...

plus de 4 ans ago | 0 answers | 0

0

answers

Question


Reading a huge text file using Textscan()
I have a .txt file with 3235K number of lines, and 25 space delimited columns. I use the following code to read the file: ...

presque 5 ans ago | 1 answer | 0

1

answer

Question


Random pick data by label
I have a data array (13x5). The last column is the class (1-4) of each data. How do I randomly pick n-number of data from each c...

presque 5 ans ago | 1 answer | 0

1

answer

Question


Separate a blob into multiple regions
Is it possible to separate a blob into multiple regions and find out the centroid and major axis of each region? <</matlab...

presque 5 ans ago | 1 answer | 0

1

answer

Load more