Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #8119 (new)

Opened 12 years ago

Last modified 8 years ago

ROI & ROI Shape upgrade

Reported by: jburel Owned by: jburel
Priority: minor Milestone: ROI
Component: General Version: n.a.
Keywords: n.a. Cc: ajpatterson, jamoore, wmoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Indicate how to update: polygon, polyline etc.

Attachments (1)

font-mapping.txt (2.5 KB) - added by jburel 12 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 Changed 12 years ago by jburel

  • Cc wmoore added

Polygon, polyline:


  • We currently have saved for points a string: points[x1,y1 x2,y2] points1[x1,y1 x2,y2] points2[x1,y1 x2,y2] mask[v1, v2]
  • This should be replaced by x1,y1 x2,y2 i.e. extract the content of points[x1,y1 x2,y2]

Shape settings:


During 4.3, we did a lazy upgrade

  • fontWeight value was merged into fontStyle e.g. if one was Bold and the other Italic, the result is BoldItalic.
    • The supported values are Normal, Bold, Italic, BoldItalic, the default being Normal.
  • fontFamily
    • The supported values are serif, sans-serif, cursive, fantasy, monospace, the default being sans-serif. The attachment indicates how to convert the value during the upgrade.
Last edited 12 years ago by jburel (previous) (diff)

Changed 12 years ago by jburel

comment:2 Changed 12 years ago by jburel

  • Summary changed from Roi Shape upgrade to ROI & ROI Shape upgrade

ROI


  • Remove "workflow" ns if set

comment:3 Changed 12 years ago by jburel

ROI Shape transform:


The matrix transform is defined as below

|m00 m01 m02|
|m10 m11 m12|
|0   0   1  |

Let's use the flat matrix [m00 m10 m01 m11 m02 m12] to store the data

  • rotate i.e.rotate(value, x, y) is found in DB becomes
    v = value*Math.PI/180 
    [cos(v) sin(v) -sin(v) cos(v) x*Math.PI/180 y*Math.PI/180]
    
  • translate i.e translate(x, y)
    [1 0 0 1 x y]
    
  • scale i.e. scale(x, y)
    [x 0 0 y 0 0]
    
  • skewX i.e. skewX(x)
    [1, 0, Math.tan(x*Math.PI/180), 1, 0, 0]
    
  • skewY i.e. skewY(y)
    [1, Math.tan(angle * Math.PI / 180), 0, 1, 0, 0]
    
  • matrix Nothing to do.
Version 1, edited 12 years ago by jburel (previous) (next) (diff)

comment:4 Changed 12 years ago by jburel

  • Sprint changed from 2012-03-13 (10) to 2012-03-27 (11)

Moved from sprint 2012-03-13 (10)

comment:5 Changed 12 years ago by jburel

  • Sprint 2012-03-27 (11) deleted

comment:6 Changed 12 years ago by jburel

Some db upgrade will be part of 4.4. Ticket to be broken up

comment:7 Changed 12 years ago by jburel

Referencing ticket #8084 has changed sprint.

comment:8 Changed 12 years ago by jmoore

  • Owner set to jburel

Is this now part of 4.5, J-M?

comment:9 Changed 12 years ago by jburel

  • Milestone changed from OMERO-Beta4.4 to OMERO-Beta4.5

This is part of 4.5, I will review the current changes for points.

comment:10 Changed 11 years ago by ajpatterson

Referencing ticket #8084 has changed sprint.

comment:11 Changed 8 years ago by jamoore

  • Milestone changed from 5.x to ROI

comment:12 Changed 8 years ago by jamoore

Referencing ticket #8084 has changed sprint.

comment:13 Changed 8 years ago by jamoore

Referencing ticket #8084 has changed sprint.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.68472 sec.)

We're Hiring!