Finding blobs(wide lines in an image) and cropping them out when Background is not clear

2 vues (au cours des 30 derniers jours)
Hello,
I have adapted from the code BlobDemo.m by the expert (Image Analyst) here in mathworks forum. His answers to questions have been very helpful to me. Thanks for that. I am a learner and trying to work on image processing of Lateral flow strips. (Test lines and Control lines in the strip).
I have two images:
(a) a nicely cropped image('scanned_f10.jpg') of a strip (with white background and visible Strip lines)
(b)a camera shot image ('cam_e8.jpg')( Background is non-white and so filtering is to done as well, I think so.... I am not sure. Please guide me )
When I run the program with "baseFileName = scanned_f10.jpg" in the code attahced(T_C_lines_Blob_analysis.m), the program gives me perfectly what I want ( fig attached as 'f10_blobs.jpg') and the blob measurements.
(I am bit confused with the Image processing steps I performed. Please help)
How to perform thresholding for such images?
My issues in which I need help. Thank you in advance
Now, I use "baseFileName = cam_e8.jpg" in the code. I need to make changes to the code to perform proper thresholding and remove the blue background, crop the lateral strip and then find bounding boxes and other blob measurements.
Please help me in getting the Blobs from the camera shot image and also correct me in my first code as well where I have done wrong.
Thanks a lot.
  4 commentaires
symmer cul
symmer cul le 6 Mai 2021
The other thing I am unable to solve is the mapping or finding a relation between those "changed" pixel values (in the bounding boxes) to light absorption values. Appreciate it, if I can be helped.
Certain chemical is added to the lateral flow strips, and with an increase in addition of certain concentration of chemicals, the intensities of the Test-line becomes darker (lower pixel values) or remains brighhter(higher pixel values) with less chemical addition. I need to plot a graph between absorption vs wavlength. What I have now, is pixel intensity values.

Connectez-vous pour commenter.

Réponses (0)

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by