この記事について 今回は以下をやります。 OpenCVを使えるようなLinuxイメージを作る rootfsをSDカードに変更する JPEG画像をカラーからグレースケールに変換するアプリケーションを作る 本当は、OpenCV関数をハードウェア化してくれるxfOpenCVとかいうのをやりたかったのですが、上手くいかなかったです。今回はその途中経過ということで、まずはCPUコードでOpenCVを使う方法を本記事に記します。xfOpenCVを使うにはreVISIONとかにも手を出さないとダメっぽくて、まだまだハードルは高かったです。。。 本記事の内容は、SDSoCだけではなく、通常通りPetaLinuxでlinuxイメージを作って、Xilinx SDK(XSDK)でLinuxアプリケーションを開発するときにも使えます。 (1)standaloneプラットフォーム (2)Linuxプラットフォーム