Icon

01_​RGB_​Splitting

Application: RGB Splitting

This workflow shows how to split an RGB image into its three channels and perform calculations on them.

General InformationPress the green double arrow above to run the complete workflow. You may have to scroll down to seeall contents of this tutorial.Workflow Description:This workflow shows how to split an RGB image into its three channels and perform calculations onthem.After reading in the image, you can view its channels by Right Click >'View: Image Viewer' on the ImageReader Node and Click on the respective image cell in the opening table. You can then browse thedifferent channels by moving the 'Channel' slider in the upper right corner of the Image Viewer window.You can also view the entire RGB image by selecting 'RGB Image Renderer' in the 'Renderer Selection'on the right side of the Image Viewer window.Our read in image is three-dimensional with dimensions (X, Y, Channel). In order to split it along theChannel-dimension, we configure the Splitter Node in such a way that the (X, Y)-dimensions staytogether (Right Click > Configure... on the Splitter Node and see 'Dimension selection').We rename the resulting Channel-columns to make dealing with them more intuitive.Last, we perform some calculation on the image's channel data using the Image Calculator Node. Notethat image calculations may result in negatively valued results. This is why we use a signed output type.Hint:Channel layout and data type heavily depend on the read in image. Customize according to your need(e.g. to facilitate Alpha channel (i.e. four channels) or float types).Prerequisites:In order to understand this tutorial we suggest that you also look at the following:Basic Node TutorialsIf you need more information about other topics and more tutorials, see:http://tech.knime.org/community/image-processingIf you have any questions please contact us via our forum:http://tech.knime.org/forum/knime-image-processing/Workflow Requirements:KNIME 3.1.2KNIME Image Processing 1.4.2Workflow updated on 30/06/2016 Read RGB imageSplit the image into itsdifferent channelsRename channelcolumns tofriendly names= Red - Green(Output is ShortType) Image Reader Splitter Column Rename Image Calculator General InformationPress the green double arrow above to run the complete workflow. You may have to scroll down to seeall contents of this tutorial.Workflow Description:This workflow shows how to split an RGB image into its three channels and perform calculations onthem.After reading in the image, you can view its channels by Right Click >'View: Image Viewer' on the ImageReader Node and Click on the respective image cell in the opening table. You can then browse thedifferent channels by moving the 'Channel' slider in the upper right corner of the Image Viewer window.You can also view the entire RGB image by selecting 'RGB Image Renderer' in the 'Renderer Selection'on the right side of the Image Viewer window.Our read in image is three-dimensional with dimensions (X, Y, Channel). In order to split it along theChannel-dimension, we configure the Splitter Node in such a way that the (X, Y)-dimensions staytogether (Right Click > Configure... on the Splitter Node and see 'Dimension selection').We rename the resulting Channel-columns to make dealing with them more intuitive.Last, we perform some calculation on the image's channel data using the Image Calculator Node. Notethat image calculations may result in negatively valued results. This is why we use a signed output type.Hint:Channel layout and data type heavily depend on the read in image. Customize according to your need(e.g. to facilitate Alpha channel (i.e. four channels) or float types).Prerequisites:In order to understand this tutorial we suggest that you also look at the following:Basic Node TutorialsIf you need more information about other topics and more tutorials, see:http://tech.knime.org/community/image-processingIf you have any questions please contact us via our forum:http://tech.knime.org/forum/knime-image-processing/Workflow Requirements:KNIME 3.1.2KNIME Image Processing 1.4.2Workflow updated on 30/06/2016 Read RGB imageSplit the image into itsdifferent channelsRename channelcolumns tofriendly names= Red - Green(Output is ShortType) Image Reader Splitter Column Rename Image Calculator

Nodes

Extensions

Links