Python for Image Processing 2025/1 – BHE 2025

Today, I had the opportunity to deliver a workshop on Introduction to Python, specifically targeting its application in image processing. This workshop was part of a preparatory class for UMPSA double-degree students, who will be enrolling in their image processing course next semester. The objective was to provide them with a foundation in Python programming through a hands-on project-based approach.

Instead of a conventional lecture-style introduction to Python, the workshop focused on a project-based learning approach, where students were introduced to programming concepts by developing a Slider Game. This project served as an engaging platform to explore Python syntax and core programming concepts, including:

      1. Pixels and Color Schemes – Understanding how colors and pixels form the basis of image processing.
      2. Object-Oriented Programming (OOP) – Declaring objects, defining classes, and implementing methods.
      3. Control Statements – Implementing loops (for, while) and conditional statements (if-else).
      4. Event Handling – Managing user input and interactions within the game.
      5. Timers – Implementing countdowns and delays for interactive experiences.

This step-by-step approach helped students grasp the syntax and structure of Python while simultaneously building a fun, interactive game.

Following the Python fundamentals and project development, the workshop transitioned into setting up Anaconda, a critical tool for managing Python environments and dependencies efficiently. Special attention was given to embedding the .yml environment file prepared by the image processing course coordinator. This ensured that students had access to all key libraries and tools required for their upcoming course, including:

      1. scikit-image – For advanced image processing tasks.
      2. Matplotlib – For data visualization and plotting image transformations.
      3. OpenCV – For real-time image manipulation and computer vision applications.

By setting up a pre-configured environment, we aimed to provide students with a smooth learning experience without the hassle of installing dependencies manually.

The workshop concluded with a hands-on session exploring fundamental image processing techniques. Students experimented with:

      1. Image Scaling – Resizing and adjusting image dimensions.
      2. Color Manipulation – Converting RGB images to grayscale.
      3. Basic Filters & Enhancements – Adjusting brightness, contrast, and sharpening.

As a final exercise, students worked with the iconic Lenna.png file, applying different transformations to understand basic image properties.

This workshop was an exciting and fulfilling experience, as it introduced students to Python programming in a practical and engaging manner. By developing a project along the way, they not only learned Python syntax and concepts but also experienced how these concepts translate into real-world applications like image processing. I truly enjoyed guiding them through this process and hope they found this approach refreshing and insightful.

Wishing all the students the best of luck in their upcoming image processing course! Looking forward to seeing how they apply Python in their projects and beyond.

Arduino Programming 2025/1 – KV Seberang Perai

UMPSA STEM Lab Arduino Programming can be found here.

Throughout the course, 34 participants from Kolej Vokasional Seberang Perai were introduced to the concepts of programming loops, conditional statements, and sequential execution. Activities include controlling multiple LEDs, understanding the concept of digital output, using a photoresistor to expand their understanding of sensor interfacing, integrating analog sensors with Arduino and controlling digital outputs based on sensor readings. Towards the end, participants visualize data and messages using an OLED display.

Thank you En Rizal and Pn Zamzurina  for coordinating the communication between UMPSA STEM Lab and the participants.

Research in Education – My First Research Grant =)

When I embarked on my first research grant at Universiti Malaysia Pahang (UMP), in 2014 – wow, it’s already been 10 years! I didn’t realize the impact it would have on my career as an academician and my perspective on engineering education. The project, titled “The Development and Analysis of Concept Inventory for Electrical and Electronics Engineering Undergraduate Courses,” was a gateway into understanding the complexities of teaching and learning, specifically in digital electronic systems.

The Power of Concept Inventories

Concept inventories are tools designed to assess students’ understanding of core concepts within a subject. In engineering education, they help identify misconceptions that often hinder students’ ability to grasp foundational principles. Our project focused on digital electronic systems, particularly finite state machines—a critical topic in electrical and electronics engineering.

Through this research, we developed a robust concept inventory to evaluate how well students understood the subject and pinpoint areas where misconceptions arose. These insights were invaluable, not only for refining teaching methods but also for reshaping how the curriculum addresses challenging topics.

Unveiling Misconceptions

One of the most eye-opening aspects of this research was discovering the extent of misconceptions students held. For example, many struggled to differentiate between combinational and sequential circuits, which are fundamental to designing finite state machines. By systematically analyzing these misconceptions, we were able to suggest targeted interventions, such as problem-based learning activities and real-world examples, to bridge these gaps.

A Personal Milestone

This project was my first-ever research grant as a lead investigator at UMP. It was both exciting and daunting to take on the responsibility of guiding a team, managing timelines, and delivering meaningful outcomes. However, the experience was deeply rewarding. It not only sharpened my research skills but also opened the door to further opportunities in engineering education.

Being part of academia, I believe it’s essential to constantly revisit our teaching techniques, curriculum, and pedagogical strategies. While research in one’s field of interest is vital, equally important is the pursuit of improving how we teach and how students learn. This project cemented my belief in the importance of combining research with pedagogical development to create an enriching educational experience for both undergraduate and postgraduate students.

#note

Since this initial project, I have been fortunate to delve deeper into engineering education. The insights gained have shaped subsequent research endeavors and collaborations. My focus now extends to incorporating innovative teaching tools and methods, such as project-based learning, active learning strategies, and the integration of emerging technologies like artificial intelligence into engineering education.

As I continue to grow in my academic journey, I am committed to bringing the best pedagogical practices to my classrooms and research projects. Education is not static—it evolves with time, technology, and the needs of students. My goal is to contribute meaningfully to this evolution, ensuring that every student I teach or mentor has a transformative learning experience.

Leading this research project was a turning point for me. It taught me that understanding students’ learning processes is just as important as mastering the technical content we teach. By identifying and addressing misconceptions, we can pave the way for a more profound understanding of engineering principles, equipping students with the skills and knowledge they need to excel.

thank you – all the students who were involved in the subjects I taught during throughout my years in KUKTEM/ UMP / UMPA. Your curiosity, questions, and willingness to engage with challenging topics not only made this research possible but also taught me invaluable lessons. I have learned so much from each of you, and I carry those lessons with me as I continue my journey as an educator and researcher.

Wherever you are now, I wish you the very best in your endeavors and hope you continue to excel and inspire others =)