Coder Social home page Coder Social logo

mahmoudnafifi / wb_color_augmenter Goto Github PK

View Code? Open in Web Editor NEW
162.0 12.0 33.0 143.79 MB

WB color augmenter improves the accuracy of image classification and image semantic segmentation methods by emulating different WB effects (ICCV 2019) [Python & Matlab].

License: MIT License

MATLAB 58.71% Python 41.29%
data-augmentation color-augmentation deep-learning cnn white-balance deep-neural-network iccv2019 computer-vision iccv19 image-augmentation

wb_color_augmenter's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wb_color_augmenter's Issues

Can we use more than 10 ?

Hi Mr Mahmoud,
Can we increase the number 10 in demo_batch.m, up to number of images in my directory?
It is about these codes..
if NumOfImgs > 10
error('Cannot generate more than 10 images for each input image');
end

Meaning of wb codes

Could you explain what the letters "C/D/F/T/S" means in, like '_F_AS' and '_T_CS'?
Much appreciate it.

issue

Please I got the issue in matlab:
Index exceeds the number of array elements (0).

Error in WBAug (line 164)
indices(i)}),...

Error in demo_WB_color_augmentation (line 75)
success = WBAug(training_set_dir, training_ext, output_dir, output_ext, ...

I believe that it is because my grougthruth images are logical type, how to fix this?

Matrix dimensions must agree -- error with Matlab old versions

If you faced the following error in Matlab:

BE0A3C63@1D7A9B00 339B815E png

Please replace the lines 55 and 56 in synthWBmodel class and the lines 55 and 56 in synthWBmodel_GPU class with the following lines:
diff_u=abs(repmat(Iu,[1,size(A,2)])-repmat(A,[size(Iu,1),1]));
diff_v=abs(repmat(Iv,[1,size(A,2)])-repmat(A,[size(Iv,1),1]));

The old Matlab versions don't offer this broadcasting operation. In the new versions of Matlab, this repmat operation is automatically applied when the first/second operand is a single row vector and the second/first operand is a single column.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.