Click here to Skip to main content
15,902,189 members
Home / Discussions / Graphics
   

Graphics

 
General"warp mode image transformation" in photoshop Pin
dapa15-Apr-08 5:06
dapa15-Apr-08 5:06 
GeneralRe: "warp mode image transformation" in photoshop Pin
El Corazon15-Apr-08 6:02
El Corazon15-Apr-08 6:02 
GeneralRe: "warp mode image transformation" in photoshop Pin
Dan16-Apr-08 13:37
Dan16-Apr-08 13:37 
GeneralRe: "warp mode image transformation" in photoshop Pin
dapa17-Apr-08 2:17
dapa17-Apr-08 2:17 
GeneralAlgorithm to divide image into rectangulars of the same color [modified] Pin
xax14-Apr-08 5:37
xax14-Apr-08 5:37 
GeneralRe: Algorithm to divide image into rectangulars of the same color Pin
Luc Pattyn14-Apr-08 5:54
sitebuilderLuc Pattyn14-Apr-08 5:54 
GeneralRe: Algorithm to divide image into rectangulars of the same color Pin
xax15-Apr-08 12:43
xax15-Apr-08 12:43 
GeneralRe: Algorithm to divide image into rectangulars of the same colo Pin
Luc Pattyn15-Apr-08 13:10
sitebuilderLuc Pattyn15-Apr-08 13:10 
Hi,

there may be better algorithms, it probably depends on the kind of image you are dealing with.

what is the image size?
make sure you use pointers, don't rely on Bitmap.GetPixel, that is way too slow.

are the consecutive images similar?
do the rectangles found have a good chance of being there again on the next image?
if so, make use of it!

you do realize there is no single solution to your problem? if you have

AA
AB

then you can describe it as:
1) A A
 
   A B
 
2) AAA
 
   A B
 
3) A A
   A
   A B



It might help if you describe the intended application a bit...

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.


modified on Tuesday, April 15, 2008 8:05 PM

GeneralProcessor Intensive Programming [modified] Pin
Reelix14-Apr-08 1:52
Reelix14-Apr-08 1:52 
GeneralRe: Processor Intensive Programming Pin
El Corazon14-Apr-08 4:33
El Corazon14-Apr-08 4:33 
Generalwant suggestion Pin
bharathn8712-Apr-08 8:46
bharathn8712-Apr-08 8:46 
GeneralShading Pin
meister_skypie6-Apr-08 1:13
meister_skypie6-Apr-08 1:13 
GeneralRe: Shading Pin
Tim Craig6-Apr-08 16:05
Tim Craig6-Apr-08 16:05 
GeneralRe: Shading Pin
El Corazon8-Apr-08 7:20
El Corazon8-Apr-08 7:20 
QuestionPartially redraw Image Pin
invader824-Apr-08 3:31
invader824-Apr-08 3:31 
GeneralRe: Partially redraw Image Pin
Luc Pattyn4-Apr-08 3:41
sitebuilderLuc Pattyn4-Apr-08 3:41 
GeneralRe: Partially redraw Image Pin
invader824-Apr-08 3:50
invader824-Apr-08 3:50 
GeneralGDI+ - Disposing Pin
molcaobarman30-Mar-08 7:14
molcaobarman30-Mar-08 7:14 
GeneralRe: GDI+ - Disposing Pin
Mark Salsbery30-Mar-08 9:40
Mark Salsbery30-Mar-08 9:40 
GeneralRe: GDI+ - Disposing Pin
Luc Pattyn30-Mar-08 10:24
sitebuilderLuc Pattyn30-Mar-08 10:24 
GeneralRe: GDI+ - Disposing Pin
molcaobarman1-Apr-08 21:23
molcaobarman1-Apr-08 21:23 
GeneralRe: GDI+ - Disposing Pin
Luc Pattyn1-Apr-08 23:38
sitebuilderLuc Pattyn1-Apr-08 23:38 
GeneralRe: GDI+ - Disposing Pin
molcaobarman2-Apr-08 0:16
molcaobarman2-Apr-08 0:16 
QuestionSemi Transparent UserControl Pin
maxatlis30-Mar-08 0:04
maxatlis30-Mar-08 0:04 
GeneralRe: Semi Transparent UserControl [modified] Pin
Rob Smiley18-Apr-08 9:48
Rob Smiley18-Apr-08 9:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.