q121212 / imageneuralnet Goto Github PK
View Code? Open in Web Editor NEWNeuralNet for transform images + own Image bitmap file format (in progress)
NeuralNet for transform images + own Image bitmap file format (in progress)
Number of .iff files on my laptop has become so big that I start think - create app for views/create and save this files (and, also, for creating thumbnails in folderы with this files) - it is a worthy goal!
My first attempts to implement extracting an primitive elements from .iff image looks so specific, and it's a really bad! I think about more abstract extracting methods. A kind of prototype for this task I learned from studying contemporary methods, used for image resizing. I'm going to use sort of "movable window". This window will move within the image and during this movement will be searched primitives.
This method looks more abstract, because it isn't looks like connected with different characteristics of primitive, exclude width and height of primitive.
In the future, this method could be used to search for a group of related primitives.
Currently (ver. 2ca9095), NN implementation is on the level when understanding of NN is more like multistage regression or multistage calculations, but its a wrong!
Need to review this approach and transform this one to more complex/self-sustained/self-dependent perspective.
For example, I extracted some corners from every image, and, I think - the next step - from this extracted corners extract something else. But it's just multistage extraction and sequential calculations.
Current a image file format structure is a very simple Python's two-dimensional list, as: [[0,1,0][1,1,1]]...
But when I save an image to file, its structure is simplified to 0 and 1 sequence and for extracting image file structure I need to know the width of image.
This problem leads to the need define width of image explicitly.
And a good idea is to have and storing in a image file some appropriate data, for example, image width.
For solve this problem need to create a container method. This method must be able to locate the necessary information in a desired part of the file. Another method - should be able to to extract from the file necessary piece of data.
In case if storing metadata of image in initial part of the file: it will be necessary calculate size of metadata and also - separate metadata from the image.
And, in this case, it will be necessary to revise and rewrite already written methods that work with files.
For current version of Project we have the next methods:
Key methods:
Methods w/o metadata:
Need to modified/rewrite the next methods:
Pursuing the goal - to switch to the new image file structure I tought that it's necessary to write some methods, but the correletions between methods working with old image file structure and methods working with new image file structure shows that all theold methods have their new counterparts/equivalents:
The next iterations of the Image File Format (IFF) Structure developing suggests the next steps:
New image structure:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.