Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • AutoScapeM: Join autoscape,0rg fun events daily for infernal mystery boxes only server with Infernal Twisted Bow
      September 19, 2019, 11:57:33 PM
    • AutoScapeM: Join autoscape,0rg fun events daily for infernal mystery boxes only server with Infernal Twisted Bow
      September 19, 2019, 11:57:30 PM
    • AutoScapeM: Join autoscape,0rg fun events daily for infernal mystery boxes only server with Infernal Twisted Bow
      September 19, 2019, 11:57:25 PM
    • AutoScapeM: Join autoscape,0rg fun events daily for infernal mystery boxes only server with Infernal Twisted Bow
      September 19, 2019, 11:57:19 PM
    • PavSwag: try autoscape,0rg today i will personally help you get RICH and well KNOWN - pav
      September 19, 2019, 12:36:06 PM
    • PavSwag: try autoscape,0rg today i will personally help you get RICH and well KNOWN - pav
      September 19, 2019, 12:35:49 PM
    • Codar: Come join us while we're fresh we're growing fast!! @ [link]
      September 18, 2019, 09:30:25 PM
    • Codar: New RSPS come check us out! @ [link]
      September 18, 2019, 04:07:24 AM
    • Codar: Released a new server come check us out! @ [link]
      September 18, 2019, 02:08:23 AM
    • ragnoroker: RuneGuild will be hosting some tournaments later to win some mystery boxes, join here : [link]
      September 16, 2019, 09:50:10 AM
    • calemx: death's-server has officially been released, come check us out  - [link]
      September 13, 2019, 04:14:21 AM
    • PavSwag: try autoscape,0rg today i will personally help you get RICH and well KNOWN - pav
      September 12, 2019, 12:26:40 PM
    • cbrophy: would my account from 2013 work?
      September 12, 2019, 05:04:43 AM
    • ragnoroker: RuneGuild has officially been released, come check us out - [link]
      September 11, 2019, 11:26:35 AM
    • ragnoroker: RuneGuild has officially been released, come check us out - [link]
      September 11, 2019, 11:26:31 AM
    • ragnoroker: RuneGuild is due to be released tomorrow! First few players will recieve some goodies. Sign up on our website [link] Join our discord for updates [link]
      September 07, 2019, 07:43:28 PM
    • ragnoroker: RuneGuild is due to be released tomorrow! First few players will recieve some goodies. Sign up on our website [link] Join our discord for updates [link]
      September 07, 2019, 07:42:59 PM
    • ChrisMeadows: Yo, what's the forum's discord?
      September 04, 2019, 08:33:06 PM
    • newerarsps: i cannot register to rsps list anyone can help?
      September 01, 2019, 11:24:00 PM
    • PavSwag: Date Registered: July 03, 2012, 03:54:45 PM Think im just as good vet as u man, + I have over 80B in rs3 think im good on anyones 100k ass lookin bank b oi
      August 27, 2019, 10:48:09 AM

    Author Topic: Image Processing Program - Dayflower Image  (Read 1541 times)

    0 Members and 1 Guest are viewing this topic.

    Offlineobject

    • Member
    • ****
    • *
    • Posts: 440
    • Thanks: +0/-0
      • View Profile
    Image Processing Program - Dayflower Image
    « on: August 23, 2016, 03:13:44 PM »
    Hello,

    I've created an image processing program that I'd like you guys to test if you so wish.

    It can do the following:
    - Load images such as .BMP, .GIF, .JPG, .PNG and .WBMP.
    - Save images such as .BMP, .GIF, .JPG, .PNG and .WBMP.
    - Turn an image into grayscale using the following: R (red), G (green), B (blue), Average, Lightness and Luminosity.
    - Use Sepia Tone filtering.
    - Use Tone Mappers and Gamma Correction such as: Filmic Curve, Linear and Reinhard.
    - Apply Convolution Filters such as: Blur, Detect Edges, Emboss, Gradient (Horizontal), Gradient (Vertical) and Sharpen.
    - Apply your own Convolution Filters via a Custom Convolution Filter matrix.
    - Execute Java source code to modify the image (which requires tools.jar).
    - Rotate: 90 or 180 degrees.
    - Invert the colors of an image.
    - Select a portion of the image to perform the image processing on.
    - You may tell the program whether it should do the image processing in the same tab or a new one.

    The program is internationalized and currently supports English and Swedish.

    Discuss it here! If you have any thoughts on it or want some new feature in it, please let me know.

    Download: http://www.megafileupload.com/ob5U/org.dayflower.image-0.0.1.zip

    « Last Edit: August 24, 2016, 08:43:22 AM by object »
    Runescape Gambling

    Offlineobject

    • Member
    • ****
    • *
    • Posts: 440
    • Thanks: +0/-0
      • View Profile
    Re: Image Processing Program - Dayflower Image
    « Reply #1 on: August 23, 2016, 03:56:20 PM »
    Thank you! :)
    Runescape Gambling

    Offlineobject

    • Member
    • ****
    • *
    • Posts: 440
    • Thanks: +0/-0
      • View Profile
    Re: Image Processing Program - Dayflower Image
    « Reply #2 on: August 24, 2016, 07:32:21 AM »
    Thanks for the feedback! :)

    As for the logic behind the filter. The filter is called a Convolution Filter and is based on a matrix. For each pixel in the image, the matrix is used to transform the color of that pixel based on the colors of the surrounding pixels and the values in the matrix. I think the matrix has to be a square matrix though, but I'm not entirely sure. The matrix also has to have an odd number of columns and rows, as the center of it represents the current pixel.

    In that particular method the code before the loops can be ignored. It's just used for saving the last used filter for a feature in the program as well as calculating the coordinates of the rectangle in the image to process within. This rectangle is used by a feature which allows you to select a rectangle in the image by clicking and dragging your mouse over the image.

    Edit: If you want to blur the image more in one go, you could create your own custom convolution filter by selecting "Custom Filter". This is where the last convolution filter will be saved for a specific image and tab when you apply a convolution filter on it. So you could apply a "Blur" filter and look up the matrix used for it and then use that in your custom filter. Alternatively, you could also look up the matrix for the blur filter in the source code.
    « Last Edit: August 24, 2016, 07:38:28 AM by object »
    Runescape Gambling

    Offlineobject

    • Member
    • ****
    • *
    • Posts: 440
    • Thanks: +0/-0
      • View Profile
    Re: Image Processing Program - Dayflower Image
    « Reply #3 on: August 24, 2016, 11:58:14 AM »
    Now I have a website for this project as well. You can find it here:

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal