[Top][All Lists]

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

[Octave-patch-tracker] [patch #9509] Image package: simple implementatio

From: anonymous
Subject: [Octave-patch-tracker] [patch #9509] Image package: simple implementation of roipoly function
Date: Sat, 2 Dec 2017 00:25:56 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0


                 Summary: Image package: simple implementation of roipoly
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 02 Dec 2017 05:25:54 AM UTC
                Category: Forge : new function
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: thibault.marin.gmx.com
             Open/Closed: Open
         Discussion Lock: Any



This is a first attempt at implementing the roipoly function.

The function works in two modes:
- When three arguments are passed (img, xv, yv), rasterize the polygon
  delimited by the (xv, yv) points into an image with the same
  dimensions as img.
- When a single argument is passed (img), display the image in a new
  figure and let the user interactively select the (xv, yv) coordinates
  before performing the rasterization.

The interactive GUI is currently extremely simple: left click to add a
point, middle click to suppress the last point and right click to
terminate the interactive session.


File Attachments:

Date: Sat 02 Dec 2017 05:25:54 AM UTC  Name: roipoly.m  Size: 2KiB   By: None



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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