Community Profile # Nitin

Active since 2011

#### Statistics

• • • • • #### Content Feed

View by

Indexing to subtract sections of an array
Suppose you have 20 elements: Reshape to 4 rows and 5 columns X = reshape(1:20,5,4)'; % Substract rows Y = bsxfun(@m...

alrededor de 8 años ago | 0

how to separate objects in binary image?
Your should check regionprops and <http://www.mathworks.com.au/help/images/morphology-fundamentals-dilation-and-erosion.html mor...

alrededor de 8 años ago | 0

Try running this code using the shaky_car video inbuilt in Matlab and see if it works: videoFReader = vision.VideoFileReader(...

más de 8 años ago | 1

manipulating cells in array.
% One of the many solutions t = ismember(A,'0') A(t)=[];

más de 8 años ago | 0

| accepted

second derivative of an image
There is a nice explanation on image derivative <http://www.swarthmore.edu/NatSci/mzucker1/e27/filter-slides.pdf here> . Please ...

más de 8 años ago | 0

how can i differentiate between images
% test image Img = zeros(20, 20); Img(5:15,5:15)=1; % Find if '255' intensity pixels exist in the image temp =...

más de 8 años ago | 0

how to get black & white pixels count from grayscale image...???
black corresponds to zeros in your image and white corresponds to ones if your image is double format. I_double = im2double...

más de 8 años ago | 0

how to calculate the diameter of a vessel
I would start by first experimenting with <http://www.mathworks.com.au/help/images/ref/regionprops.html regionprops> function in...

más de 8 años ago | 1

Left of a string
If you are accessing a cell array, you should use curly braces. Check out the examples <http://www.mathworks.com.au/help/matlab/...

más de 8 años ago | 0

how to avoid index out of bounds error
I tried running your programme using the Matlab built-in image, blobs.png and received the following error: *Attempted to ac...

más de 8 años ago | 0

making of a gui
I would suggest you learn the basics of making a GUI <http://www.mathworks.com.au/help/matlab/gui-building-basics.html here>

más de 8 años ago | 0

Increasing filter size of edge detector
There is a nice <http://stackoverflow.com/questions/9567882/sobel-filter-kernel-of-large-size thread> on stackoverflow which mig...

más de 8 años ago | 0

Crack Matlab Executable file?
Have a look a <http://www.mathworks.com.au/help/matlab/ref/pcode.html pcode> .

más de 8 años ago | 0

convert inf value to integer value

más de 8 años ago | 0

Create an Array with a Counter?
Why not use an array and save the elapsed time using tic and toc? There is a nice example <http://stackoverflow.com/questions...

más de 8 años ago | 0

How can I find pixel coordinates of a perimeter in a binary image?
Assuming your image is a binary one: [a,b]= find(I==1); % get the coordinates

más de 8 años ago | 0

| accepted

Hi, i want to know dt how to get 0's and 1's from a binary image?
I = imread('img.bmp'); I_bin = im2bw(I); % find the '0's in the image: a = find(I_bin==0); % find the '1's in the imag...

más de 8 años ago | 0

| accepted

How can I remove only the horizontal lines from the image preserving any arbitrary drawing over it
Did you check <http://www.mathworks.com.au/company/newsletters/articles/applying-modern-pde-techniques-to-digital-image-restorat...

más de 8 años ago | 0

Iris Recognition Project.
Please check out libour masek iris code, both the thesis and the matlab code can be found <http://www.csse.uwa.edu.au/~pk/studen...

más de 8 años ago | 0

| accepted

Given x and y coordinates of any point in an image, how to know if it is black or white
By the intensity value you get at that point. For example, if your image is double: I = im2double(imread('img.bmp')); ...

más de 8 años ago | 0

Motion detection in video
You could estimate the motion from one frame to another using <http://www.mathworks.com.au/matlabcentral/fileexchange/8761-block...

más de 8 años ago | 0

how to find mean absolute difference between two blocks of different images???
You can find a nice implementation of the above <http://www.mathworks.com.au/matlabcentral/fileexchange/8761-block-matching-algo...

más de 8 años ago | 0

Skeletonisation of an image
<http://www.mathworks.com/matlabcentral/fileexchange/27543-skeletonization-using-voronoi This> should get you started

más de 8 años ago | 0

Multiple loop doesn´t work with right values
You might need to initialize your cells first before saving to it. a = cell(1, num);

más de 8 años ago | 0

display mean and max of images....
mean_img = mean(Img(:)); max_img = max(Img(:));

más de 8 años ago | 1

| accepted

how to detect angle of an image
You might need a reference image / coordinates for the correct position and compare the difference between the two of them

más de 8 años ago | 1

how to calculate delay between two operations?
Will tic and toc do the <http://www.mathworks.com.au/help/matlab/ref/tic.html trick> ?

más de 8 años ago | 0

You can find lots of information and examples <http://www.mathworks.com.au/help/matlab/ref/videoreaderclass.html here.> This...

más de 8 años ago | 0