Answered
How can i remove the sky from this image. (About background removal question)
I don't see how you would use ZEROS. I might use FALSE AND > OR < AND EDGE.

15 years ago | 0

Answered
Matrix Multiplication (multiply every row of a matrix to different values)
or C=bsxfun(@times,A,B);

15 years ago | 3

| accepted

Answered
Extracting 2D image from 3D volume data set
perhaps doc slice If you actually want the data in a 2d matrix: define the plane as a function, let's call it S, through the ...

15 years ago | 0

Answered
Rotate DICOM data 90 degrees through central axis
doc permute would be the easiest.

15 years ago | 0

| accepted

Answered
Plotting Sierpinski's triangle
You should start by asking your teacher since either they've failed at teaching you or you've failed at learning.

15 years ago | 0

Answered
What is suitable for me? Image processing or computer vision?
[EDIT: 20110518 18:26 CDT - clarify - WDR] This should help: <http://www.google.com/search?q=image+processing+v.+computer+visi...

15 years ago | 0

Answered
2D Interpolation (Linear and spline) of a greyscale image
Z is your image. You'll want to convert it to double for the interpolation and then back to uint8 or whatever other class afte...

15 years ago | 0

| accepted

Answered
2D Interpolation (Linear and spline) of a greyscale image
X,Y are the results of: [X Y] = meshgrid(1:256) Xi, Yi are the locations that you want an interpolated value at, for your...

15 years ago | 0

Answered
fprintf in a for loop printing repetitive answers in command window
Your values: harm, freq are probably not scalars and thus it's printing multiple times to show all contents. Use num2str(har...

15 years ago | 0

Answered
How do I generate a given Matrix in one command?
Probably the most compact: A = toeplitz([1 1 0 0 0])

15 years ago | 7

Answered
image processing
I = I.*cast(I>50,class(I)); Could you be any more vague? If you want real help, post an image!

15 years ago | 0

Answered
images comparisson
What are you dealing with? If you're dealing with translation/rotation/scaling, FFT solutions are the way to go. If you just...

15 years ago | 0

Answered
Edge Tracking a beam between two images
An edge filter should work just fine on this. doc edge or you do a simple threshold: Imask = I<50; the_edges = bw...

15 years ago | 0

| accepted

Answered
Edge Tracking a beam between two images
doc edge ? Show us an image!

15 years ago | 0

Answered
Efficient manipulation of images in memory
If the images are all the same size, use the cube. If not, you would have to pad the smaller images to the size of the biggest ...

15 years ago | 0

Answered
Storing user input as a vector
x = zeros(1,100); %assuming no more than 100 values cnt = 0; while 1 cnt = cnt+1; x(cnt) = input('d....'); if some_...

15 years ago | 0

| accepted

Answered
Adjacency vs. Connectivity
It depends on what you're talking about; but probably no. Adjacent objects are connected in spatial dimension but not as an obj...

15 years ago | 0

Answered
Connected component of a pixel
For a label image, yes.

15 years ago | 0

Answered
Gradient Field of an Image...
You can calculate the gradient using: doc gradient and then use the results from that for your quiver plot.

15 years ago | 0

| accepted

Answered
[DEPRECATED] What frustrates you about MATLAB?
Difficulty publishing documents. For calculation publishing, homework assignments etc, it's difficult to show values along th...

15 years ago | 1

Answered
What do you like about MATLAB?
Image Processing Tools (not constrained to just the IPT) Though I think visualization tools could be improved.

15 years ago | 0

Answered
What do you like about MATLAB?
CSSM/FEX/Rest of Matlab Central

15 years ago | 2

Answered
What do you like about MATLAB?
One-lining complicated expressions. It just makes me feel good.

15 years ago | 0

Answered
How to mask an email address using m-code?
I think Brett Shoelson won this one: <http://www.mathworks.com/matlabcentral/fileexchange/8987-makesig>

15 years ago | 0

Answered
Finding example images in the distribution
doc -> Image Processing Toolbox -> Getting Started -> Image Credits

15 years ago | 0

Answered
How to make an input that can randomly produce +1 and -1 for every second?
%For a 1x10 vector sign(rand(1,10)-.5).*ones(1,10)

15 years ago | 0

Answered
What is missing from MATLAB?
Mathcad-like sheets, where things can be easily displayed for the purpose of someone checking your calculations.

15 years ago | 3

Answered
How to find direction (directional vectors) of a moving object in a video?
What motion estimation algorithm are you referring to? There are many. Personally I would recommend block by block phase cor...

15 years ago | 1

| accepted

Answered
Movements between .fig
That depends if you're strong enough and can apply a load great enough to overcome the friction forces keeping it static.

15 years ago | 0

Load more