help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Collection of images and their indexing and transformation


From: Nicholas Jankowski
Subject: Re: Collection of images and their indexing and transformation
Date: Sun, 6 Dec 2015 08:47:05 -0500


On Dec 6, 2015 2:37 AM, "Jonathan Camilleri" <address@hidden> wrote:
>
> I have this pseudo code in mind, is this possible in Octave?
>
> for (image i in Image Collection)
> {
>     transformimage(i) % see https://en.wikipedia.org/wiki/Transformation_matrix.
> }
>
> I would like to use filters such as an image editing software would do, and, indexing for emulating computer vision (see http://szeliski.org/Book/).

Assuming its just a group of image files in a folder, it looks like all you need is a for loop operating cover all of the files or file names and whatever image processing function you want sitting inside the for loop operating on that file. That is well within the capabilities of octave. There are a number of image processing functions already implemented in the image processing package. These may give you a starting point for your actual processing function.

For the iteration or looping, you just need to find your preferred method for moving through all of the files. Depending on how you named them this could just be sequential and/or numerical iteration. Or I believe there are ways to return a list of files in a folder and you could iterate over that list. I don't have it in front of me right now but I believe there is a section at the beginning of the octave manual on functions for file and folder actions.

Nick J


reply via email to

[Prev in Thread] Current Thread [Next in Thread]