Answered

"imshow" distorts jpeg

Are you displaying at the proper size? fine detail can be lost (aliasing) if your display size is too small, try maximizing it w...

"imshow" distorts jpeg

Are you displaying at the proper size? fine detail can be lost (aliasing) if your display size is too small, try maximizing it w...

10 years ago | 0

Answered

Fusion of CT and MRI images, MI method

Same as least squares, transform 1 of the images according to your criteria (e.g. rotate) then re-calculate MI. Try various tran...

Fusion of CT and MRI images, MI method

Same as least squares, transform 1 of the images according to your criteria (e.g. rotate) then re-calculate MI. Try various tran...

10 years ago | 0

Answered

imshow - Stretching image to fill axis

Have you tried image or imagesc? Or the 'axis image' command?

imshow - Stretching image to fill axis

Have you tried image or imagesc? Or the 'axis image' command?

10 years ago | 0

Answered

how to do color correction

I guess we just have to assume you are using a normal rgb format... What image analyst suggested was to use your knowledge of t...

how to do color correction

I guess we just have to assume you are using a normal rgb format... What image analyst suggested was to use your knowledge of t...

10 years ago | 0

Answered

Imagesc movie with multiple axes/matrices

I dont use colorbars often, so this was my initial idea without them: syy = reshape(syy,[size(syy,1) size(syy,2) 1 size(sy...

Imagesc movie with multiple axes/matrices

I dont use colorbars often, so this was my initial idea without them: syy = reshape(syy,[size(syy,1) size(syy,2) 1 size(sy...

10 years ago | 0

Question

Minimal variance algorithm. Ideas?

I don't have much experience with developing algorithms but I am considering the following problem: How to divide a set of numbe...

10 years ago | 1 answer | 0

Answered

How can I rescale an image while not changing the dimension of the image?

I think you want to look into imtransform, specifically the Xdata and Ydata properties. E.g. you can rotate around the center--k...

How can I rescale an image while not changing the dimension of the image?

I think you want to look into imtransform, specifically the Xdata and Ydata properties. E.g. you can rotate around the center--k...

10 years ago | 0

Question

Binary mask operation: vector into nonzero part of mask in 1 statement?

I have a logical matrix MASK and a vector VEC with real numbers (uint8 mostly). nnz(MASK) equals length(VEC). I create a new ...

10 years ago | 1 answer | 0

Answered

How to convert a matrix to a Gray scale image?

Its probably double. So do im2uint8(A) or uint8(A) if A is the matrix. Also use imshow instead of image if you can.

How to convert a matrix to a Gray scale image?

Its probably double. So do im2uint8(A) or uint8(A) if A is the matrix. Also use imshow instead of image if you can.

10 years ago | 1

Answered

How to apply Maximum likelihood estimation technique to characterize the amplitude of noise in a given time series

Im just guessing here, but since the least square fit of your time function (inverse fourier?) is a maximum likelihood estimator...

How to apply Maximum likelihood estimation technique to characterize the amplitude of noise in a given time series

Im just guessing here, but since the least square fit of your time function (inverse fourier?) is a maximum likelihood estimator...

10 years ago | 0

| accepted

Answered

Write data to spreadsheet.?

I suppose you could read the old data into MATLAB, concatenate and then overwrite old .xls file? Maybe not the fastest solution....

Write data to spreadsheet.?

I suppose you could read the old data into MATLAB, concatenate and then overwrite old .xls file? Maybe not the fastest solution....

10 years ago | 0

| accepted

Answered

what is the difference between noise and outlier????..

I guess noise causes outliers, but not all outliers are caused by noise :)

what is the difference between noise and outlier????..

I guess noise causes outliers, but not all outliers are caused by noise :)

10 years ago | 0

Question

HISTEQ normalization range not clear

When I tried to equalize an image using histeq I got an unexpected result. The original has values in the range 0-199 and the ou...

10 years ago | 0 answers | 0

Answered

how to normalize two discrete time series signal to same time duration???

Use interp1. Or create a fit using fit or polyfit. But beware the difference between interpolation and extrapolation.

how to normalize two discrete time series signal to same time duration???

Use interp1. Or create a fit using fit or polyfit. But beware the difference between interpolation and extrapolation.

10 years ago | 0

Answered

Symmetric Positive Semi-definate Covariance matrix using mvnrnd

isequal(sum(eig(SIGMA)>0),length(eig(SIGMA))) Why does eig(SIGMA) give negative eigenvalues?

Symmetric Positive Semi-definate Covariance matrix using mvnrnd

isequal(sum(eig(SIGMA)>0),length(eig(SIGMA))) Why does eig(SIGMA) give negative eigenvalues?

10 years ago | 1

Answered

how can i make a function which will return the largest and the second largest component?

Or: if sum(C==max(C))==1 second = max(C(C<max(C))); else second = max(C); end i.e. test if the maximum i...

how can i make a function which will return the largest and the second largest component?

Or: if sum(C==max(C))==1 second = max(C(C<max(C))); else second = max(C); end i.e. test if the maximum i...

10 years ago | 0

Answered

Normalizing data

Dividing by the maximum does not correct for offset. So only ranges 0-X go to 0-1. If his column has a negative or nonzero minim...

Normalizing data

Dividing by the maximum does not correct for offset. So only ranges 0-X go to 0-1. If his column has a negative or nonzero minim...

10 years ago | 0

Question

HISTEQ default not consistent with syntax?

If I have an 8-bit image IM (e.g. cameraman.tif), why does histeq(IM) produce a different result than histeq(IM,ones(1,256))?? ...

10 years ago | 1 answer | 0

Answered

histogram and histogram equalization of an image without using built-in functions

I gave an example here: <http://www.mathworks.com/matlabcentral/answers/23228-i-want-to-know-if-we-can-implement-histogram-equa...

histogram and histogram equalization of an image without using built-in functions

I gave an example here: <http://www.mathworks.com/matlabcentral/answers/23228-i-want-to-know-if-we-can-implement-histogram-equa...

10 years ago | 0

Answered

I want to know if we can implement histogram equalization without the histeq function?

4 bit grayscale example: grayLevels = (0:15); %Histogram of image, counts per level: grayHist = [0 0...

I want to know if we can implement histogram equalization without the histeq function?

4 bit grayscale example: grayLevels = (0:15); %Histogram of image, counts per level: grayHist = [0 0...

10 years ago | 0

Answered

Low level visual equalization of images

I'm assuming the resolutions are identical. If images have different content it's hard to give them equal parameters. One coul...

Low level visual equalization of images

I'm assuming the resolutions are identical. If images have different content it's hard to give them equal parameters. One coul...

10 years ago | 0