This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [GCF, LC] = getGlobalContrastFactor( im ) | |
% | |
% GCF = getGlobalContrastFactor( im ) | |
% | |
% MATLAB algorithm implementation of the | |
% "Global contrast factor-a new approach to image contrast" | |
% (Matkovic, Kresimir et al., 2005) | |
% | |
% http://www.cg.tuwien.ac.at/research/publications/2005/matkovic-2005-glo/ | |
% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function C = getColourfulness( im ) | |
% | |
% C = getColourfulness( im ) | |
% | |
% MATLAB algorithm implementation of the | |
% "Measuring colourfulness in natural images" | |
% (Hasler and Susstrunk, 2003) | |
% | |
% Input: | |
% im - image in RGB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Folders; | |
import java.io.*; | |
public class Folders { | |
public static void main(String[] args) throws IOException { | |
File file=new File("."); |