Results 1 to 1 of 1

Thread: FCair - a content aware image resizing program written in F#->

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,945

    FCair - a content aware image resizing program written in F#->

    FCAIR is a program that resizes images by selecting the pixels which will be removed/replicated using a process based on seam-carving. This means that the program will try to find the path of least resistance for each row/column of pixels. The result is a so called seam (a line of connected pixels that are as similar as possible). These seams are then removed/duplicated until the image has the desired size. More information can be found here: http://en.wikipedia.org/wiki/Seam_carving

    Usage:
    The program is a command line program for which the user needs to specify an image, a target file, the desired difference in size (negative or positive), and the resizing direction (horizontal or vertical). If the resizing succeeds, the generated image is saved at the specified target file path and opened with the default program associated with the type of image generated, which is a *.png file.

    This was written as an experiment in functional programming with F# and no mutable values or for-loops were used. These have been replaced with recursive functions. It's a rewrite of the vb.net program CAIR which can be found at: http://www.vbforums.com/showthread.php?810513-CAIR-a-content-aware-image-resizing-program.
    Last edited by Peter Swinkels; Mar 8th, 2017 at 02:28 PM. Reason: Rephrased the text - I need to work on my descriptions.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width