patchGNU Octave - Patches: patch #9509, [octave forge] (image) simple...


patch #9509: [octave forge] (image) simple implementation of roipoly function

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:  -email is unavailable-
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 02 Dec 2017 05:25:54 AM UTC, original submission:  

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.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #42550:  roipoly.m added by None (2KiB - text/x-objcsrc)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2019-03-07 mtmiller SummaryImage package: simple implementation of roipoly function => [octave forge] (image) simple implementation of roipoly function
2017-12-02 None Attached File- => Added roipoly.m, #42550

Back to the top

Powered by Savane 3.5