Displaying Components from an RGB image

Questions and coding techniques using PiXCL 10
Post Reply
Posts: 10
Joined: Mon Jul 13, 2015 2:31 pm

Displaying Components from an RGB image

Post by StewD » Mon Sep 12, 2016 2:03 pm

On Linkedin Image Processing Group, Rakesh Singh (Assistant Professor at Punjabi University) posed this question, so this morning I ran up a test app to do it. The (simplified ) code does the following:
  • * DrawBitmap (x,y, BaseImage$) // RGB24
    * DuplicateImage // set of three, still RGB24
    * TuneImage // set unwanted channels to 0
    * DrawBitmap(x1,y1, RedImage$)
    * DrawBitmap(x2,y2, GreenImage$)
    * DrawBitmap(x3,y3, Bluemage$)
The test app produces the window below.

Contact us to get the sample app code.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest