Thread Subject: Image processing

Subject: Image processing

From: RAJKUMAR Palaniappan

Date: 1 Oct, 2009 03:34:01

Message: 1 of 3

I have to split an Image to various blocks.lets say if the image size is 16*32
i want each block size to be 3*3.and also the program should be able to work in various size and also various block size.
and also i just want to cut a specific portion of the Image.lets say i want to cut 9*9 from an Image 16*32.
can any 1 help me out in programing for this???

Subject: Image processing

From: paul jee

Date: 4 Oct, 2009 02:30:04

Message: 2 of 3

"RAJKUMAR Palaniappan" <prk_mect@yahoo.co.in> wrote in message <ha17v9$f0e$1@fred.mathworks.com>...
> I have to split an Image to various blocks.lets say if the image size is 16*32
> i want each block size to be 3*3.and also the program should be able to work in various size and also various block size.
> and also i just want to cut a specific portion of the Image.lets say i want to cut 9*9 from an Image 16*32.
> can any 1 help me out in programing for this???


Raj try this code
    Read the Image
 a=imread('File name');
b=a(1:3,1:3);
imshow(b);

Image of size 3*3 will be displayed

Subject: Image processing

From: RAJKUMAR Palaniappan

Date: 21 Nov, 2009 04:12:18

Message: 3 of 3

"paul jee" <pauljee2004@yahoo.com> wrote in message <ha91bc$2cn$1@fred.mathworks.com>...
> "RAJKUMAR Palaniappan" <prk_mect@yahoo.co.in> wrote in message <ha17v9$f0e$1@fred.mathworks.com>...
> > I have to split an Image to various blocks.lets say if the image size is 16*32
> > i want each block size to be 3*3.and also the program should be able to work in various size and also various block size.
> > and also i just want to cut a specific portion of the Image.lets say i want to cut 9*9 from an Image 16*32.
> > can any 1 help me out in programing for this???
>
>
> Raj try this code
> Read the Image
> a=imread('File name');
> b=a(1:3,1:3);
> imshow(b);
>
> Image of size 3*3 will be displayed

Thanks alot
it was really usefull

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
image processing RAJKUMAR Palaniappan 30 Sep, 2009 23:39:02
rssFeed for this Thread

Contact us at files@mathworks.com