Answered
Representing a pixel's color vector in 3D RGB space and transforming into 2D space
Did you try R = double(I(:,:,1)); G = double(I(:,:,2)); B = double(I(:,:,3)); C = (R + G + B) / 3; u = (2*C - G - B) ./ C; ...

11 dagen ago | 0

| accepted

Answered
how can I remove the regions in the edge map that are partially blocked along a line of sight of the centroid?
To get rid of the red and blue blobs, you need to identify which blob contains the right most, and top most, pixels. So simply ...

11 dagen ago | 0

Answered
Smooth data for slowly-sampled data
Try sgolayfilt() in the Signal Processing Toolbox. That's one way. See my attached demo.

11 dagen ago | 0

Answered
How do I detect colored objects in a picture?
Use the Color Threshold on the Apps tab of the tool ribbon. Use hsv color space and adjust the hue angle with the sliders, then...

11 dagen ago | 1

| accepted

Answered
How can i make automatic rotation using PCA to set the galaxies oriantation to be horizontal?
One way that does not depend on selecting a threshold for your image is to use the radon transform. Look how I used it to rotat...

11 dagen ago | 2

Answered
making a multiple choice test with pictures that disappear using the compiler???
Of course. In short See the FAQ: How_can_I_process_a_sequence_of_files? Then in the loop imshow(filename) pause(10) % Displ...

11 dagen ago | 0

Answered
how to derive 1D heat conduction
Homework help Click Here

11 dagen ago | 0

| accepted

Answered
How to detect bright thick fibers around boundary?
Zeynab, you need to segment out the lamellopodia. You can do this simply by thresholding the green channel. Then, get the area...

11 dagen ago | 0

Answered
how to call a variable inside a function
Is this different than your post under your other account: Click here The code below works to count the letters in each state n...

11 dagen ago | 0

Answered
Is it a bug?
Yes, you do have a bug in your program. You compared floating point numbers with == instead of ismembertol(). See the FAQ fo...

12 dagen ago | 2

Answered
find mean of 2d slice in 3d segmented volume
Try this: [rows, columns, slices] = size(image3d); % image3d is your masked gray level image with some zeros in it. sliceMean...

12 dagen ago | 0

| accepted

Answered
Vector and matrix average
Nearly everyone would use mean, like they've told you. However if you want to do it like you said, using the sum and number of ...

12 dagen ago | 0

Answered
Extracting center most submatrix from kspace
Pretty easy. Just get the coordinate of the cluster centroid, then use sort() to get the 32 points closest to the centroid. Is ...

12 dagen ago | 0

Answered
how to write a programme in matlab comparing USA states name with english alphabets, and give the unmatch letter Q as a output.. ?
Not exactly sure what you're looking for but you might look at the functions contains() and strfind(): str = 'Arizona'; % Arizo...

12 dagen ago | 0

| accepted

Answered
How Finding location of an object on grid with Image Processing matlab
You need to use image segmentation to find the location of the colored blobs. See my attached demo where I track a green Sharpi...

12 dagen ago | 0

Answered
What is Pixels and what is gray level value ? and how to calculate all distances between them
A pixel is an element of a matrix that represents something (like reflectance) of a certain scene. The gray level is the numeri...

12 dagen ago | 1

| accepted

Answered
How to filter similar objects with same brightness value?
Perhaps by it's vertical location in the scene. Wouldn't the bridge be the highest thing? Or perhaps by the shape (aspect rati...

12 dagen ago | 0

Answered
convolution of two function
Looks like it's an edge effect where zeros outside the signal are getting convolved in when the signals start to not overlap any...

12 dagen ago | 0

Answered
How to do Numeric Character recognition
I'm not sure it's needed but you can easily find the blue stuff on the background and use it's angle to rotate the image with im...

12 dagen ago | 0

Answered
How to replace small section of image with other values within the image?
Try regionfill() to "smear in" the surrounding vaules to the inside of the region.

12 dagen ago | 0

| accepted

Answered
how to plot in matlab
Try this: x = linspace(-2*pi, 2*pi, 1000); y = 3 * cos(3 * x) + 3 * sin(3 * x); plot(x, y, 'b-', 'LineWidth', 2); grid on; ...

13 dagen ago | 0

Answered
error in using imhist in matlab 2015a. i cant understnad why error is coming
Probably because it's color. Use histogram() or else use imhist() on each color channel one at a time. % Extract the individua...

14 dagen ago | 0

Answered
I just need to draw that line inside these objects. This line should aproximate these
Try binaryImage = imfill(binaryImage, 'holes'); skelImage = bwmorph(binaryImage, 'skel', inf);

14 dagen ago | 0

Answered
Image Edge Detection Using Edge Function
First I'd get a first shot at the mask by thresholding. Luckily much of the surround is white so thresholding will get the bott...

14 dagen ago | 1

| accepted

Answered
Unable to perform assignment because the size of the left side is 1-by-35 and the size of the right side is 1-by-39
It's just normal debugging. You need to figure out what all the sizes of those variables are and why you're creating a row vect...

14 dagen ago | 0

Answered
How to add a border around
For each image, convert to hsv color space with rgb2hsv. Untested code follows. Adapt/fix as needed. hsvImage1 = rgb2hsv(rgbI...

14 dagen ago | 0

Answered
How do I breakline in MATLAB emails?
Try using sprintf() with single quotes: alertBody = sprintf('El sistema de monitoreo no ha obtenido ningun dato del Arduino en ...

14 dagen ago | 0

Answered
Removing a user that left the company.
You can log into your account and deactivate that person's computer from the Mathworks web site.

17 dagen ago | 0

Answered
using the function waitfor() properly
From the help: Syntax L = strlength(str) Note: no second input argument. What you did was strlength(readline(deciding_port)...

17 dagen ago | 0

| accepted

Answered
安装optimization工具包
See The FAQ

17 dagen ago | 0

Load more