Community Profile

# Nitin

Last seen: 1 year ago Active since 2011

#### 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...

9 years 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...

9 years ago | 0

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

10 years ago | 1

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

10 years 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 ...

10 years 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 =...

10 years 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...

10 years 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...

10 years 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/...

10 years 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...

10 years 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>

10 years 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...

10 years ago | 0

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

10 years ago | 0

convert inf value to integer value

10 years 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...

10 years 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

10 years 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...

10 years ago | 0

| accepted

How can I remove only the horizontal lines from the image preserving any arbitrary drawing over it

10 years 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...

10 years 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')); ...

10 years 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...

10 years 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...

10 years ago | 0

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

10 years 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);

10 years ago | 0

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

10 years 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

10 years 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> ?

10 years ago | 0

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

10 years ago | 0

tile-based image registration
You might find it useful to estimate the srt transformation using surf. Have a look at the examples on this <http://www.mathwork...

10 years ago | 0

find the pupil location of eye by dividing it into 8x8 region
The pupil region has a lower intensity than the rest of the image except for eyelashes. I would suggest you use an appropria...

10 years ago | 0