I want to get Red,Blue and Green component image from an RGB image in opencv 2.3.I am using vc++ 2010.

Can anybody tell how to do this?


Question: Can't install Pantheon desktop environment
Answer: Okay I got build errors. Haven't got time to test it at the moment :(.

Also: "After this operation, 1779 MB of additional disk space will be used."
So make sure you have a few GB's set aside if you're going to do this.



Okay so I got it working by following this: How to install the Pantheon desktop environment? Basically the PPA everyone is suggesting works, is 404-ing for me (and presumably you) when I try and access it.

1) This is syslinux-themes-elementary-isis, and the .sh script apparently requires it. Sudo apt-get didn't find it for me. You could probably test removing this dependency from the .sh if you are feeling bold. I installed amd64 version of this (as I am on 64 bit, if you are on 32 bit obviously don't), just use a .deb installer on Ubuntu:

https://launchpad.net/~elementary-os/+archive/daily/+files/syslinux-themes-elementary-isis_2-0%7E4%7Esaucy1_amd64.deb


2) This is required by the elementary os install script:

sudo apt-get install dctrl-tools dpkg-dev 
    genisoimage gfxboot-theme-ubuntu live-build squashfs-tools syslinux zsync


3) The script uses this to determine what files to download (obviously don't do both, amd64 is for 64bit and i386 is for 32 bit) (you'll want to put this in .bashrc or somewhere else for it to be permanent, not 100% anyone will ever need this again though):

export ARCH=amd64
export ARCH=i386


4) From the previous question/answer thread:

sudo apt-get install bzr
bzr branch lp:elementaryos
cd elementaryos
sudo congrego.sh


On my machine I didn't specify $ARCH so I got 90% of the way through a 970 M .iso file for i386 before I realised -_-.

Currently running through the amd64 installation.



As an aside:

# load config
source etc/congrego.conf

if [[ "$ARCH" == "all" ]]; then
        $(dirname "$0")/bin/download.sh i386
        $(dirname "$0")/bin/download.sh amd64
        $(dirname "$0")/bin/build.sh i386
        $(dirname "$0")/bin/build.sh amd64
        if [[ "$SOURCEFORGE" != "" ]]; then
            $(dirname "$0")/bin/sourceforge.sh i386
            $(dirname "$0")/bin/sourceforge.sh amd64
        fi
else
        $(dirname "$0")/bin/download.sh "$ARCH"
        $(dirname "$0")/bin/build.sh "$ARCH"
        $(dirname "$0")/bin/sourceforge.sh "$ARCH"
fi


It is a bit presumptuous that users would have that environment variable set. Unless I am reading it wrong, it seems like it will download iso's for i386 AND amd64 and then build both of them, which sounds like a bad idea. I'm noob at bash script though so it could be fine for all I know.

Just in case this is irrelevant to your machine:

Linux mikeydesknix 3.11.0-19-generic #33-Ubuntu SMP Tue Mar 11 18:48:34 UTC 2014 
x86_64 x86_64 x86_64 GNU/Linux

[ mikey ][ 02:22:59 ]$lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 13.10
Release:    13.10
Codename:   saucy


--

Build Errors:

[2014-05-01 03:31:40] lb_chroot_hooks 
P: Begin executing hooks...
ERROR:root:DebFileApplication import
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/db/__init__.py", line 4, in &lt;module&gt;
    from debfile import DebFileApplication, DebFileOpenError
  File "/usr/share/software-center/softwarecenter/db/debfile.py", line 25, in &lt;module&gt;
    from softwarecenter.db.application import Application, AppDetails
  File "/usr/share/software-center/softwarecenter/db/application.py", line 28, in &lt;module&gt;
    import softwarecenter.distro
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 199, in &lt;module&gt;
    distro_instance = _get_distro()
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 174, in _get_distro
    module = __import__(distro_module_name, globals(), locals(), [], -1)
ImportError: No module named "elementary os"
Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 101, in &lt;module&gt;
    if not indexer.setupIndexing(force=opts.force, system=opts.pkgfile is None):
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 471, in setupIndexing
    self.plugins = Plugins(progress=self.progress, system=system)
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 94, in __init__
    addon = Addon(fullname, **kw)
  File "/usr/lib/python2.7/dist-packages/axi/indexer.py", line 49, in __init__
    self.module = imp.load_source("axi.plugin_" + self.name, fname)
  File "/usr/share/apt-xapian-index/plugins/software_center.py", line 13, in &lt;module&gt;
    from softwarecenter.db.update import (
  File "/usr/share/software-center/softwarecenter/db/update.py", line 33, in &lt;module&gt;
    from softwarecenter.backend.scagent import SoftwareCenterAgent
  File "/usr/share/software-center/softwarecenter/backend/scagent.py", line 28, in &lt;module&gt;
    from softwarecenter.distro import get_distro, get_current_arch
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 199, in &lt;module&gt;
    distro_instance = _get_distro()
  File "/usr/share/software-center/softwarecenter/distro/__init__.py", line 174, in _get_distro
    module = __import__(distro_module_name, globals(), locals(), [], -1)
ImportError: No module named "elementary os"
E: chroot/root/lb_chroot_hooks/002-update-apt-xapian-index.chroot failed (exit non-zero). You should check for errors.
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...
Reading state information...
md5sum: binary.hybrid.iso: No such file or directory