Skip to main content

CST 205 - Week 2

This week was all about image manipulation using JES and Python. While I learned last week about the RGB model of color and how it affects pixels in a digital image, the assignments this week were all about "physical" manipulation, such as shrinking, resizing, copying, and applying some fun effects such as mirroring and creating negatives. 

Although I'm beginning to get a good grasp of JES and Jython, I still had some difficulty with the collage part of Lab 5. My original plan was to create a dynamic resizing function that would take in any number of images and then resize them if necessary to fit within the blank "canvas's" bounds. My first thought was to implement some sort of pixel edge detection, but unfortunately I could not get it to work. I had to resort to resizing all my images in to a fixed size, applying a random effect, and then copying it to the final collage. 

I'd like to see a solution that uses a dynamic resizing/scaling algorithm as I believe that is how I could make a program out of this lab that would work to any scale, e.g. a 65000 x 65000 collage with 512 photos, or something large like that.

The Coding Bat exercises were a great way to warm up and practice my Python. I struggled a bit with some of them more than others, but struggling is simply part of the learning process. Practicing logical thinking and translating it to code will hopefully make me a better programmer in the long run 

It was a little tough getting in the mindset of doing long stretches of real programming, but I believe I am warmed up and well prepared for the rest of the class. 

Here's an example of a collage my program created. Shia LaBeouf ended up relatively unscathed by my random picture effects, but considering he's probably got a bunch of other stuff affecting him already in real life, I'll let it slide.


Comments

Popular posts from this blog

CST 499 - Week 7

This week, our group finished recording and editing our capstone project video and prepared our presentation for the capstone festival. Although I wish the capstone festival was held in person (and it could not due to current circumstances), I am excited to show off our project and hard work to other computer science students, friends, and family. I hope they'll enjoy it and learn something cool while doing so. 

The Final Journal

It's the end of a long, four year journey, and what a journey it has been. I never thought I could pull off finishing my second bachelor's degree four years ago when I first went to that introduction to programming class at my community college. I would like to thank all the friends I've made along the way and the people who have helped me through the last two years. Although it was difficult at times taking class while working 40+ hours a week, I'm proud of myself for making it through. I don't think I'll be a student enrolled in classes anytime soon, but I'll always be a lifelong student. See you all around.

CST 499 - Week 3

This week, we finished our ILP portfolios and turned in the final versions of our resume and cover letter. My group also completed the first part of the capstone report. I'll admit that creating a portfolio showcasing my past work was not at the top of my priority list when I first started studying computer science, although at this point in my educational and professional career I've learned how important it is to have such a portfolio. Like other creative professions, having a solid body of work to show to a potential employer, or even for personal documentation is one of the best ways to display your talents as an engineer. Also, all the assignments I've completed during my academic career, both at CSUMB and elsewhere, have given me a good start to my portfolio. I tend to prefer classic, plain styling like  Brian Kernighan's  home page (he has a pretty nice portfolio too), although I've come to appreciate highly stylized portfolios that make use of WebKit ani...