Comments (7)
From [email protected] on April 03, 2011 09:22:32
New processing area code is passing all previous unit tests for default behaviour (world coords == image coords) and the first basic tests for working with coordinate transforms.
Added a new interface CoordinateTransform (in the runtime package) with a single method:
Point worldToImage(double x, double y, Point p)
Also added two implementing classes: IdentityCoordinateTransform and AffineCoordinateTransform, plus a utility class CoordinateTransforms.
See the javadocs and the WorldCoordsTest class for how these are used together with the new runtime methods for associating a transform with a source or destination image.
Also added two new functions to the Jiffle language: xstep() which returns pixel width in world units and ystep() which returns pixel height in world units.
Committed to 0.1.x branch (r1611) and trunk (r1612)
from jiffle.
From [email protected] on April 03, 2011 09:41:38
Bah - build is broken because I forgot to update the jiffle demo module. Also seem to be a couple of bugs running the demos.
from jiffle.
From [email protected] on April 03, 2011 12:10:11
Demo programs all working now and JiffleOpImage updated for new runtime API.
Will add more unit tests tomorrow and if all goes well, do the release the day after.
from jiffle.
From [email protected] on April 04, 2011 09:37:38
More code and tests committed: 0.1.x branch (r1616) and trunk (r1617)
from jiffle.
From [email protected] on April 04, 2011 12:00:06
Fixing up the method names a little...
Renaming the Jiffle functions xstep and ystep to xres and yres, because of mapcalc familiarity and also because I find myself talking about "resolution" all the time while writing the user guide.
Renaming JiffleRuntime.setWorldByStepDistance to setWorldByResolution
Renaming JiffleRuntime.setWorldByNumSteps to setWorldByNumPixels
Both of these seem more obvious.
Committed to trunk (r1620) and 0.1.x (r1621)
from jiffle.
From [email protected] on April 05, 2011 03:44:30
Made it mandatory to set the world bounds and resolution BEFORE adding any images with transforms or setting a default transform. An exception is thrown on failing to set the world first. Added tests for this.
trunk (r1627) and 0.1.x branch (r1628)
from jiffle.
From [email protected] on April 05, 2011 07:10:22
Added more unit tests to WorldCoordsTest class plus CoordinateTransformTest class. All passing, so closing this issue now and will deal with further items as separate issues.
This stage was trunk (r1633) and 0.1.x branch (r1634)
from jiffle.
Related Issues (20)
- Replace usages of DoubleComparison with CompareOp HOT 1
- Allow Jiffle runtime objects to be passed to Jiffle executor HOT 1
- Add image scope vars to JiffleExecutorResult HOT 2
- A few more JiffleBuilder methods HOT 1
- scriptInDocs option not working with Jiffle.getRuntimeSource HOT 1
- Add Jiffle.getRuntimeSource method with no RuntimeModel arg HOT 2
- Only submit runtime objects to JiffleExecutor HOT 1
- Add support for CoordinateTransforms to JiffleBuilder HOT 1
- Add getVarNames function to JiffleRuntime HOT 1
- Add seq function
- Add rep function
- Allow for Y-Axis direction in CoordinateTransform HOT 1
- Update trunk for new jai-tools versioning HOT 1
- Switching to BSD licence HOT 1
- New groupId and root package name HOT 1
- Have Jiffle trunk depend on JAITools 1.2 HOT 1
- New stable branch to replace releases branch HOT 1
- Port Jiffle compiler to ANTLR version 4 HOT 2
- Intermittent problem in server deployment "Image has been garbage collected" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jiffle.