Current Week

Individual Hours:

Mikey – 6+ hours

Michael – 6+ hours

Miles – 6+ hours

What we did:

Dismantling project prototype.

Working on report!

What we didn’t do:

Give the project the legacy name, like Project Quack.

Where we are stuck:

Find each and every industrial standard for the parts used in prototype and final product.

Upcoming Week

Goals:

Finish final report.

Meeting times/dates

Tuesday 7:00pm

Notes/Misc:

Leave comments about this post in the forum.  

Current Week

Individual Hours:

Mikey – 7+ hours

Michael – 7+ hours

Miles – 7+ hours

What we did:

Refined measuring code to work on wider variety of images.

Got larger stepper motors functioning and under MATLAB control.

GUI implemented, live feed acquired, functioning.

Presented at Exploration Place!

What we didn’t do:

See below.

Where we are stuck:

Give the project a final name, like Project Lights.

Upcoming Week

Goals:

Final report, do it.

Dismantle project.

Meeting times/dates

Tuesday 7:00pm

Notes/Misc:

Leave comments about this post in the forum.  

Current Week

Individual Hours:

Mikey – 7+ hours

Michael – 3+ hours

Miles – 3+ hours

What we did:

Michael – Programming in MATLAB to convert images to pure bitmaps with no camera imperfections.

Mikey – Working on larger stepper motor drivers. Current Easy Drivers do not function well on larger stepper motors.

Miles – Working on GUI implementation to be compatible with current MATLAB code, also working on image processing.

What we didn’t do:

Give the project an iconic name, like Project Origin.

Where we are stuck:

Filter images to make line intersection finding code work better.

Upcoming Week

Goals:

Finish hardware, refine code. PRESENT!

Meeting times/dates

Tuesday: 7:00pm

Notes/Misc:

Leave comments about this post in the forum.  

Current Week

Individual Hours:

Mikey – 5+ hours

Michael – 3+ hours

Miles – 3+ hours

What we did:

Acquired a digital microscope. (borrowing)

Michael – Working on image filtering to destroy any image capture imperfections due to low quality camera/inadequate lighting.

Mikey – Working on refinishing hardware. New, better, matching motors mounted. Control box improved with self-contained plugs and wiring.

Miles – Working on live video feed and image capture to import directly into MATLAB and GUI.

What we didn’t do:

Name the project with a shiny name, like Project Anvil.

Where we are stuck:

Make the measurement code function on imperfect pictures.

Upcoming Week

Goals:

Integrate controls into GUI.

Refinish hardware implementation and control system.

Meeting times/dates

Tuesday: 7:00pm

Notes/Misc:

 

 

Leave comments about this post in the forum.  

Current Week

Individual Hours:

Mikey – 3+ hours

Michael – 3+ hours

Miles – 3+ hours

What we did:

Michael – Current measurement code finds intersections, measures distance between them. Seems to be functioning well.

Mikey – Working on wiring harness for project.

Miles – Working on GUI functionality for user input and data output.

What we didn’t do:

Figure out live image capture from camera.

Name the project with a fancy name, like Project Aperture.

Where we are stuck:

Live camera output into current measurement code.

Upcoming Week

Goals:

Obtain live camera feed.

Meeting times/dates

Tuesday: 7:00pm

Notes/Misc:

Leave comments about this post in the forum.  

Current Week

Individual Hours:

Mikey – 2+ hours

Michael – 2+ hours

Miles – 2+ hours

What we did:

Michael – Working on measurement algorithm, basic idea for fallback plan implementation of clicking on the picture to measure distances is thought out. 

Mikey – Working with Arduino MEGA, have real-time MATLAB functionality through Arduino now.

Miles – Basic layout of GUI in GUIDE done, reviewed.

What we didn’t do:

Name the project something ambiguous yet interesting, like Project 42.

Where we are stuck:

Craft the GUI to not muck up existing code.

Upcoming Week

Goals:

Post a picture of the current GUI.

Have point to point measurement by clicking done.

Meeting times/dates

Tuesday : 2:00pm

Tuesday : 7:00pm

Notes/Misc:

The MEGA!

Leave comments about this post in the forum.  

Current Week

Individual Hours:

Mikey – 2+ hours

Michael – 2+ hours

Miles – 2+ hours

What we did:

This was a less efficient week, having fall break on Monday and Tuesday.

Michael still learning MATLAB. Roughing out measurement algorithm and process. Mostly finding red square edges for measurement.

Mikey – Working with Arduino MEGA implementation.

Miles – Designing MATLAB GUI in GUIDE.

What we didn’t do:

Name the project something sharp, like Project Axiom.

Where we are stuck:

Make MATLAB define any red square against all the black lines.

Upcoming Week

Goals:

Post a rough concept design for the GUI.

Refine the code, algorithm is due October 25.

Meeting times/dates

Tuesday – 2:00pm

Tuesday – 7:00pm

Captain – Tuesday 8:30pm

Notes/Misc:

 

Communication over fall break was not great.

Leave comments about this post in the forum.  

Current Week

Individual Hours:

Mikey – 3+ hours

Michael – 3+ hours

Miles – 3+ hours

What we did:

Michael presented contract to Skinner and Tom, also possible acquisition of new/old work space room in addition to laboratory. Refine current measurement algorithm and process.

Mikey – Switched Arduino UNO for Arduino MEGA, increasing capabilities and options. Main benefit is real-time two-way communication between computer and Arduino.

Miles – Continued design for GUI component from Matlab GUIDE in workstation.

What we didn’t do:

Create cool project name, like Project Bacon.

 Get good quality line pictures to try and process with Matlab.

Where we are stuck:

Make Matlab measure correctly and accurately with bad quality pictures.

Upcoming Week

Goals:

Make progress on programming, get better familiarity with Matlab.

Develop basic GUI layout.

Meeting times/dates

Wednesday: 4:00 pm

Notes/Misc:

Current code.

%Read in original image
IMG = imread(‘Single_Red_square.jpg’);

%Build local variable of different image formats
IMG_Gray = rgb2gray(IMG);

%% RED PLANE

% Pre-allocate matrix (memory)
IMG_Red = zeros(size(IMG_Gray));

%Determine image size for indexing
[m, n] = size(IMG_Red);

for i = 1:m
for j = 1:n

%Calibrates threshold for color ‘Red’ id:
%IMG(:,:,1) is Red, IMG(:,:,2) is Blue, IMG(:,:,3)
if IMG(i,j,1) > (IMG(i,j,2) + IMG(i,j,3))

%Set the index to 1 in red matrix
IMG_Red(i,j) = 255;

end
end
end

IMG_Red_altered = IMG_Red;

%Find the columns with the number of red pixels > 89.99%
Red_Column_Avg = sum(IMG_Red)/n;

%Fill columns with > 89.99% red to 100%
for i = 1:n

if Red_Column_Avg(i) > 0.8999

IMG_Red_altered(:,i) = 1;

end
end

%Find the rows with the number of red pixels > 89.99%
Red_Row_Avg = sum(IMG_Red’)/m;

%Fill row with > 89.99% red to 100%
for j = 1:m

if Red_Row_Avg(j) > 0.8999

IMG_Red_altered(j,:) = 1;

end
end

%IMG_Red_altered is an indexed matrix with 1 representing a red pixel…
%and 0 representing a white pixel

%% Black Plane

% %Pre-allocate black matrix… New indexing not required
% IMG_Black = zeros(size(IMG_Gray));
%
% %Nested loops to determine black pixels in image
% for i = 1:m
% for j = 1:n
%
% %Determine threshhold for black pixels
% %IMG(:,:,1) is Red, IMG(:,:,2) is Blue, IMG(:,:,3)
% if (IMG(i,j,1) > 210) && (IMG(i,j,2) < 70) && (IMG(i,j,3) < 70)
%
% %Set the index to 1 in black matrix
% IMG_Black(i,j) = 1;
%
% end
%
% end
% end

 

%%
% imshow(IMG2);
% hold on
% plot(C(:,1),C(:,2), ‘b*’);
% E = edge(IMG2_Gray);
% imshow(E);

Leave comments about this post in the forum.  

Current Week

Individual Hours:

Mikey – 5+ hours

Miles – 5+ hours

Michael – 5+ hours

What we did:

Project is now focused on completing what we can, mostly for demonstration purposes.

We divided up assignments to start working towards end goal for programming.

Miles starting on MATLAB GUI using GUIDE.

Michael refine and work on measurement and red line detection algorithm and code.

Mikey develop image importing and information exporting into MATLAB code.

We also submitted the contract and Gantt chart, as well as scheduled a presentation.

What we didn’t do:

Did not post the current image processing code.

Have not created a cool project name yet, like Project T49.

Where we are stuck:

We need lots of money for funding for the high-end linear motion parts and a high-end camera.

Upcoming Week

Goals:

Post rough code, start refining.

Have basic layout of GUI for image processing.

Meeting times/dates

Tuesday: 2:00 pm

Tuesday: 7:00 pm

Thursday: 3:30 pm

Notes/Misc:

Leave comments about this post in the forum.  

We should all take a look at the documentation for the Arduino toolbox.  If the toolbox is not already installed on the computers in the lab upstairs, we should see if someone can install it.  This way, I’m not the only one with access.

Leave comments about this post in the forum.