Professional Interests: Image Processing, Computational complexity and algorithms

Answered

What is the function to plot a rotating 3-D ellipsoid

function [] = visualizeDTrot(C,M,speed,Dir,time) %% C: the covariance matrix. %% Dir: direction of the estimate, to be p...

What is the function to plot a rotating 3-D ellipsoid

function [] = visualizeDTrot(C,M,speed,Dir,time) %% C: the covariance matrix. %% Dir: direction of the estimate, to be p...

3 years ago | 1

| accepted

Answered

Hi i need help in file conversion .txt to mat file

Although this may not be the best way to do this, but you can use IMPORTDATA to import all the data from the '.txt' file as a st...

Hi i need help in file conversion .txt to mat file

Although this may not be the best way to do this, but you can use IMPORTDATA to import all the data from the '.txt' file as a st...

3 years ago | 0

Answered

How to change colorbar's color (in some particular value interval)?

You can manually change the colormap, using COLORMAPEDITOR: <http://www.mathworks.com/help/matlab/ref/colormapeditor.html> ...

How to change colorbar's color (in some particular value interval)?

You can manually change the colormap, using COLORMAPEDITOR: <http://www.mathworks.com/help/matlab/ref/colormapeditor.html> ...

3 years ago | 0

Answered

how to draw a temperature distribution on (x,y,z)?

<http://www.mathworks.com/help/matlab/visualize/representing-a-matrix-as-a-surface.html> should help. The image you have att...

how to draw a temperature distribution on (x,y,z)?

<http://www.mathworks.com/help/matlab/visualize/representing-a-matrix-as-a-surface.html> should help. The image you have att...

3 years ago | 0

Answered

how i can implement lowpass filter on image using matlab

I am assuming you need to smooth (low pass) an image. These two functions are what you need to use: <http://www.mathworks.com...

how i can implement lowpass filter on image using matlab

I am assuming you need to smooth (low pass) an image. These two functions are what you need to use: <http://www.mathworks.com...

3 years ago | 0

Answered

How do I obtain video (.avi) from a webcam (in real time) and store the video frames somewhere for further processing?

This will be instructive: <http://www.mathworks.com/help/imaq/examples/logging-data-to-disk.html?prodcode=IA&language=en>

How do I obtain video (.avi) from a webcam (in real time) and store the video frames somewhere for further processing?

This will be instructive: <http://www.mathworks.com/help/imaq/examples/logging-data-to-disk.html?prodcode=IA&language=en>

3 years ago | 0

| accepted

Answered

Confusion with adding to cell array

This should work: a = {[0 0], [0 0]} b = [1 2 3 4] a{1} = b(1:2) %choose the first two elements from b and assign to fir...

Confusion with adding to cell array

This should work: a = {[0 0], [0 0]} b = [1 2 3 4] a{1} = b(1:2) %choose the first two elements from b and assign to fir...

3 years ago | 0

Answered

how to plot scattered points on 2D graph

Does <http://www.mathworks.com/help/matlab/ref/scatter.html> work? I am assuming your data is a collection of (x,y) pairs, and y...

how to plot scattered points on 2D graph

Does <http://www.mathworks.com/help/matlab/ref/scatter.html> work? I am assuming your data is a collection of (x,y) pairs, and y...

3 years ago | 0

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

3 years ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

3 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

3 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

Answered

how to find area,eccentricity,mean median ,mode ,variance of a white blood cell

<http://www.mathworks.com/matlabcentral/fileexchange/25157-image-segmentation-tutorial-blobsdemo> would be a good place to start...

how to find area,eccentricity,mean median ,mode ,variance of a white blood cell

<http://www.mathworks.com/matlabcentral/fileexchange/25157-image-segmentation-tutorial-blobsdemo> would be a good place to start...

4 years ago | 0

Answered

Display gray color only from grayscale image

For most tasks of analysing pixel values and thresholding, I've found <http://www.mathworks.com/matlabcentral/fileexchange/6770>...

Display gray color only from grayscale image

For most tasks of analysing pixel values and thresholding, I've found <http://www.mathworks.com/matlabcentral/fileexchange/6770>...

4 years ago | 0

Answered

Displaying Images after feature extraction

If you have four images in I, J, K and L, you could do this, figure subplot(2,2,1); imshow(I) subplot(2,2,2); imshow(...

Displaying Images after feature extraction

If you have four images in I, J, K and L, you could do this, figure subplot(2,2,1); imshow(I) subplot(2,2,2); imshow(...

4 years ago | 0

Answered

What are the advantages/disadvantages to using the ball compared to the disk structuring element?

<http://blogs.mathworks.com/steve/2006/10/23/nonflat-grayscale-dilation-and-erosion/> has some details about the non-flat struct...

What are the advantages/disadvantages to using the ball compared to the disk structuring element?

<http://blogs.mathworks.com/steve/2006/10/23/nonflat-grayscale-dilation-and-erosion/> has some details about the non-flat struct...

4 years ago | 0

| accepted

Answered

Using Matlab for Iphone or Ipad

<http://www.mathworks.com/matlabcentral/answers/12036#comment_26682> at <http://www.mathworks.com/matlabcentral/answers/12036-ho...

Using Matlab for Iphone or Ipad

<http://www.mathworks.com/matlabcentral/answers/12036#comment_26682> at <http://www.mathworks.com/matlabcentral/answers/12036-ho...

4 years ago | 1

| accepted

Answered

Delete rows in a matrix that contain ONLY a negative number

I'm quite positive that this does the trick. There would probably be more optimal ways to do it! X = 100.*rand(12,5); %for ...

Delete rows in a matrix that contain ONLY a negative number

I'm quite positive that this does the trick. There would probably be more optimal ways to do it! X = 100.*rand(12,5); %for ...

4 years ago | 1

Answered

histograms of crossing count

Thanks for the interesting question! I'm guessing you're trying something like this. The I = (rand(500,500) >= 0.5); %i...

histograms of crossing count

Thanks for the interesting question! I'm guessing you're trying something like this. The I = (rand(500,500) >= 0.5); %i...

4 years ago | 0

Answered

how to load a picture in Matlab? can a video is uploaded in Matlab ?

<http://www.mathworks.com/products/imaq/examples.html> and <http://www.mathworks.com/help/imaq/examples/acquiring-a-single-image...

how to load a picture in Matlab? can a video is uploaded in Matlab ?

<http://www.mathworks.com/products/imaq/examples.html> and <http://www.mathworks.com/help/imaq/examples/acquiring-a-single-image...

4 years ago | 0

| accepted

Answered

Using fgetl() to read lines

<http://www.mathworks.com/matlabcentral/newsreader/view_thread/297814> may be of some help. Unless you are constrained to using ...

Using fgetl() to read lines

<http://www.mathworks.com/matlabcentral/newsreader/view_thread/297814> may be of some help. Unless you are constrained to using ...

4 years ago | 0

| accepted

Answered

I have a matrix, there are zeros values in that and i just want to remove the zero values from the array

if A is the array in question, you could do: A = A(A ~= 0);

I have a matrix, there are zeros values in that and i just want to remove the zero values from the array

if A is the array in question, you could do: A = A(A ~= 0);

4 years ago | 1

| accepted

Answered

Which toolboxes are needed for object detection from video over MATLAB 2009 platform?

You may want to look at: <http://www.mathworks.com/products/computer-vision/index.html> (this is not available for 2009 thoug...

Which toolboxes are needed for object detection from video over MATLAB 2009 platform?

You may want to look at: <http://www.mathworks.com/products/computer-vision/index.html> (this is not available for 2009 thoug...

4 years ago | 0

| accepted

Answered

Measuring indentation in an object

<http://blogs.mathworks.com/steve/2011/10/04/binary-image-convex-hull-algorithm-notes/> and the convex hull concept would help. ...

Measuring indentation in an object

<http://blogs.mathworks.com/steve/2011/10/04/binary-image-convex-hull-algorithm-notes/> and the convex hull concept would help. ...

4 years ago | 0

Answered

I wanna replacing 2nd and 3rd column to each other. How can I write a command?

Assuming I understand the question right, here is an example of how it could be done: x = magic(5); % a random matrix fo...

I wanna replacing 2nd and 3rd column to each other. How can I write a command?

Assuming I understand the question right, here is an example of how it could be done: x = magic(5); % a random matrix fo...

4 years ago | 0

Answered

Mesh for 3D plot

Going from the error, it seems that you are trying to use mesh for a 1D array (Z in your case). Mesh expects the 'Z' to be a 2D ...

Mesh for 3D plot

Going from the error, it seems that you are trying to use mesh for a 1D array (Z in your case). Mesh expects the 'Z' to be a 2D ...

4 years ago | 0

Answered

background noise and nearst point

For either case, I would imagine you will need a mask for the brain regions. This can be done either manually using <http://www....

background noise and nearst point

For either case, I would imagine you will need a mask for the brain regions. This can be done either manually using <http://www....

4 years ago | 0

Answered

convert 3d matrix to dicom image

I suppose for the time being, this happens to be the best available solution: <http://www.mathworks.com/matlabcentral/fileexch...

convert 3d matrix to dicom image

I suppose for the time being, this happens to be the best available solution: <http://www.mathworks.com/matlabcentral/fileexch...

4 years ago | 0

Answered

what is the code to apply filters (lowpass and highpass) for signals read?

Assuming you have the Signal Processing Toolbox installed, you could use the FDA Tool to specify the parameters for your filter....

what is the code to apply filters (lowpass and highpass) for signals read?

Assuming you have the Signal Processing Toolbox installed, you could use the FDA Tool to specify the parameters for your filter....

4 years ago | 0