DSPRelated.com
Forums

xray image processing

Started by zeeshan shakir July 4, 2001
hi there all

any one there is working on xray image processing.
i need image subtaction algorithm in matlab.

smiles
zeeshan

__________________________________________________




shakir:

jus subtract the arrays and normalize the values for the display range....

like...

A = imread('file1.jpg');
B = imread('file2.jpg');

Im assuming A & B are of same dimensions

result = double(A)- double(B);

then normalize result for diplaying... --vinod

On Tue, 3 Jul 2001, zeeshan shakir wrote:

> hi there all
>
> any one there is working on xray image processing.
> i need image subtaction algorithm in matlab.
>
> smiles
> zeeshan
>



Shakir-

Or exclusive-or (XOR) the data, which might handle color/gray values and avoid
the normalization step. Any pixels in the 2 images that are the same will
become zero.

Jeff Brower
Signalogic

On Wed, 4 Jul 2001, Vinod Pathangay <> wrote:
>
>shakir:
>
>jus subtract the arrays and normalize the values for the display range....
>
>like...
>
>A = imread('file1.jpg');
>B = imread('file2.jpg');
>
>Im assuming A & B are of same dimensions
>
>result = double(A)- double(B);
>
>then normalize result for diplaying... >--vinod >
>
>On Tue, 3 Jul 2001, zeeshan shakir wrote:
>
>> hi there all
>>
>> any one there is working on xray image processing.
>> i need image subtaction algorithm in matlab.
>>
>> smiles
>> zeeshan