Ciao Andrea, I would suggest going for perceptual diff, the problem you have identified (similarity in images) is an hard problem to solve per se and I am worried by the fact that we might be introducing too much complexity for performing this test, at least unless we find something java-based that we know it works reasonably already and requires zero coding.
Regards, Simone Giannecchini ------------------------------------------------------- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/simonegiannecchini http://twitter.com/simogeo ------------------------------------------------------- On Sun, Mar 27, 2011 at 10:38 AM, Michael Bedward <michael.bedw...@gmail.com> wrote: > Hi Andrea and Ian, > > I'm following this discussion with great interest. I've also fallen > prey to the difficulty of pixel by pixel comparison across different > platforms in the past. > > I'm afraid I don't have any independent suggestions but I'd certainly > support using a tool like PerceptualDiff regardless of it only being > possible for a subset of platforms / contexts. Meanwhile, I'll read > the docs and the JIP Cookbook page. > > Michael > > > On 27 March 2011 07:32, Andrea Aime <andrea.a...@geo-solutions.it> wrote: >> On Sat, Mar 26, 2011 at 9:18 PM, Andrea Aime >> <andrea.a...@geo-solutions.it> wrote: >>> I think a reasonable way forward could be to start using perceptual diff, >>> but encapsulate its usage in a java wrapper that could be evolved >>> in portable java code if anybody finds the time to do it. >>> But in the meantime we'd at least get some decent testing on machines >>> that do have perceptual diff available... >> >> Ah, found this one (again, looked at it in the past too): >> >> http://www.lac.inpe.br/JIPCookbook/6050-howto-compareimages.jsp >> >> Now... what that algorithm is doing is probably quite a bit over the board. >> If for example the only change is the zoom level I don't want the algorithm >> to tell me the images are similar enough... >> I just want the tool to tell me if a human would spot a difference... >> >> My concern is would be moving from the past tool that required the >> two images to be pixel by pixel identical, which failed, to one that would >> not spot obvious differences... which would also fail >> >> Cheers >> Andrea >> >> -- >> ------------------------------------------------------- >> Ing. Andrea Aime >> GeoSolutions S.A.S. >> Tech lead >> >> Via Poggio alle Viti 1187 >> 55054 Massarosa (LU) >> Italy >> >> phone: +39 0584 962313 >> fax: +39 0584 962313 >> mob: +39 333 8128928 >> >> http://www.geo-solutions.it >> http://geo-solutions.blogspot.com/ >> http://www.youtube.com/user/GeoSolutionsIT >> http://www.linkedin.com/in/andreaaime >> http://twitter.com/geowolf >> >> ------------------------------------------------------- >> >> ------------------------------------------------------------------------------ >> Enable your software for Intel(R) Active Management Technology to meet the >> growing manageability and security demands of your customers. Businesses >> are taking advantage of Intel(R) vPro (TM) technology - will your software >> be a part of the solution? Download the Intel(R) Manageability Checker >> today! http://p.sf.net/sfu/intel-dev2devmar >> _______________________________________________ >> Geotools-devel mailing list >> Geotools-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geotools-devel >> > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Geotools-devel mailing list > Geotools-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel > ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel