This update contains changes in a few different categories:
Image Alogrithms added:
There are multiple image algorithms now added to cscore by different people, a few simpler ones like resizing, cropping etc all in pure C# but also a few more complex ones around image diffing (to get rid of the Image Magic library dependency long term) and also a ported global alpha matting algorithm to cut our objects from their image background.
- 4e95e20 Added Methods to Flip Images Horizontally and Vartically
- Added image algorithms such as GuidedFilter, BoxFilter, Global Alpha Matting
- d69e935 added dilate and erode to filter class
- aa0b146 Added simple ImageCompare method, which compares the color of each pixel with a ColorLoad function of an ImageResult class
- cc5b113 Included the StbImageWriteSharp library (for the lib to work we had to change the solution to allow unsafe classes). Fixed the TestImageCompare method to output the result image in the temporary folder.
- c6716af Added MeanSquare Error measure for distortion in ImageCompare method. Created CompareResult class for structured return in ImageCompare. Changed the test to work with new CompareResult class. The resulting picture now changes the red value of a picture depending on the distortion. There is a value on how strongly the output red will show the differences (maybe put it as input in the ImageCompare method for flexible use.
Other relevant changes:
Other changes relate to the ESC system, a few new Unity UIs (including generic graphics settings), support for Unity Text Mesh Pro, OpenAI improvements.
- OpenAI method improvements
- 7714e91 Issue#109: CSVtoJson conversion test done
- 0a2db1e feat: Introduced new logic for CsvParser
- e4cfa00 Added Mat class tests and extended functionability
- 9780d4a Smaller fixes while running the xunit tests in Unity
- 059f439 Since there is a lot of weather APIs that are not working rewrote the logic to skip these to instead check if they are still not working and failing once they are back online
- b3ce067 Bugfix/revert of recent change to not do generic head requests for pinging in webgl since in the browser this will typically fail due to CORS prevention
- e5d98de Improved the XUnitTestRunner to automatically move the tests in a useful order for regular test execution
- f30c305 Switch to player prefs based key value store in xunittest runner ui
- 2a9d28e Added a helper class that collects the local network IPs
- 5fb1062 Added method to access underlying full IP address object
- c5d01b0 Unity dialogs now throw explicit errors if their show methods are triggered while not in play mode
- 74270f4 refactor(OpenAiTest): exampleUsage 6 comments
- 8e4eba5 chore: Add links to openai documentation for audio class
- acac05d Extended API to show a model in a view via a presenter
- 19f0b35 TMP Dropdowns are now also have the common extension methods
- c075741 Prepared an JSON schema UI generator annotation to combine multiple fields into a single generated dropdown UI element
- 0cea41c Now copy and paste rect transform values is in the context menu of the transform (when right clicking on it)
- 445b773 Added more TextMesh Pro based versions of the UI prefabs
- 59f3203 Some assertions added for view stack logic
- 362d85b GraphicsSettings UX added that can be used generically in and game
- 3ac9ea7 Added physics to graphics settings scene
- c3b857c Some improvements to the power consumption reducer logic to generate good default curves
- 6a41c7f Separated generic settings ui prefab from variant that is for graphics settings
- 0466466 Refactorings to make settings ui also reusable for other settings
- 53a8d4e Smaller improvements to runtime logging console
- 17aaf22 Added some addition thread sync lock for the zip file based key value store
- 0c6700f Added logic in Theme class to not constantly do ui element color updates by default during runtime since normally that is not needed
- f5aba0c https://wttr.in/ seams to be working again
- 4b9664c Added another short example how to use the Dall E API to generate multiple images in parallel
- 5e7be9f Changed CreateJsonInstructions() in ChatGptExtensions to allow giving multiple examples for a json response
- 7866bc9 added helper method to determine if the entity is active in the entire hirarchy or just its own active flag is true
- 18ae2f9 added parallel matrix multiplication and addition with operator overloading
- 2610f9e Added a few helper methods for generating valid google maps links from GPS coordinates
- 9ab6ae3 Changed CreateJsonInstructions() to throw an InvalidOperationException when it's been called without examples. Removed redundant check for empty example array later on in function.
- 3d17731 Added a Unity specific version of ThrowErrorIfNullOrDestroyed for Unity objects that also provides better context where the error happened
- 4217351 Improvements to naming of math that converts between global and local ecs poses
- 989bddf Made loading of entities from disk in the TemplateIO system explicit and side-effect free
- 01110dc Introduced new versions of the MergeJson diffing methods that use the new JsonDiffPath.DiffV2 methods and deprecated the old ones
- 6e5ba94 Extended the ECS tests a bit to include example logic how to keep global pose of child when its moved to new parents
- 49c0281 Added a way for a component in an ECS entity to listen to changes of its entity
- f13099f Added an entity.TryGetComponents(out var compList) helper methods that returns multiple components of the specified type
- 70b2d9f Allow ecsEntity.GetComponent to also look for Interfaces etc by not enforcing that the returned type has to implement IComponentData
- fce1cf1 Added ToStringV2 helper methods for number formats to always return invariant consistent number formatting on any environment
- bbda9b7 Added new update type to be able to differentiate between template updates and normal ecs updates
- cecabaa Updated ChatGpt models to latest default ones
- efbfae4 Added a alternative real floodfill method that does not visit all pixels
- 8bbcc6b Improved default transparent (background) color value
All changes can be seen here:
v1.9.0...v1.10.0