| MATLAB Central > MATLAB Newsreader > Image Processing of a Black and White Image |
|
|
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 24 Apr, 2010 21:04:05 Message: 1 of 57 |
|
I have a Black and White image in which i would like to create a boundary box around a specific part. |
|
Subject: Image Processing of a Black and White Image From: ImageAnalyst Date: 25 Apr, 2010 03:07:06 Message: 2 of 57 |
|
Where's your image? |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 25 Apr, 2010 10:15:08 Message: 3 of 57 |
|
Here is my image http://drop.io/ifihag5 , i have used the follwing to convert to black and white and extract the corners: |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 25 Apr, 2010 11:23:05 Message: 4 of 57 |
|
I think i have to define the yellow pixel areas as a blob definition. |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 25 Apr, 2010 13:45:22 Message: 5 of 57 |
|
Sorry the above code is incorrect, try this one LOL. |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 25 Apr, 2010 17:43:07 Message: 6 of 57 |
|
Does anyone know if it is possible to create charcteristic parameters for bwboundaries?? |
|
Subject: Image Processing of a Black and White Image From: ImageAnalyst Date: 25 Apr, 2010 18:46:54 Message: 7 of 57 |
|
Not that I'm aware of. That is not an allowable argument for |
|
Subject: Image Processing of a Black and White Image From: ImageAnalyst Date: 25 Apr, 2010 19:16:40 Message: 8 of 57 |
|
This looks like a machine vision application. Therefore you can crop |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 25 Apr, 2010 21:52:03 Message: 9 of 57 |
|
Thanks for the reply Image analyst |
|
Subject: Image Processing of a Black and White Image From: ImageAnalyst Date: 26 Apr, 2010 00:07:30 Message: 10 of 57 |
|
Maybe you could use a variance filter (go here |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 26 Apr, 2010 14:08:09 Message: 11 of 57 |
|
Image Analyst, thank you for your input it is greatly appreciated. I have tried a few ideas with no great results. I will try all the methods suggested below and will let you know what the result has been. |
|
Subject: Image Processing of a Black and White Image From: ImageAnalyst Date: 26 Apr, 2010 22:28:10 Message: 12 of 57 |
|
On Apr 26, 10:08 am, "AZZA Foster" <Aaron.Foste...@ntlworld.com> |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 26 Apr, 2010 23:08:03 Message: 13 of 57 |
|
This alogorithem will be designed just for Data Matrix codes only, not QR and other matrix types. I agree Analyst it may well be good for the program to recognise my original image, this is why the blob size matter as the data matrix will always have the L bend (" Finder Pattern ") and the tracking marks around the other two sides. The filters will need to leave these intact. |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 27 Apr, 2010 14:09:04 Message: 14 of 57 |
|
How are area descriptors written i keep getting the follwoing error. |
|
Subject: Image Processing of a Black and White Image From: Steven Lord Date: 27 Apr, 2010 14:15:26 Message: 15 of 57 |
|
|
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 27 Apr, 2010 14:32:04 Message: 16 of 57 |
|
Solved the previos issue, was just me being stupid. |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 27 Apr, 2010 14:36:04 Message: 17 of 57 |
|
Thanks for pointing that out steve. |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 27 Apr, 2010 14:45:22 Message: 18 of 57 |
|
LOL, sorted it out now guys. Cheers Steve, I think these 18hr days non stop are starting to have an affect. |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 27 Apr, 2010 21:58:04 Message: 19 of 57 |
|
Image Analyst and Lord Steve, THANKS for your help with the imaging process, after a bit more filtering and a few other additions i have finally got the boundary around the barcode on the sample image. I have tried it with a few other images and it seems to get so far about 75% through and destry the barcode, so i will have to place a few parameters in my code, to try and prevent that from happening in certain image situations. |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 27 Apr, 2010 23:28:06 Message: 20 of 57 |
|
Does anyone know how to extra the image inside a bounding box?? |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 27 Apr, 2010 23:32:18 Message: 21 of 57 |
|
No worries guys im going to play with the subimage function, just stubbled across it on another thread, posted by image analyst. |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 28 Apr, 2010 19:23:04 Message: 22 of 57 |
|
does anyone know how to open files incrementally e.g. |
|
Subject: Image Processing of a Black and White Image From: ImageAnalyst Date: 28 Apr, 2010 20:07:57 Message: 23 of 57 |
|
On Apr 28, 3:23 pm, "AZZA Foster" <Aaron.Foste...@ntlworld.com> wrote: |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 28 Apr, 2010 23:35:20 Message: 24 of 57 |
|
Great help image analyst thanks alot, i'll sort the code out for that tomorrow/today. |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 29 Apr, 2010 13:21:05 Message: 25 of 57 |
|
http://drop.io/ifihag5 |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 29 Apr, 2010 13:38:04 Message: 26 of 57 |
|
Thinking aboutit i little more i dont think that method will work. |
|
Subject: Image Processing of a Black and White Image From: ImageAnalyst Date: 29 Apr, 2010 14:23:01 Message: 27 of 57 |
|
AZZA Foster: |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 29 Apr, 2010 14:29:08 Message: 28 of 57 |
|
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <e48a314a-8f7e-4205-9f66-d0ccfc11b4d0@r6g2000vbh.googlegroups.com>... |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 29 Apr, 2010 15:52:04 Message: 29 of 57 |
|
Tried it Image Analyst and it didn't work, it would of done it i had changed all the filter settings, but i need code which is a bit more robust. |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 29 Apr, 2010 16:41:19 Message: 30 of 57 |
|
Sorry above code is incorrect in terms of its method, "subimage" needs to be updated,the code below has this included. |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 29 Apr, 2010 16:54:05 Message: 31 of 57 |
|
Here is my code with more corrections, i just need help with the loop's and the operators, thanks in advance AZZA |
|
Subject: Image Processing of a Black and White Image From: ImageAnalyst Date: 29 Apr, 2010 17:12:48 Message: 32 of 57 |
|
I don't have time to help you with this today. Maybe tomorrow if |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 29 Apr, 2010 17:24:05 Message: 33 of 57 |
|
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <7ee4eaa1-5489-4dc8-b762-4490234a8319@v37g2000vbv.googlegroups.com>... |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 30 Apr, 2010 12:00:21 Message: 34 of 57 |
|
I have found out why my code is running in a continous loop, i am using the imrotate function, this function places a BLACK canvas on an area where it does not know what pixel to assign to that space, so anyone know how to tell image rotate to apply a WHITE canvas to rotated images??? |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 30 Apr, 2010 12:15:08 Message: 35 of 57 |
|
"AZZA Foster" <Aaron.Foster17@ntlworld.com> wrote in message <hregol$j32$1@fred.mathworks.com>... |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 30 Apr, 2010 12:34:04 Message: 36 of 57 |
|
"AZZA Foster" <Aaron.Foster17@ntlworld.com> wrote in message <hrehkc$fi3$1@fred.mathworks.com>... |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 30 Apr, 2010 14:12:04 Message: 37 of 57 |
|
"AZZA Foster" <Aaron.Foster17@ntlworld.com> wrote in message <hreins$rn7$1@fred.mathworks.com>... |
|
Subject: Image Processing of a Black and White Image From: ImageAnalyst Date: 30 Apr, 2010 14:33:38 Message: 38 of 57 |
|
On Apr 30, 10:12 am, "AZZA Foster" <Aaron.Foste...@ntlworld.com> |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 30 Apr, 2010 15:43:05 Message: 39 of 57 |
|
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <4f8a04bb-8f89-4926-ba1e-339f886a68ca@n15g2000yqf.googlegroups.com>... |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 30 Apr, 2010 15:49:04 Message: 40 of 57 |
|
|
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 30 Apr, 2010 16:05:22 Message: 41 of 57 |
|
"AZZA Foster" <Aaron.Foster17@ntlworld.com> wrote in message <hreu5g$gf3$1@fred.mathworks.com>... |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 30 Apr, 2010 16:21:04 Message: 42 of 57 |
|
I have found the following link, where a similar problem has been raised. |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 30 Apr, 2010 17:01:20 Message: 43 of 57 |
|
"AZZA Foster" <Aaron.Foster17@ntlworld.com> wrote in message <hrf01g$jfd$1@fred.mathworks.com>... |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 30 Apr, 2010 17:12:07 Message: 44 of 57 |
|
"AZZA Foster" <Aaron.Foster17@ntlworld.com> wrote in message <hrf2d0$ohm$1@fred.mathworks.com>... |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 30 Apr, 2010 17:29:06 Message: 45 of 57 |
|
"AZZA Foster" <Aaron.Foster17@ntlworld.com> wrote in message <hrf317$6ke$1@fred.mathworks.com>... |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 30 Apr, 2010 17:36:04 Message: 46 of 57 |
|
"AZZA Foster" <Aaron.Foster17@ntlworld.com> wrote in message <hrf317$6ke$1@fred.mathworks.com>... |
|
Subject: Image Processing of a Black and White Image From: ImageAnalyst Date: 30 Apr, 2010 18:07:49 Message: 47 of 57 |
|
Well then just put your cursor in imrotate and hit control-D to get to |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 30 Apr, 2010 18:50:24 Message: 48 of 57 |
|
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <fdf599ea-5a5e-4b9a-985b-9f5ede8636b8@v18g2000vbc.googlegroups.com>... |
|
Subject: Image Processing of a Black and White Image From: ImageAnalyst Date: 30 Apr, 2010 19:12:28 Message: 49 of 57 |
|
On Apr 30, 12:21 pm, "AZZA Foster" <Aaron.Foste...@ntlworld.com> |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 30 Apr, 2010 19:25:21 Message: 50 of 57 |
|
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <fdf599ea-5a5e-4b9a-985b-9f5ede8636b8@v18g2000vbc.googlegroups.com>... |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 1 May, 2010 15:17:20 Message: 51 of 57 |
|
"AZZA Foster" <Aaron.Foster17@ntlworld.com> wrote in message <hrfar1$cln$1@fred.mathworks.com>... |
|
Subject: Image Processing of a Black and White Image From: ImageAnalyst Date: 1 May, 2010 15:28:22 Message: 52 of 57 |
|
On May 1, 11:17 am, "AZZA Foster" <Aaron.Foste...@ntlworld.com> wrote: |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 1 May, 2010 15:31:06 Message: 53 of 57 |
|
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <f5a7c5af-be56-4e36-86e8-5bcb18e2452f@37g2000yqm.googlegroups.com>... |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 1 May, 2010 16:03:05 Message: 54 of 57 |
|
"AZZA Foster" <Aaron.Foster17@ntlworld.com> wrote in message <hrhhfq$oti$1@fred.mathworks.com>... |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 1 May, 2010 16:07:05 Message: 55 of 57 |
|
Just to add "image analyst" i used the crop and loose parameter but the crop function will not crop over the padding cells. |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 1 May, 2010 17:17:05 Message: 56 of 57 |
|
Dont worry i got round it, by inverting the picture after rotation and then placing the bounding box round the ROI. |
|
Subject: Image Processing of a Black and White Image From: AZZA Foster Date: 9 Oct, 2010 14:12:03 Message: 57 of 57 |
|
Great the new matlab release is out, due to the addition made in the image toolbox, i can carry on my work. |
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 |
| 2d data matrix bar... | AZZA | 24 Apr, 2010 17:09:06 |
| image processing | AZZA | 24 Apr, 2010 17:09:06 |
