Image search by color

Hi there,
I see on the net some neat image search sites that can search by color.
Like:http://labs.ideeinc.com/multicolr/#colors=d73224;
My question;
- How does this work?
- Can this be done in actionscript? (Flex or air)
- What do i need for this to work?
for example i have a directory on my server with a lot of images in it.
Now i want to use the neat color search to get me only the images with lets say the color red in it.
Please let me know what's the best way to acheive this.
Greets, J.

Hi, thank you for your post Matt.
If i have a correct understanding of your answer you would do something like this:
- Read image bitmapdata and calculate how much red, green and blue is in the image.
- store the percentages of red green and blue in the database for reference.
Should I also store the percentages of H, L and S ?
I found H,L and S in the below example of an advanced color picker.. i don't know yet what H,L and S means and what you can do with it..
http://www.sephiroth.it/test/flex/2/scolorpicker/index.html
I am also saving user input on the image..(What color the item on the picture has. 6 different colors by a color picker)
So when the user does a search by color, the script searches the percentage of used color in the picture and then the given color.
This way I don't get pictures of lets say flowers that does not exist in that color.
Would this be the correct way of handling a color search, or would you prefer another/better way?
How would you deal with color ranges?... when is the color still red and not brown or orange?
Greets, J.

Similar Messages

  • Safari 6 "Images" search results don't show digital storage size info anymore - Fix?

    I've now noticed, finally using Safari 6 more often now .... that when doing a google subject search (and selecting the "images" results versus the "search" results at the top header bar of Safari), that Safari 6 now only shows a huge listing the images themselves. If you slide your cursor over any of the images, a small black highlight bar appears under the image and shows its pixel dimensions  (as in 000 x 000 pixel dimentional size), but Safari 6 shows no digital size info of the image in kb's (kilobites) or posibly MB's (megebites) .... like it used to in the past.
    On previous Safari google "image" search results you saw the images, along with their pixel dimentional size (000 x 000) and their storage size ( 00kb / 00MB) listed in small text under the image.
    Is there any way to set Safari to show not only the "images" dimensions (which it now does), but also to show the images over all storge size?
    I know if you use the additional "search tools" selection text, that a sub set of selector menus appears, listing "any size", "any color", Any type" Any time" All results" .... but none of these will set "images" storage sizes (kb, MB, etc.).  Even using a "larger size" only selection setting doesn't always guarantee that a larger size only seach results will be of larger pixel quality.
    I often use Safari and google to find "comp" art images, etc. for rough art placement on projects, and it's now almost impossible to search through Safari's google "images" results without knowing what "quality size" the image can be found at.
    Any thoughts on this fix?

    Actually, as I forgot to mention .... is this above issue a Safari 6 or Google search result issue? I'm starting to think that it may be Google's "images" results that don't show the images storage size anymore, and possibly not Safari's problem.
    Either way, is there any fix to this issue ... a plug-in, etc.?

  • Web of Trust no longer working with google and bing image searches

    Hello All,
    I have searched and searched but have not found an answer that matches my specifics. Any help would be appreciated.
    I used to be able to do this but now I can no longer search and browse images on google or bing image search and have Web of Trust function. Here is how I am going about it.
    What I use:
    DuckDuckGo's annoymous google or bing image search link when I enter querries. Also, searching directly from Google's or Bing's image search page doesn't work with WOT anymore either.
    Firefox 23.0.1
    The following add-on's:
    Add-block plus 2.3.2
    BetterPrivacy 1.68
    Flagfox 4.2.12
    Ghostery 5.0.4
    Google/Yandex search link fix 1.4.1
    No Script 2.6.7.1
    Web of Trust 20130515
    If anyone has a fix for this please let me know.

    I guess what I learned is that sometimes the best solution is to do nothing and wait for the problem to solve itself! Funny, this has never worked for me before.
    WOT is now working for me but often for only the first few rows of images. That's cool that it is also working with bing images.
    Boudica, thanks for understanding. I am new contributor/ question-asker here on mozilla and may not understand how things are done. I was just frustrated, getting an email saying that my question was answered, logging in to find that it wasn't.
    Now we have the functionality that we wanted, right?

  • Using PHP to generate images in alternate colors

    I have a PNG image of a black silhouette graphic with
    softened edges against a transparent background.
    Can I use PHP to generate this image in alternate colors
    (allowing the black graphic to be displayed in a color other than
    black)?

    AngryCloud posted in macromedia.dreamweaver:
    > I have a PNG image of a black silhouette graphic with
    softened
    > edges against a transparent background.
    >
    > Can I use PHP to generate this image in alternate colors
    > (allowing the black graphic to be displayed in a color
    other than
    > black)?
    I have no experience with this, but I was just poking around
    in the GD
    references and found a comment on imagefill() that might
    help:
    http://us.php.net/manual/en/function.imagefill.php
    Comment:
    http://us.php.net/manual/en/function.imagefill.php#81873
    Or you may need to work with some of the other alpha
    functions.
    Mark A. Boyd
    Keep-On-Learnin' :)

  • Why do i get grey boxes from page two onwards on google image searches on my macbook pro

    Does anyone with the Macbook Pro Model 7.1 OS X Version 10.6.7 have the following problem. When I do an image search in google only the first page of images is displayed and the following pages only show grey boxes.
    I have recently been to Australia and had my Macbook with me used my friends wireless connection and everything worked perfectly, come back to the UK and same problem.
    (1) Is this a router problem? (2) How do I fix it if it is?
    InNever had this problem when using a Windows OS Laptop.

    No mention of which browser you are using so I'll assume it's Safari.
    When I do an image search in google only the first page of images is displayed and the following pages only show grey boxes.
    From your Safari menu bar click Safari / Preferences then select the Appearance tab. Make sure: Display images when the page opens is selected.
    If the box was already checked, from the menu bar again click Safari / Reset Safari. Select the top 7 buttons, click Reset. Quit then relaunch Safari to see if that makes a difference.

  • Access image size and color profile

    Hi all,
    Is it possible to access image size and color profile ? If not, will it be possible in CS6 ?
    Thanks.

    Load the external XMP library and get it from that?

  • Low resolution of Google Image Search results in Firefox Android

    I'm new to Android, and I've noticed that Firefox brings up lower resolution Google Image search results in comparison to the same image search on Chrome for Android. When I click on an image result in Firefox it gives me the option of going through a low resolution slide show of all the image results, or clicking to see a single full size image. But that takes me out of the slide show, and then I have to backtrack to continue on with the low resolution slide show.
    Chrome allows you to see the full resolution images within a slide show, allowing you to swipe from one full res image to the next.
    Is there a way to get a slide show of the full size image results in Firefox Android without having to jump through all the hoops to see the full size images?
    So far this is the only drawback I've seen with Firefox Android. I would much rather use it vs. Chrome because of Firefox's ability to use plug ins, especially adblock plus.

    Perhaps I didn't write my post clearly enough. A Google image search on Chrome produces image results (via slideshow) of superior quality than an identical slideshow on Firefox. Your answer implies that Google sends higher resolution images to Chrome than it does to Firefox. I find that hard to believe.
    Chrome apparently renders its Google image search slideshows using full size images, while Firefox does not. Rather than providing the full size images within a slideshow, Firefox seems to use lower resolution thumbnails, then forces you to click on a "Full-size image" button for each image that you want to see clearly. I was hoping there was a way around that.
    My original question was if there was a way to increase the quality of the slideshow results in Firefox so you don't have to click on the image to open it up at full res., then backtrack to get back into the slideshow, then do the same thing all over again for each and every image you want to see clearly in full size. On Firefox you have to do all these extra steps that you don't have to do in Chrome. So, based on the answers so far I guess I guess that's just the way it is and there's no way around it.

  • Check image resolution and color

    Please let me know whether it is possible to get the image resolution and color used in a eps file.
    regards,
    Sashi

    You can specify the resolution for exporting, for document etc but resolution of the raster objects can not be retrieved.
    Color space of the raster object can be retrieved using the rasterItems : colorants or imageColorSpace properties  

  • Help with removing images from Google image searches with Dreamweaver

    I made a sight in dreamweaver, and need to remove a page from that website with some old images. So I removed the link and moved the webpage from the root folder. And If I go into dreamweaver the page is blank showing the image has been removed.
    But the images are still showing up in google image searches even though I removed them in dreamweaver and re-uploaded the sight successfully. How do I remove them form the internet completely so they no longer show up in google images??

    Ben Pleysier wrote:
    Be patient!
    For about 7 years!!!!!!!!!!!
    Once something is on the Internet, it remains so.  That is why people (mainly children) are always advised not to post anything that they may come to regret in a few years time when you are looking for jobs and your potential employer does a background search on you.

  • IWeb images not showing on google image search

    I've created an iWeb website but can't find any of my images on google image search, although the site appears on web search. I've created new sitemaps 4 days ago, tagged the images with iWeb SEO... I've made two separate pages of images only, not the photo album pages which I think are difficult to search / tag.
    Does anyone know how long it takes Google image search to list your images. It already has listed my website on web / text search for sometime.

    Mia12 wrote:
    ...the site appears on web search.
    Do sub-pages of your site appear? I'm wondering whether your images aren't being found because the sub-pages in which they reside are not being found...
    One of the biggest problems with iWeb is the way it creates your navigation bars. Instead of using standard HTML which search engines can use to correctly find all files on your website, it uses Javascript which makes it extremely hard for search engines to scan and index your website properly.
    ...Quoted from this article:
    _How to get your iWeb Websites into Google & Other Major Search Engines_
    See also:
    http://www.iwebformusicians.com/SearchEngines/SEO.html

  • Google Image Search Does Not Load, Among Other Websites

    I think this problem started a little bit after I upgraded to Leopard. I thought it was a problem with the wireless network I was using, but that wasn't it. I connected directly to my modem via ethernet cable, but to no avail. The problem also persists when I connect to my own home network through the Airport Extreme.
    My Google Image Search usually yields such results:
    http://img231.imageshack.us/my.php?image=picture1qs8.png
    Another webpage that I cannot load is deviantART. Sometimes I can get through with NoScript on, but even so the website layout doesn't load correctly.
    Pages that don't even load and result in a timeout are manga.clone-army.org and megatokyo.com.
    I can access these sites through a tunnel. I am using Firefox 2.0.0.16, but Safari is not able to load these pages either. I know that other computers, both Mac and PC are able to load the pages I cannot.
    Any help?

    Here's some tweaks that should speed up Firefox for you:
    Type about:config into firefox's address bar, hit return you will see all the current settings
    Scroll down to "network.http.pipelining" then ctrl-click on it and select "Toggle" to make it True
    Scroll down to "network.http.proxy.pipelining" then ctrl-click on it and select "Toggle" to make it True
    Scroll down to “network.http.pipelining.maxrequests” then ctrl-click on it and select Modify and enter 30
    Then you need to add in a variable to the list, ctrl-click and select "New Integer". A menu will popup asking for you to enter the name of this integer. Enter "nglayout.initialpaint.delay" and set its value to "0".
    Close the config window and try loading the problem URL again.

  • How do I do a reverse image search on my ipad 4

    Hey anyone out there who can help,,,I'm trying to find a way to do a reverse image search on my ipad , but there seems to be no camera icon like I have seen suggested in previous searches...is there a option to turn this icon on ...or an extra app I need to get ,like google+,...thank you for your time answering this for me

    Confusedinpa wrote:
    I can't make the Google reverse image search work on my ipad. But you can download a free app called UNRAVL. Good luck.
    Thanks but I don't know what a "reverse image search" is let alone have any interest in doing one. And, I would hope that, after a year the OP has resolved their issue.

  • Cover flow is no longer images; just a color grid, can't correct, need help..thanks

    cover flow (artwork) is no longer images just a color grid, can't correct, need help...Thanks

    Do a factory reset .. nothing will be deleted from your backups and you will be able to get access to them again.
    The Factory Reset Gen1-4.
    Unplug your TC. Hold in reset. and power the TC back on.. without releasing reset for about 10sec. When the status light flashes rapidly; release it.
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC will reboot after a couple of minutes with default factory settings and will wipe out previous configurations.
    No files are deleted on the hard disk.. No reset of the TC deletes files.. to do that you use erase from the airport utility.

  • Google Image Search Results

    Hey, I'm trying to get started pulling google image search
    results into a flash document so that I can start animating them
    with actionscript. Does anyone know of a good tutorial or sample
    for this? I'm working on it by just diving into the code, but the
    javascript and the google api are a little over my head. thanks.
    I'm working in as 2.0

    Hi cwallentin,
    Thank you for your patience. I did some checking and this is what I’ve found out. The Google search capabilities built into the app use the native Google strict filtering for legal reasons and to maintain the app content rating “Everyone”. This in combination with only showing images marked as available for “commercial reuse” will limit your results with certain searches.
    -Dave

  • Having images cycle through colors

    Hey guys im currently creating a puyo puyo game and i was wondering for instance say when my puyos touch the bottom boundary and the next two puyo images load how would i have them be different colors? Or if every time i load my J Frame the images are random colors. I want to make the colors that puyos can be limited to red,green,blue, and yellow and cycle through the colors randomly creating different color combination's based on the specified amount of colors. Hope this makes sense here is what i have so far within my animation class i appreciate any help.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*; 
    import javax.swing.event.*;
    import java.util.Random;
    public class PuyoAnimation extends JPanel {
      public static final int numDroppingPuyos=2;
        /**ball color enumerate: Red*/
        public static final int puyoRed=1;
        /**ball color enumerate: Green*/
        public static final int puyoGreen=2;
        /**ball color enumerate: Blue*/
        public static final int puyoBlue=3;
        /**ball color enumerate: Yellow*/
        public static final int puyoYellow=4;
      final int board_height = 6;
      final int board_width = 12;
      final int rightBoundary = 30;
      final int leftBoundary = 130;
      final int image_height= 32;
      final int image_width = 32;
      final int MAX_X = board_height*image_height;
      final int MAX_Y = board_width*image_height;
      private static final int DELTA_Y = 2;
      private static final int TIMER_DELAY = 20;
      Image images[];
      Timer pptimer;
      Random rand;
      boolean keyRight,keyLeft,keyUp;
      int X;
      int X2 = 30;
      int y;
         public PuyoAnimation() {
         super();
         images = new Image[4];
         images[0] = Toolkit.getDefaultToolkit().getImage("puyo_yellow.png");
         images[1] = Toolkit.getDefaultToolkit().getImage("puyo_blue.png");
         images[2] = Toolkit.getDefaultToolkit().getImage("puyo_green.png");
         images[3] = Toolkit.getDefaultToolkit().getImage("puyo_red.png");
         setFocusable(true);
         PuyoMove puyo_move = new PuyoMove(); // Make a new video game KeyListener
         addKeyListener(puyo_move);
         setBackground(Color.BLACK);
          rand = new Random();
          pptimer = new Timer(TIMER_DELAY, new TimerAction());
          pptimer.start();
         public void setAnimation(boolean OnandOff){
            if (OnandOff) {
                pptimer.start(); 
            } else {
                pptimer.stop(); 
         private int color2ImageIndex(int color){
          return color-1;
        public void puyoBoundsRight(){
        if ((X > rightBoundary) || (X2 > rightBoundary)){
        X -= 5;
        X2 -= 5;
        public void puyoBoundsLeft(){
        if ((X < leftBoundary) || (X2 < leftBoundary)){
        X += 5;
        X2 += 5;
       private class PuyoMove implements KeyListener {
         public void keyTyped(KeyEvent k){}
          public void keyPressed(KeyEvent k){
            switch (k.getKeyCode()){
              case KeyEvent.VK_LEFT:
                   keyLeft = true;
                   break;
              case KeyEvent.VK_RIGHT:
                   keyRight = true;
                   break;
         public void  keyReleased(KeyEvent k) {
            switch (k.getKeyCode()){
            case KeyEvent.VK_LEFT:
                 keyLeft = false;
                 break;
            case KeyEvent.VK_RIGHT:
                 keyRight = false;
                 break;
            public void paintComponent(Graphics g){
             super.paintComponent(g); 
            g.drawImage(images[0],X,y,this);
            g.drawImage(images[1],X2,y,this);
            class TimerAction implements ActionListener {
            public void actionPerformed(ActionEvent e) {
             Color c = new Color(rand.nextInt(4) + 1);
               if (keyLeft){
                puyoBoundsRight();
               else if (keyRight) { 
                puyoBoundsLeft();
                y += DELTA_Y;
            if (y + image_width  >= MAX_Y){
           setAnimation(false);
                repaint();
       }

    Hey morgalr sorry to bother you again i tried what you suggested and after compiling i received an error stating that there was an IOException i fixed that but im unsure to on where to go from here it works fine now but i cant get the images to change colors, here is my code so far thanks again
       BufferedImage[] bi = new BufferedImage[4];
                try {
             bi[0] =  ImageIO.read(new File("puyo_yellow.png"));
            bi[1] =  ImageIO.read(new File("puyo_blue.png"));
             bi[2] =  ImageIO.read(new File("puyo_green.png"));
             bi[3] =  ImageIO.read(new File("puyo_red.png"));
             catch ( IOException e )
            // BufferedImage myBI = bi[myRand.nextInt(4)];
           }Edited by: Riz01 on Oct 3, 2009 10:07 AM

Maybe you are looking for

  • How to pass 2nd argument as parameter to SYS_CONNECT_BY_PATH in PLSQL

    Hi All, I've the following tables and data: CREATE TABLE seg_tab (seg_no NUMBER, seg_value VARCHAR2(10)); --1st Subset INSERT INTO seg_tab VALUES (1,'01'); --2nd Subset INSERT INTO seg_tab VALUES (2,'001'); INSERT INTO seg_tab VALUES (2,'002'); --3rd

  • The end of my tether

    I am hoping that Spotify actualy read some of these posts and take some form of constructive advice from them. I've been a premium subscriber for a couple of years and in the main I think the entire concept is great. However there are a few things th

  • Dynamic run-time objects in a query

    Hi everybody, I came across some docs that say this Dynamic SQL fails: CREATE PROCEDURE drop_table (table_name IN VARCHAR2) AS BEGIN EXECUTE IMMEDIATE ’DROP TABLE :tab’ USING table_name; END; Can someone explain why can't an object name be provided t

  • Restore from Recovery mode?

    Iphone 4, IMac running 10.7.5.  Tried to update phone to latest software.  Phone now in recovery mode.  How to restore - without wiping everything out?  Tried to download recboot 2.0;  can't get it to download fro the recboot website.

  • Can I replace my optical drive with internal blu-Ray player?

    Basically what the question says. I have a MacBook Pro mid-2009, and I'm wondering if I can replace the optical drive with an internal blu-ray drive.  I would want to be able to read and write to regular CD and DVD still though, that's a must. Also,