Split an image into average small blocks

Hi Guys:
Is there any easy way for me to Split an image into average small blocks ? like following , i don't want to get the size of the entire image , and computer the x,y,hight,wight for every blocks , then use image extract

Hi Abodefree,
How many averaged blocks do you need? What size of block (in pixels) are you looking for?
In genersal terms, what is your application -- why do you require the averaged blocks? Are you looking for the brightest quadrant (for example)? 
Depending on your application, a convolution filter might be useful...
-- Dave
www.movimed.com - Custom Imaging Solutions

Similar Messages

  • How to split a file into two small file

    Hi All,
              I want to raed a file from FTP server.Then i have to split a file into two small file.File format look like this.
             R01!service_order!item_guid!resource_guid!assignment_guid
             R02!Service_order!product_id!product_discription!quantity
             R02!Service_order!product_id!product_discription!quantity
             R02!Service_order!product_id!product_discription!quantity
    i want split file into 2 file,according to header and item details.one table containt header information (label R01) and second table containt (label R02).
    can anybody help me for this.how can i split into 2 file.
    Thanks
    Vishwas Sahu

    Create 2 internal tables. sat it_header, it_detail
    Check for 1st 3 characters and if it is R01 then send it into it_header and if it comes out to be R02 then send it to it_detail.
    Once done... You can either attach these tables into mail as two seperate files
    Or you can download each internal table using GUI_DOWNLOAD.
    Hope this helps!!
    Kanchan

  • Splitting an image into seperate RGB colour channels

    Hi there everyone,
    im pretty new to java and not that great to be perfectly honest : ( Anyhoo, i have to create a CBIR program that accepts an image and then splits it up into its three colour channels -RGB and then creates a histogram to display the frequency of the colour intensity of pixels in the range 0 -255.
    However i am struggling to get the image split into the individual colour channels at the start.
    I dont expect anyoiine to provide a solution but if anyone could provide any advice on how i could get started, what sort of classes methods to look at i would be most grateful
    Many thanks for your time
    Craig

    Hi Rich123, many thanks for your advice, i'll be looking into those classes. Much appreciated

  • Splitting an image into two links

    OK, I have an image on a site that I would like to split into
    two links. I want the image to be intact, but I would like the
    image invisably split in two, so if you click on one part of the
    image it will take you to a sepearate page to the other half. any
    ideas? Many thanks

    select the image in design view of dw.
    use the "hotspot" tools in the lower left of the Property
    Inspector to draw
    the areas for the two clickable links. See the F1 help.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • How to split Large file into Multiple small files..

    Hi,
       My source file is simple  XML structure...and target side also i need to send in XML files  .. but in the source file I'm getting all the data at a time.. so source file  is more than 1000 records.. but i want to process  50 records at a time...
    bu using FCC (RecordSet per Message)  we can   solve this.. but I dont want to  do any File conversion.. i want to send  in XML file only...
    for this.. how we can handle....
    Regards
    Jain

    Jain,
    Please see the below screenshots.
    http://www.flickr.com/photos/23855877@N07/2991137391/sizes/o/
    http://www.flickr.com/photos/23855877@N07/2991137441/sizes/o/
    http://www.flickr.com/photos/23855877@N07/2991988028/sizes/o/
    http://www.flickr.com/photos/23855877@N07/2991988084/sizes/o/
    For No, Name, City Map Directly.
    In the example, I've given 5 records to split. If you want 50 records to split, then instead of 5 give 50 in the constant.
    raj.

  • [ask]Split an Image into 2 Icon

    Hi all, here's my problem just hoping any of you willing to help
    let say i have an image 800 x 800 pixels
    i want to store the image in 2 icon
    icon1 contain the image from width 0 to 400 pixels, with same height(800)
    icon2 form 401 to 800 also same height
    but icon1 and icon 2 have width have width and height same as the original image(800x800)
    how can we do this?
    i do a little bit of coding, here it is
    icon  = new ImageIcon("science/Page (1).jpg");
                    createLeftBufferedImages(icon);
                    icon  = new ImageIcon(bi);
                    icon2  = new ImageIcon("science/Page (1).jpg");
                    createRiteBufferedImages(icon2);
                    icon2  = new ImageIcon(bi);and
    public void createLeftBufferedImages(ImageIcon icon) {
                //init_bi();          
                biSrc = new BufferedImage(icon.getIconWidth()/2, icon.getIconHeight()
                        , BufferedImage.TYPE_INT_RGB);                   
                Graph  = biSrc.createGraphics();           
                Graph.drawImage(icon.getImage(), 0, 0, icon.getIconWidth(), icon.getIconHeight(),this);         
                bi=biSrc;
            public void createRiteBufferedImages(ImageIcon icon) {           
                biSrc = new BufferedImage(icon.getIconWidth()/2, icon.getIconHeight()
                        , BufferedImage.TYPE_INT_RGB);                               
                Graph  = biSrc.createGraphics();           
                Graph.drawImage(icon.getImage(), 0, 0, icon.getIconWidth(), icon.getIconHeight(),this);
                bi=biSrc;
            }but the problem i cant get the icon2 properly..
    how i solve this problem?
    thx

    but the problem i cant get the icon2 properly..How do you know this? Your code does nothing with the icon2 variable. Just because the icon2 variable is assigned a new Oject, does not mean the GUI will automatically display the icon. You still need to invoke a method like:
    labelTop.setIcon( icon2);
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.

  • How to Split Master File into Multiple Small Files?

    Sorry if this has been addressed - I'm having a hard time finding the answer.
    I'm using FCE 4.0. I taped 4 hours of material and need to deliver the footage to someone in discrete chunks. I tried to do in/out capture but for some reason that wasn't working - something to do with the timecode. So I did full tape dumps.
    So now I have 4 huge files (4 miniDV tapes) that are too big to deliver as-is. I used DV Start/Stop Detect to set markers, then used that to create sub-clips. But of course this doesn't actually affect the master scratch files.
    What's the best way to convert these sub-clips to individual mov files? If I do an export of each file ("Using QuickTime Conversion..."), don't I risk losing information or possibly quality? Isn't there some way to highlight all my sub-clips in the bin and say "Mega-Chop Activate!" or something?
    Or, taking a step or two back, if there's another way I should've approached this, please let me know. There'll be more. Plenty more.
    Thank you.

    I'm burning mov source to DVD for FC editing by someone else.
    Your second set of questions actually gives me some ideas - that's exactly what I'm trying to figure out.
    As an example, let's say 1 tape, i.e. 1 master file, holds 5 interviews. I want to deliver 5 individual files/clips, say 3 on DVD A, 2 on DVD B. (Assume for the sake of argument that the math works out and there's no other way to deliver this.)
    - Does creating a different project for each "chunk" result in a different file in the scratch folder that can be burned to DVD?
    - Does "Print to Video" create QT files? I thought this output back onto tape.
    - By "Export to QuickTime" are you referring to Export->QuickTime Movie (as opposed to Export->Using QuickTime Conversion)?
    - Does Export->QuickTime Movie result in lossy conversion or does it automatically retain the original capture quality?
    - Is there a way to do all 5 exports at once or must they be done individually?
    Thanks for the fast response!

  • What is the best way to split large blocks of text into smaller blocks?

    Hello, I have several pages with 2,000 word articles of text. As you can imagine these pages are not terribly interesting design-wise, something I plan to change.
    The first thing I need to do is split up these blocks of text into much smaller blocks so that they can easily be moved around and independently manipulated. What's the quickest way to do this in Muse?

    You can create different text frames and copy the text, which if you wish you can group them together which will help in moving them around on page.
    Thanks,
    Sanjit

  • Split image into clickable sections

    Hi, I was wondering if anyone know how to split an image into several clickable sections. I am trying to make the game "Risk", and I am sort of stuck at this problem. I have been thinking of making an individual image button for every country with the respective country as image, but I hope there is a better way to do this. The best would be to just split the world map into country sections.
    Thank you in advance
    OhM

    A naive (but possibly sufficient) implementation could just be to keep a table mapping (x,y) pairs to countries. To keep the table smaller, you could map 10x10 blocks of pixels to countries.
    Ultimately this is about storing and then managing data.
    One hack (in my opinion) is to check the color of the clicked pixel in the image of the map. But that is nasty for a variety of reasons (such as, it keeps you from being able to easily change the map image, and things like text in the map (like the names of countries) kind of screws that up. But it's an option.
    You can also keep lists of pixels in sequence describing a polygon, and then use certain algorithms (which I don't recall right now) to determine whether a given point is inside or outside a given polygon.
    Also you can do things like "binary space partitions", I think.
    These last two things are computer graphics techniques, and are non-trivial to implement. I dimly recall them from college but recall no details. You can get a computer graphics textbook (which tend to be expensive) to get more info, or these days there's probably a wiki about it somewhere.
    But I'd suggest keeping it modular. Add a layer of abstraction, writing an API around this functionality. Then write an implementation with a simple table of locations or blocks of locations, and if this proves to be insufficient later, swap it out with something more sophisticated.

  • Spltting an image into its red green and blue components

    Hi,
    I need to split an image into 3 images, one the red component of the original image, one the green component, and one the blue.
    Any idea how this can be done?

    Hi,
    something along these lines:
    Robot robot = new Robot();
    // loop: get color for each pixel in image
    Color pixelColor = robot.getPixelColor(x, y);
    int red = pixelColor.getRed();
    int green = pixelColor.getGreen();
    int blue = pixelColor.getBlue();
    // do your stuff with these values
    Cheers,
    Jim

  • Wall decals over size.. functionality to cut image into piece on artboard ?

    1- I am doing wall decals, I am drawing a big tree (7 foot long). My vinyl roll size in 24 inches. Is there a functionality in Adobe Illustrator CS5.5 to split the image into section ready to cut ? My cutting software can do it but I want to do it in illustrator... is there a way ???
    2- I am not able to find information on how illustrator can help me to place the objects on the artboard (with spaces between each objects) to maximize the vinyl space available without have to place each object by hand one by one.
    Thanks Nancy

    This kind of stuff (vinyl cutting project setup) was a pain to do in Illustrator prior to its finally (literally decades late to the game) acquiring the ability to have more than one page in a file. It's still a pain comparitive to Adobe's other vector drawing program (FreeHand), due to Illustrator's still-yet-to-appear ability to draw to user-defined scale.
    This is how I routinely do it in FreeHand:
    1. Draw the whole design at a comfortable scale (ex: 1"=1') on a convenient page size (ex: tabloid, so I can print it on a desktop printer). Define spot color Swatches for each vinyl.
    2. When the design is done, add pages (one for each vinyl to be used) with either height or width the actual width of my vinyl (ex: 24"). Set ruler guides on each page to indicate what I consider a comfortable "maximum cut width" for the gripper/roller margin of my machine.
    3. Select all elements of a single vinyl color, duplicate them to one of the full-size pages. Do this for each vinyl.
    4. Scale the elements to actual size (ex: 1200%).
    5. For an element too large for the maximum cut width, place a pair of ruler guides separated by the amount of desired overlap (ex: .25").
    6. Duplicate the object in place. Use the Knife tool to slice the object along one of the guides. Delete the unwanted piece.
    7. Similarly cut the remaining (original) copy along the other guide. Delete the unwanted piece.
    8. Freely arrange (move and/or rotate) each of the pieces so as to maximize vinyl usage on each vinyl-specific page. Drag length of vinyl pages to fit final arrangement.
    9. Export the full-size pages only.
    10. Open the exports in my cutter driver software, and cut.
    I leave it to you to translate the same basic operations to Illustrator. Some of the reasons I still find Illustrator inferior for this:
    Still no support for user-defined ruler scales.
    Very unreliable snaps behavior at zooms.
    The infernal "Global" swatch designation.
    Pages interface (like many things) needlessly cumbersome compared to FreeHand's. (Separate "Artboard mode" is tedious for arranging Artboards, making page-specific guides, snapping Artboards to grid and to each other.)
    Inferior behaviors of Boolean path operations ("Pathfinders"). (Ex: converting compound paths to groups.)
    Inferior cutting tools (Ex: releasing compound of compound paths; failure to handle open, unfilled paths.)
    JET

  • Split Edge document into several folders.

    I need tio upload to Skura Platform my Edge Project, but the requirements of Skura are stricts. Each HTML into his html folder, the same with JS (js folder), etc. In spite I tried to change the roots in right way, the main HTML doesn´t recognize the links, What can I do? Thank you for for support.

    Thanks for reply, this big XML document is generated from Oracle by JDBC, I found OracleXMLQuery class is very useful, there are two methods
    like : setSkipRows(int rows) and setMaxRows(int num), using these two methods I can split the OracleXMLQuery into some small OracleXMLQuery, the use getXMLDOM() to get the corresponding XML documents.
    Regards

  • How to split image into smaller (same size) pieces?

    Hi all,
    My question is how to split image into smaller (same size) pieces, using Photoshop elements 13? Could anyone help me with this one?
    Thanks!

    Use the Expert tab in Editor (I think that is what it is called in PSEv.13)
    You may find the grid helpful. Go to View>Grid. It will not print, but will help to orient you. You can set up the gridlines to suit via Edit>Preferences>Guides and Grid. If you want to partition the picture in to 4 uniform pieces, it would be Gridline every 50%, Subdivision 1. Also, go to View>Snap to>Grid.
    Set up the Rectangular marquee tool: If the picture is 6" wide & 4" high, enter width=3in & height=2in.on the tool's option bar. This will be a fixed size.
    Click and select one quadrant, press CTRL+J to place this quadrant on a separate layer
    Repeat for the other 3 quadrants
    You should end up with 5 layers : Background, and layers 1, 2, 3, 4.

  • Make a large image into smaller slices

    is there a way of splitting a large image into smaller
    sections

    wilburforce wrote:
    > is there a way of splitting a large image into smaller
    sections
    Check the help files on slicing. If you mean within the
    document window,
    use the marquee selection tools.
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    Design Aid Kits:
    http://www.webdevbiz.com/pwf/index.cfm

  • I need to divide an image into 8 by 8 blocks

    HI friends,
    I need to split an monochrome image into 8 by 8 blocks .can anyone help me with code..
    Thanks in advance,
    Edited by: neonnani on Mar 9, 2010 8:10 PM
    Edited by: neonnani on Mar 9, 2010 8:11 PM

    calypso wrote:
    DarrylBurke wrote:
    calypso wrote:
    to fill in the blanks, I think this should workare you sure you want x and y to always be zero?
    dbYes your right, i and j need to be cast to a double before dividing them<nitpic>Also realize that you should always multiply before doing division so you don't compound error as much as possible.</nitpic>

Maybe you are looking for