Question: At this point, we have covered both how to create complex expressions and loops.This enables us to calculate almost arbitrarily complex algorithms limited only by

At this point, we have covered both how to create complex expressions and loops.This enables us to calculate almost arbitrarily complex algorithms limited only by your imagination.Additionally, this week we have learned how to create basic GUIs.As a result, you should be able to create a program that is both easy to use and highly functional.Using this new found abilities, I want you to help me to analyze an image based dataset.The other is to analyze color in an area of interest, this requires basic matrix manipulation, but a more complex user interface Project 1 Choice 2Submit your final working code as an *.m file (a script file) and a demonstration explaining what your program accomplishes and some uses for it.Your code should include enough comments that it is clear what you are doing.(i.e. x=2; %this sets x to 2, would be totally unnecessary, but something like BW = imbinarize(I,'adaptive','Sensitivity',0.4); %this attempts to threshold the 'light' cells on the 'dark' background using an adaptive method, sensitivity was optimized on the examples image, would be pretty useful.)One is a set of pictures of a stain called Alizarin Red. This stain indicates when cells are starting to form bone mineral.In my experiment, I have grown stem cells on different materials. These stem cells are not initially able to form bone mineral, however, they may differentiate in an appropriate environment to cells that can. I would like to see if there is a difference between how the materials mature these stem cells into osteoblasts by detecting whether there is a change in color.On these (once white) polymer membranes you can see the results:20_3.jpg 12_1.jpgTo succeed you must allow a user to work their way through a set of images, and at the end output the average 'redness' and related statistics in the two experimental groups.Designate the study1. First, ask whether the user wants to analyze 1 or 2 experimental groupsTo analyze a single file:2. Ask the user to select a file (uigetfile)3. Read the file into matlab (imread)4. Ask the user to select an area of interest (imcrop)5. Redisplay the image after cropping and ask the user to select an area using an ROI tool. (drawcircle)6. Convert the data into a 'redness' value. (This is not the value of the red color channel. To figure out why, consider what intensity Red, Green, and Blue are for the color White vs the color Red)7. Compute the mean redness value in the area designated by the ROI (createMask). Store this data.8. Store this data and continue to the next image. If the user selected 2 groups, you should ask whether that was the last image in group 1.Your final output should include the average and standard deviation of redness for each data set as appropriate as well as a test whether the two groups significantly differ (ttest2);After your analysis works, create a short writeup analyzing the example files. Don't just say the numbers that you got, explain what they might mean in the context of the experiment.
At this point, we have covered both how to create

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!