Respondida
draw a line on an image
Perhaps your problem is that figure coordinates and array indices have different conventions. So, for example imshow(im) ...

alrededor de 15 años hace | 2

Respondida
Overriding subsref and subsasgn - effect on private properties
I have, rather belatedly, found an official answer to my question, <http://www.mathworks.co.uk/support/solutions/en/data/1-9N85P...

alrededor de 15 años hace | 6

Respondida
determinant of singular matrix is non-zero
I get the same result as you, Marco, in version 2011a. The doc page for the det function says that the calculation is now done ...

alrededor de 15 años hace | 0

Respondida
what is step response and step()?
See <http://www.mathworks.co.uk/help/toolbox/control/ref/step.html> How does the step function relate to 2D to 3D image conve...

alrededor de 15 años hace | 0

Respondida
[DEPRECATED] What frustrates you about MATLAB?
Overriding subsref and subsasgn in a class is spectacularly awkward. The problem is this. Suppose you override subsref in orde...

alrededor de 15 años hace | 13

Pregunta


Overriding subsref and subsasgn - effect on private properties
I'm overriding subsref and subsasgn for a class. I want to influence the behaviour of obj(...), but I can't find a good way to d...

alrededor de 15 años hace | 5 respuestas | 6

5

respuestas

Respondida
hexadecimal codes for sine and cosine wave
After making the plot, you can convert the tick labels to the hex representation of the IEEE bit patterns of the numbers with th...

alrededor de 15 años hace | 0

Respondida
using gabor filter
I would guess that you need to convolve the image with each of the wavelets in turn. For this you can use conv2 or <http://www.m...

alrededor de 15 años hace | 0

| aceptada

Respondida
How to calculate a gradient by fft ???
It's still not clear what you mean by 'simple "gradient"' - that could refer to a variety of things. One possibility is that ...

alrededor de 15 años hace | 2

| aceptada

Respondida
Angle between two vectors in 3d
acos(dot(v1, v2) / (norm(v1) * norm(v2))) *EDIT*: Having seen Jan Simon's reply, and the long thread at CSSM that he refers t...

alrededor de 15 años hace | 0

Respondida
Convolution Mask
Something like this? sz = size(matrix); if isequal(sz, [3 3]) % first for loop, function call or whatever elseif...

alrededor de 15 años hace | 0

| aceptada

Enviada


Logarithm of complex sine and cosine avoiding overflow
Functions to compute log(sin(Z)) and log(cos(Z)) avoiding overflow for large abs(imag(Z)).

alrededor de 15 años hace | 173 descargas |

0.0 / 5

Respondida
Find index in matrix
Assuming it's a numerical matrix, called M: d = 100104; t = 1012; row = find(M(:,1) == d & M(:,2) == t) If it's a ...

alrededor de 15 años hace | 0

| aceptada

Respondida
Image Processing: Find Edge with Highest Contrast
I think there are two main issues here. The first is how to distinguish between "texture" and "the boundary of an object". There...

alrededor de 15 años hace | 2

Respondida
pointing to an element in a returned function
The basic answer is "no" - you need the intermediate variable. There is some discussion of this issue on the newsgroup <http:...

alrededor de 15 años hace | 0

Respondida
correlation for multi-dimensional arrays
If you don't have NaNs in the data, and you want the standard Pearson coefficient, then you could try applying the formula for c...

alrededor de 15 años hace | 3

| aceptada

Respondida
What is the kernel of linear motion blur in fspecial function??
In release 2011a the documentation is precise. Maybe you have an old release that was not so well documented? In case that's the...

alrededor de 15 años hace | 0

Respondida
Hough Transform - Detecting angled lines
I'm not sure how are you setting the theta resolution, but hough and houghpeaks use degrees, and if your theta resolution is 0.0...

alrededor de 15 años hace | 0

Respondida
How to match and two matrix elements and place it under one matrix...let me explain
nrows = size(B,1); C = zeros(nrows, length(A)); ind = bsxfun(@plus, (1:nrows)', (B-1)*nrows); C(ind(:)) = B(:); C ...

alrededor de 15 años hace | 3

Respondida
Object Oriented Programming Performance Comparison: Handle Class vs. Value Class vs. no OOP
There is no way to change an object of a value class on method call, other than to return the updated object as a result, and as...

alrededor de 15 años hace | 1

| aceptada

Respondida
Controlling detected objects inside an image
Do you mean something like this: % Test array containing a square and a triangel image0 = zeros(10, 10); image0(2:4, ...

alrededor de 15 años hace | 0

| aceptada

Respondida
how to find the intensity of an image
Please see my reply to <http://www.mathworks.co.uk/matlabcentral/answers/15277-doubt-on-how-to-divide-by-using-the-intensity-of-...

alrededor de 15 años hace | 0

Respondida
Problem assigning multiple values simultaneously to a matrix
You can use a loop, like this % data flag=zeros([10 10]); flag(5,5)=1; flag(5,9)=1;%Initialize Flag with 2 1's ...

alrededor de 15 años hace | 0

Respondida
doubt on how to divide by using the intensity of an image
You could try using rgb2gray on the initial image. Looking at your code, this would be: I = rgb2gray(maskedRgbImage); th...

alrededor de 15 años hace | 0

Respondida
fourier transform
To compute the discrete Fourier transform of a grayscale image, just use fft2. To find the DFT of a colour image, please see ...

alrededor de 15 años hace | 0

| aceptada

Respondida
smoothing out a matrix
See my answer to <http://www.mathworks.com/matlabcentral/answers/15183-coding-for-implementing-gaussian-filter-in-iris-recogniti...

alrededor de 15 años hace | 0

Respondida
coding for implementing gaussian filter in iris recognition system
Provided you have the Image Processing Toolbox, code for Gaussian filtering of an image looks like this: sigma = 2; % set s...

alrededor de 15 años hace | 0

Respondida
Detecting a feature in a Medical Image
Try thresholding. binary_image = original_image > threshold; You choose the value of threshold to be less than the value...

alrededor de 15 años hace | 0

Respondida
Regarding imwrite()
If you want to read the data back into MATLAB without any loss of accuracy, then use load and save rather than imwrite and imrea...

alrededor de 15 años hace | 0

| aceptada

Respondida
Additive effects of a 2D Gaussian filter
Suppose you apply a Gaussian filter with width parameter SIGMA1 to an image, and then you apply a second Gaussian filter with pa...

alrededor de 15 años hace | 1

Cargar más