to mask an image from different pixel

1 view (last 30 days)
Khalid
Khalid on 6 May 2013

I would like to mask the image below (by dividing the image to 4X12 block),and I would like to image and read the matrix values of the following block: 1- From the center (block 4X4). 2- The corner edge (block 1X1). 3- The corner edge (the four blocks on each corner). So would you please help me on how to write the matlab code for this image detection, Looking forward to hear from you soon.

  1 Comment
Khalid
Khalid on 6 May 2013
I would like to thankx you for your quick response
Actually I would like to do the following step to this image size for example (700X314 Pixel), using the matlab code: 1- How to divide the image to (4X12 part equally), Row X Colum. 2- How to show these part (corners, center, from the 48 parts of the image which has been divided in the first step ). 3- How to get the matrix of each part of the image (48 divided parts). Green-white-living-room-700x314.jpg>

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 6 May 2013
Masking, reading subimages, and edge detection are all separate things. Which do you want to do? Where did you upload your image to?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!