Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Discussion Groups

Discussion Groups | Matlab DSP | Re: Dividing an Image into 3x3 Matrix

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

Dividing an Image into 3x3 Matrix - jawaad aslam - Sep 28 13:17:48 2008



Hello All,
 
Hope everyone is fine and going smoothly. I raised the same querry before but didnt get the
desired reply from you. Actually I am working on Fingerprints Recognition. I tell you in detail
please go through it carefully.
 
Lets suppose I have a fingerprint Image and after converting it into binary form I get the
result as follows:
 
1 0 0 1 1 1 0 0 1 0 0 1 0 1 1........
 
0 0 1 0 1 1 0 1 0 1 0 1 1 1 1..........
 
0 0 1 1 0 0 1 1 1 1 0 1 0 0 1.......
 
1 0 0 1 0 1 0 1 0 1 0 1 0 0 0........ 
.
.
.
.
.
.
 
 
If I want to work on 3x3 blocks respectively out of huge matrix. How could I do this?
 
Please please help me.
 
 
Thank you
 
Regards,
 
Jawad



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

Re: Dividing an Image into 3x3 Matrix - Wisnumurti Kristanto - Sep 30 8:02:21 2008

Hi Jawaad,

Maybe you can just sample your image in 3x3 matrix ?
For example you have matrix:
A = 300 x 300 matrix
you can sample it by take:
a1 = A(1:3,1:3);
a2 = A(1:3,4:6);
and so on
you can automate it using iteration.

Hope it helps.

Regards,
-wisnu-
----- Original Message ----
From: jawaad aslam <n...@yahoo.com>
To: Matlab - Yahoo Group <m...@yahoogroups.com>
Sent: Saturday, September 27, 2008 9:05:25 AM
Subject: [matlab] Dividing an Image into 3x3 Matrix
Hello All,
 
Hope everyone is fine and going smoothly. I raised the same querry before but didnt get the
desired reply from you. Actually I am working on Fingerprints Recognition. I tell you in detail
please go through it carefully.
 
Lets suppose I have a fingerprint Image and after converting it into binary form I get the
result as follows:
 
1 0 0 1 1 1 0 0 1 0 0 1 0 1 1........
 
0 0 1 0 1 1 0 1 0 1 0 1 1 1 1..........
 
0 0 1 1 0 0 1 1 1 1 0 1 0 0 1.......
 
1 0 0 1 0 1 0 1 0 1 0 1 0 0 0........ 
.
.
.
.
.
.

If I want to work on 3x3 blocks respectively  out of huge matrix. How could I do this?
 
Please please help me.

Thank you
 
Regards,
 
Jawad



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

Re: Dividing an Image into 3x3 Matrix - nirup reddy - Oct 2 21:00:37 2008

Hi Jawaad,
       One of the fast ways of performing block operation in matlab is using
the following function

B = blkproc(A,[m n],fun)

u define ur function and then work on the whole image .. look on for help
for more information

Regards
Nirup Reddy

On Tue, Sep 30, 2008 at 2:45 AM, Wisnumurti Kristanto <y...@yahoo.com>wrote:

>   Hi Jawaad,
>
> Maybe you can just sample your image in 3x3 matrix ?
> For example you have matrix:
> A = 300 x 300 matrix
> you can sample it by take:
> a1 = A(1:3,1:3);
> a2 = A(1:3,4:6);
> and so on
> you can automate it using iteration.
>
> Hope it helps.
>
> Regards,
> -wisnu-
> ----- Original Message ----
> From: jawaad aslam <n...@yahoo.com <nazjaw%40yahoo.com>>
> To: Matlab - Yahoo Group <m...@yahoogroups.com<matlab%40yahoogroups.com>
> >
> Sent: Saturday, September 27, 2008 9:05:25 AM
> Subject: [matlab] Dividing an Image into 3x3 Matrix
>
> Hello All,
>
> Hope everyone is fine and going smoothly. I raised the same querry before
> but didnt get the desired reply from you. Actually I am working on
> Fingerprints Recognition. I tell you in detail please go through it
> carefully.
>
> Lets suppose I have a fingerprint Image and after converting it into binary
> form I get the result as follows:
>
> 1 0 0 1 1 1 0 0 1 0 0 1 0 1 1........
>
> 0 0 1 0 1 1 0 1 0 1 0 1 1 1 1..........
>
> 0 0 1 1 0 0 1 1 1 1 0 1 0 0 1.......
>
> 1 0 0 1 0 1 0 1 0 1 0 1 0 0 0........
> .
> .
> .
> .
> .
> .
> If I want to work on 3x3 blocks respectively out of huge matrix. How could
> I do this?
>
> Please please help me.
> Thank you
>
> Regards,
>
> Jawad
>
>  
>



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

Re: Dividing an Image into 3x3 Matrix - nirup reddy - Oct 4 22:23:45 2008

Hi Jawaad,
       One of the fast ways of performing block operation in matlab is using
the following function

B = blkproc(A,[m n],fun)

u define ur function and then work on the whole image .. look on for help
for more information

Regards
Nirup Reddy
> On Tue, Sep 30, 2008 at 2:45 AM, Wisnumurti Kristanto <y...@yahoo.com>wrote:
>
>>   Hi Jawaad,
>>
>> Maybe you can just sample your image in 3x3 matrix ?
>> For example you have matrix:
>> A = 300 x 300 matrix
>> you can sample it by take:
>> a1 = A(1:3,1:3);
>> a2 = A(1:3,4:6);
>> and so on
>> you can automate it using iteration.
>>
>> Hope it helps.
>>
>> Regards,
>> -wisnu-
>> ----- Original Message ----
>> From: jawaad aslam <n...@yahoo.com <nazjaw%40yahoo.com>>
>> To: Matlab - Yahoo Group <m...@yahoogroups.com<matlab%40yahoogroups.com>
>> >
>> Sent: Saturday, September 27, 2008 9:05:25 AM
>> Subject: [matlab] Dividing an Image into 3x3 Matrix
>>
>> Hello All,
>>
>> Hope everyone is fine and going smoothly. I raised the same querry before
>> but didnt get the desired reply from you. Actually I am working on
>> Fingerprints Recognition. I tell you in detail please go through it
>> carefully.
>>
>> Lets suppose I have a fingerprint Image and after converting it into
>> binary form I get the result as follows:
>>
>> 1 0 0 1 1 1 0 0 1 0 0 1 0 1 1........
>>
>> 0 0 1 0 1 1 0 1 0 1 0 1 1 1 1..........
>>
>> 0 0 1 1 0 0 1 1 1 1 0 1 0 0 1.......
>>
>> 1 0 0 1 0 1 0 1 0 1 0 1 0 0 0........
>> .
>> .
>> .
>> .
>> .
>> .
>> If I want to work on 3x3 blocks respectively out of huge matrix. How could
>> I do this?
>>
>> Please please help me.
>> Thank you
>>
>> Regards,
>>
>> Jawad
>>
>>  
>>



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )